Граф коммитов

606055 Коммитов

Автор SHA1 Сообщение Дата
Ted Campbell 9c7e54a1de Bug 1367743 - Use no-remote flag when starting new browser from about:profiles. r=baku
MozReview-Commit-ID: 59I75Za6izI
2018-07-26 10:05:10 -04:00
Ben Hearsum a495c10987 bug 1477021: run funsize with 'pipenv run'. r=sfraser 2018-07-26 09:59:03 -04:00
shindli a007b2dc62 Backed out changeset 230ea1f373ff (bug 1478330) for Linting failure on a CLOSED TREE 2018-07-26 16:49:19 +03:00
Nathan Froyd 322d49add1 Bug 1477009 - use a dependent CString on Android for finding breakpad ids; r=njn
This is slightly more efficient, since we don't have to copy the string.
2018-07-26 09:47:05 -04:00
Nathan Froyd cd8b60fc05 Bug 1478337 - avoid useless work in nsTArray::RemoveElement; r=erahm
When removing an element that exists in the array, there's no need to
perform extra bounds checks for actually removing the element; the
presence of the element guarantees that we have a valid index and a
valid range to remove.  So split RemoveElementsAt into a safe interface
and an unsafe interface, and let RemoveElement call the latter as an
internal optimization.  The same logic applies to RemoveElementSorted.

We call RemoveElement depressingly often, so this is a nice little win.
2018-07-26 09:37:48 -04:00
Emilio Cobos Álvarez 42a2ddb5b9 Bug 1478330: Generate StyleDisplay using cbindgen. r=heycam
We use the same setup WR uses, which is checking-in the files.

But I think it's much better than keeping the two things in sync manually :)

When you add a new value, you need to add it to the rust source, then run the
command, but since it doesn't need to build the style crate (it uses the Rust
AST, doesn't build) there's no problem.

Differential Revision: https://phabricator.services.mozilla.com/D2354

MozReview-Commit-ID: DnXkNAzP54H
2018-07-26 15:35:24 +02:00
shindli f6e583f8fd Backed out changeset e5423d29aaf0 (bug 1357487) for reftest failures in file:///Z:/task_1532567375/build/tests/reftest/tests/layout/reftests/css-blending/blend-difference-stacking.html on a CLOSED TREE 2018-07-26 16:21:39 +03:00
Ben Hearsum 49d4d780ee bug 1477021: create pipfile-update task for funsize-update-generator. r=sfraser
--HG--
extra : rebase_source : 8a7bc1b481b6d477dc6b1ea6a0bd392e73f16f74
2018-07-26 08:56:08 -04:00
Ben Hearsum 9d82e727e0 bug 1477021: create a docker image that can update Pipfile.lock, and attach diffs to phabricator. r=sfraser
--HG--
extra : rebase_source : 15c8c6ea7f2124863f8e9198a6962cbb37a28ab2
2018-07-26 08:54:45 -04:00
Ben Hearsum 505d868007 bug 1477021: switch funsize-update-generator to a Pipfile. r=sfraser
--HG--
extra : rebase_source : 24f2e89e4a076a90718c498497f8deb40ae3dea3
2018-07-26 08:19:29 -04:00
Emilio Cobos Álvarez 9004e91bec Bug 1478385: Fix confusion in GetCachedWidgetBorder. r=karlt
aWidgetType is a NS_THEME_* constant. What this code is comparing is not.

This was exposed by a patch of mine converting -moz-appearance to be an enum
class.

MozReview-Commit-ID: 9BsbYk04vop
2018-07-26 14:48:08 +02:00
Emilio Cobos Álvarez 47b44daec3 Bug 1477965: Fix SVGAnimationElement::AfterSetAttr. r=heycam
It's not fine to only check if we're in a document in one of the code
paths.

Differential Revision: https://phabricator.services.mozilla.com/D2321

MozReview-Commit-ID: JXLexono4kv
2018-07-26 14:47:42 +02:00
Dragana Damjanovic ea14bba80a Bug 1468523 - Fix the history entry for http-equiv=refresh. r=smaug 2018-07-26 15:31:59 +03:00
Jan de Mooij fad02aba7d Bug 1474540 - Assert we don't pass cross-compartment wrappers to AutoJSAPI::Init. r=bholley 2018-07-24 09:19:25 +02:00
shindli 9319e91d10 Backed out 2 changesets (bug 1416723) for failures in dom/serviceworkers/test/test_serviceworker_interfaces.html on a CLOSED TREE
Backed out changeset b2242216d11b (bug 1416723)
Backed out changeset bfaf82051dfd (bug 1416723)
2018-07-26 14:23:43 +03:00
shindli f36ee2923a Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-26 14:21:26 +03:00
shindli c451675096 Backed out 2 changesets (bug 1462019) for org.mozilla.geckoview.test.AccessibilityTest.testMoveByCharacter failures on a CLOSED TREE
Backed out changeset 0b0036d13e81 (bug 1462019)
Backed out changeset 6fb8d7cb6c29 (bug 1462019)
2018-07-26 13:36:46 +03:00
Narcis Beleuzu d47c829065 Backed out 4 changesets (bug 1478308) for ESlint failure on AttributionCode.jsm. CLOSED TREE
Backed out changeset a809b45ff49b (bug 1478308)
Backed out changeset c68131530742 (bug 1478308)
Backed out changeset 0e4ba7a6dc1a (bug 1478308)
Backed out changeset 32a27f317a77 (bug 1478308)
2018-07-26 11:13:28 +03:00
Mark Banner 58e5c3e98f Bug 1478308 - Remove unnecessary ChromeUtils.imports in accessible/ r=surkov
MozReview-Commit-ID: 2l6rvxykrWB

--HG--
extra : rebase_source : 9bfe49a329b0ef38e45b5886070e2c1af1edecbe
2018-07-25 11:07:07 +01:00
Mark Banner d95c1526b8 Bug 1478308 - Remove unnecessary ChromeUtils.imports in toolkit/ r=mikedeboer
MozReview-Commit-ID: 45Tfs2ZZ06r

--HG--
extra : rebase_source : 10f2f734c883a1ac85b5dee21df119a4c6ae2898
2018-07-25 11:00:35 +01:00
Mark Banner fba7b63903 Bug 1478308 - Remove unnecessary ChromeUtils.imports in services/ r=lina
MozReview-Commit-ID: 1oprv2tG0HG

--HG--
extra : rebase_source : 89471677bab059efe9d9cb8a48b2cd557bd41e33
2018-07-25 09:13:11 +01:00
Mark Banner 180233c593 Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer
MozReview-Commit-ID: BYTDdLU2HoM

--HG--
extra : rebase_source : 67dc15c0cdff0234d3274f1a8978d1f2a5b3f411
2018-07-25 09:10:07 +01:00
Petru Lingurar 1f25f2a1cc Bug 1476900 - Can't update Nightly from about:firefox or notification bar; r=jchen
The problem was because on API >=26 the JobIntentServices used for the updater
functionality will be used by JobScheduler by binding to them.
But because they were set to run in a different process the binding was not
possible.

MozReview-Commit-ID: I8rbcoLyhyJ

--HG--
extra : rebase_source : 1bc423f6012aff6c9b0d960b046af04f32b8bd7b
2018-07-24 17:31:59 +03:00
Benjamin Bouvier c33c3f309f Bug 1416723: Remove SIMD.js support; r=luke, r=nbp
--HG--
extra : rebase_source : 486095f8e51318b104b7348330a7df6377a15302
extra : histedit_source : 5415a1ce4bd366464612bd4751093588d30aa562
2018-07-24 15:15:01 +02:00
Benjamin Bouvier 06e2cac5c8 Bug 1416723: Move SIMD code generation to masm methods; r=lth
--HG--
extra : rebase_source : de3832c54a670ff9f6f747a60fff577e54377a58
extra : histedit_source : 0ce3e99119939505e91b551d4255c44e377ef5ee
2018-07-24 19:34:06 +02:00
Makoto Kato 5986ed199f Bug 1462019 - Part 2. Use abstract socket address for USB remote debugging. r=jryans
--HG--
extra : rebase_source : 4eedeb0d058ddaa2b96e4fe0d69ec81ef9f16097
2018-07-25 14:47:49 +09:00
Makoto Kato ca2b74b983 Bug 1462019 - Part 1. Support abstract socket address on nsIServerSocket and nsISocketTransportService. r=mayhemer
--HG--
extra : rebase_source : e7f4e258ce746f21c5792b148fd5ac4b4370eea6
2018-07-26 18:06:42 +09:00
Jan de Mooij e67d9e1b9e Bug 1474540 part 0 - Don't try to use mCallback's global in NativeCallbackDelegateSupport::Call. r=jchen
The object could be a cross-compartment wrapper and we want to make it impossible to get a CCWs global.
2018-07-26 11:10:06 +02:00
Jan de Mooij bb3767cb60 Bug 1478275 part 3 - Rename GlobalHasExclusiveExpandos to CompartmentHasExclusiveExpandos and make it use IsInSandboxCompartment. r=bholley 2018-07-26 11:00:21 +02:00
Jan de Mooij ce81f1f7ef Bug 1478275 part 2 - Add a CompartmentPrivate::isSandboxCompartment flag and xpc::IsInSandboxCompartment(obj). r=bholley
Wrappers are per-compartment, not per-realm, so this will simplify the next patch. Also, considering the upcoming Realms proposal, it might eventually be possible to have multiple globals in a sandbox compartment.
2018-07-26 10:58:37 +02:00
Jan de Mooij 1f193575a4 Bug 1478275 part 1 - Remove unused CompartmentPrivate::isAddonCompartment. r=bholley 2018-07-26 10:57:15 +02:00
Jan de Mooij 2264882701 Bug 1477989 part 4 - Use JS::GetNonCCWObjectGlobal in xpc::GetXBLScopeOrGlobal. r=bz
GetOrCreateMapEntryForPrototype is the only caller where the object could be a CCW. However there cx and proto are same-compartment (GetOrCreateMapEntryForPrototype asserts this) so I changed that code to use JS::CurrentGlobalOrNull.
2018-07-26 10:53:21 +02:00
Jan de Mooij 3bfc3b953e Bug 1477989 part 3 - Use JS::GetNonCCWObjectGlobal in nsXBLProtoImpl::InstallImplementation. r=bz
It should not be a CCW; we already use JS::GetNonCCWObjectGlobal on this object in nsXBLProtoImplField::InstallAccessors.
2018-07-26 10:53:00 +02:00
Jan de Mooij 99c47ba5c5 Bug 1477989 part 2 - Use JS::GetNonCCWObjectGlobal in nsXBLBinding::DoInitJSClass. r=bz 2018-07-26 10:52:41 +02:00
Jan de Mooij b1f2f847f1 Bug 1477989 part 1 - Use JS::GetNonCCWObjectGlobal in nsXBLBinding::LookupMember. r=bz
mBoundElement is a dom::Element* and reflectors are not CCWs.
2018-07-26 10:52:27 +02:00
Jan de Mooij 0873f847dd Bug 1474542 - Use the unwrapped object's global in FetchUtil::StreamResponseToJS. r=luke 2018-07-26 10:52:01 +02:00
Brian Birtles b903929384 Bug 1478213 - Drop the workaround in DevTools for setting an animation's startTime to something non-null before setting it to null; r=daisuke
The optimization this code was working around has now been fixed.

Differential Revision: https://phabricator.services.mozilla.com/D2419

--HG--
extra : rebase_source : 586f19d9254c4aab88f54bd7b4122b613e1b39e8
extra : histedit_source : 4555f3e34c9863ae9db41f437f2c9ce6a3fed006
2018-07-26 15:08:10 +09:00
Brian Birtles 0a7609ac13 Bug 1478213 - Don't ignore a redundant change to setting the animation start time if we are pending; r=hiro
As discussed here:

  https://github.com/w3c/csswg-drafts/issues/2691

We have a similar check in SetCurrentTime (with the exception that, according to
the spec, this behavior applies to either play OR pause pending, instead of just
pause-pending) so this patch tries to match the comment and format of that
check.

Differential Revision: https://phabricator.services.mozilla.com/D2410

--HG--
extra : rebase_source : 519a976424b021203a369926344c2174662e6156
2018-07-26 15:07:52 +09:00
Brian Birtles f8376242e1 Bug 1478213 - Add test that fails if we ignore a seemingly redundant setting of startTime to null; r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D2409

--HG--
extra : rebase_source : c64fb613e3429e10fa6760f0a2abb3c416a2208f
2018-07-26 15:07:35 +09:00
Petru Lingurar 5b0c9ef91e Bug 1476710 - Use childFragmentmanager when dismissing TabHistoryFragment; r=jchen
MozReview-Commit-ID: 1DyoBj0wpRe

--HG--
extra : rebase_source : 11453e678371f926cecf130aafc01a0caf9ac972
2018-07-24 10:15:51 +03:00
Petru Lingurar 78919b5658 Bug 1474888 - Fix Prompt.java's AlertDialog; r=jchen
PromptService will be informed when the screen is rotated and in turn it will
ask every Prompt shown to reset it's current layout.
For this, every Prompt will
- save it's current input value in PromptInput's mValue or similar field
already used for storing the default PromptInput value.
- create a new widget to be used in the new AlertDialog, with a new appropriate
layout for portrait / landscape. This is when the mValue field will be used
to initialize the new widget with the previous input.

MozReview-Commit-ID: L6eHyGNDt3d

--HG--
extra : rebase_source : ada913a8e6ada99a7d49eb47d1c64831a8f698da
2018-07-26 09:37:26 +03:00
Mark Hammond 591860e3dd Bug 1478547 - exceptions processing sync logins now bubble up for better handling and recovery. r=tcsc
MozReview-Commit-ID: 3y8ryBxueFS

Differential Revision: https://phabricator.services.mozilla.com/D2408

--HG--
extra : moz-landing-system : lando
2018-07-26 05:38:03 +00:00
Brian Birtles 53282fc266 Bug 1478266 - Don't reset pending tasks when setting the target effect to null r=boris
This updates our implementation and tests to match the following spec change:

  2e56cd7d77

Differential Revision: https://phabricator.services.mozilla.com/D2407

--HG--
extra : moz-landing-system : lando
2018-07-26 05:20:41 +00:00
Nicolas Chevobbe 0829b5c574 Bug 1478366 - Add a recordTelemetryEvent function to serviceContainer; r=miker.
This then can be used directly in the console, or passed to reps
and ObjectInspector so it can be called from there.

MozReview-Commit-ID: uQOiGuYbJK

--HG--
extra : rebase_source : a8a84b558dea69b7c2793b9e2d67a44a0809eb43
2018-07-25 13:54:27 +02:00
prathiksha 5e20dc8929 Bug 1476571 - Auto-select selectedShippingAddress as billing address when it is not null. r=MattN
MozReview-Commit-ID: 8qPIbHn7cKk

--HG--
extra : rebase_source : 023450976a481767923700f8e2ec7deb3538f4f8
2018-07-24 15:50:54 -07:00
Cosmin Sabou fdafc33d90 Backed out 2 changesets (bug 1475197) for causing linux build bustages because of compile errors.
Backed out changeset 108e22d963cb (bug 1475197)
Backed out changeset 4bd5f8588422 (bug 1475197)
2018-07-26 07:38:47 +03:00
Jeff Walden 718d570ceb Bug 1478170 - Instantiate TokenStreamChars for UTF-8. r=arai
--HG--
extra : rebase_source : 813a88a529f15fcbf4565c9a8d7406fc0a6ea0e3
2018-07-17 21:21:07 -07:00
Jeff Walden 85e8df4f2a Bug 1478170 - Make atomizeSourceChars take a Span<CharT>, and define a specialization for UTF-8. r=arai
--HG--
extra : rebase_source : 3eb308043bc5a6f93ce548c59c971a7add3a842c
2018-07-17 21:21:07 -07:00
Jeff Walden 705b8e96ed Bug 1478170 - Move TokenStreamChars::getCodePoint to a generalized TokenStreamSpecific::getCodePoint that works for any CharT. r=arai
--HG--
extra : rebase_source : 678d69901e73e6732a625ebfdf33cf42953d93b2
2018-07-17 21:13:06 -07:00
Cameron McCormack 103876749a Bug 1475197 - Part 2: Update Cargo.lock and re-vendor Rust dependencies. r=emilio
MozReview-Commit-ID: GHrD4b8xvcC

--HG--
extra : rebase_source : b5e0e3425e8cceabe4bdcd9722420182fd839035
2018-07-17 12:15:08 +10:00