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

700575 Коммитов

Автор SHA1 Сообщение Дата
Brindusan Cristian 21cc9ecac2 Backed out 3 changesets (bug 1597159) for build bustages on netwerk/ipc/target-objects. CLOSED TREE
Backed out changeset 2dd2598b3edb (bug 1597159)
Backed out changeset 0ad16f200740 (bug 1597159)
Backed out changeset 927e82a323c6 (bug 1597159)
2020-04-09 07:12:47 +03:00
Chris Peterson a6d592bbe2 Bug 1620152 - Part 4: Replace MOZ_DIAGNOSTIC_ALWAYS_TRUE() with MOZ_ALWAYS_TRUE(). r=janv
MOZ_ALWAYS_TRUE() evaluates its expression in both debug and release builds. This bug will change MOZ_ALWAYS_TRUE() to use MOZ_DIAGNOSTIC_ASSERT() instead of MOZ_ASSERT(), so MOZ_DIAGNOSTIC_ALWAYS_TRUE() will be redundant.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 02:08:10 +00:00
Chris Peterson ceb9bb69c5 Bug 1620152 - Part 3: Implement MOZ_ALWAYS_TRUE()/etc using MOZ_DIAGNOSTIC_ASSERT() instead of MOZ_ASSERT(). r=froydnj
MOZ_ALWAYS_TRUE() evaluates its expression in both debug and release builds. This bug will change MOZ_ALWAYS_TRUE() to use MOZ_DIAGNOSTIC_ASSERT() instead of MOZ_ASSERT() so it will also assert in Nightly and DevEdition release builds.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 02:07:00 +00:00
Chris Peterson 32ba92c9c8 Bug 1620152 - Part 2: MOZ_ASSERT() GetSharedPrefValue() result instead of MOZ_ALWAYS_TRUE(). r=njn
MOZ_ALWAYS_TRUE() evaluates its expression in both debug and release builds. This bug will change MOZ_ALWAYS_TRUE() to use MOZ_DIAGNOSTIC_ASSERT() instead of MOZ_ASSERT(). MOZ_ALWAYS_TRUE(NS_SUCCEEDED(rv)) would then fail in Nightly release builds (reintroducing InitStaticPrefsFromShared crash bug 1573731) if not for this changeset.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 02:06:44 +00:00
Chris Peterson c16eff17f9 Bug 1620152 - Part 1: MOZ_ASSERT(stackMap) in debug builds instead of MOZ_ALWAYS_TRUE(stackMap) in release builds. r=lth
MOZ_ALWAYS_TRUE() evaluates its expression in both debug and release builds. MOZ_ALWAYS_TRUE(stackMap) would previously be evaluated as a no-op `stackMap;` in release builds, but this bug will change MOZ_ALWAYS_TRUE() to use MOZ_DIAGNOSTIC_ASSERT() instead of MOZ_ASSERT(). MOZ_ALWAYS_TRUE(stackMap) will then fail in Nightly release builds because stackMap may be null if there are no refs to track.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 02:06:32 +00:00
Matt Woodrow f96ad8ca51 Bug 1597159 - Make sure StreamFilterParent emits an OnStopRequest if we fail to forward it to the child. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D69317

--HG--
extra : moz-landing-system : lando
2020-04-09 02:55:26 +00:00
Matt Woodrow 42aeff7415 Bug 1597159 - Defer creating DocumentLoadListener's stream filter until after we process switch. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D64698

--HG--
extra : moz-landing-system : lando
2020-04-09 02:55:17 +00:00
Matt Woodrow 476f9a4293 Bug 1597159 - Promisify CreateStreamFilter. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D64697

--HG--
extra : moz-landing-system : lando
2020-04-09 02:54:23 +00:00
Mike Hommey 5944220eee Bug 1628205 - Convert nsinstall.py to python 3. r=rstewart
Also enable all config/tests with python3. unit-nsinstall.py was the
last one that didn't pass with python 3.

Switch the test to using @unittest.skipIf and disable the subprocess
test because we purposely broke running nsinstall.py independently with
python 2.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 00:24:51 +00:00
Mike Hommey ac5b6e6cd0 Bug 1628200 - Fix config/tests/test_mozbuild_reading.py. r=rstewart
Since the test goes through all moz.build files disregarding DIRS and
the conditions that may disable directories, in some cases, moz.builds
can fail to be evaluated properly because of missing variables in
config.status. This time (because it's not the first), it's
LLVM_DLLTOOL.

After fixing that, it turns out many of the files/directories pointed to
by Files() directives were removed or moved.

While here, make the test script python3-ready.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 00:24:29 +00:00
Mike Hommey 0fb4a38faf Bug 1621436 - Run process_install_manifest with python3. r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D70156

--HG--
extra : moz-landing-system : lando
2020-04-09 00:21:12 +00:00
Andrew Nicols b54179e426 Bug 1556903 - Return null when source not found. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D33755

--HG--
extra : moz-landing-system : lando
2020-04-09 03:12:44 +00:00
Chris Peterson 2834731dd4 Bug 1627490 - Replace MOZ_MUST_USE with [[nodiscard]] in tools/profiler. r=mstange
Also move MOZ_MUST_USE before function declarations' specifiers and return type. While clang and gcc's __attribute__((warn_unused_result)) can appear before, between, or after function specifiers and return types, the [[nodiscard]] attribute must precede the function specifiers.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 18:38:52 +00:00
Severin Rudie 7000e50931 Bug 1569253 - remove old password manager UI. r=MattN,fluent-reviewers,flod
As a side effect, this removes the need for bug 1537634.

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

--HG--
rename : toolkit/components/passwordmgr/test/browser/browser_passwordmgr_switchtab.js => toolkit/components/passwordmgr/test/browser/browser_basicAuth_switchTab.js
extra : moz-landing-system : lando
2020-04-09 00:17:34 +00:00
Narcis Beleuzu 83508f8631 Backed out changeset 798aaee84ad1 (bug 557710) for xpcshell failures on test_system_upgrades.js. CLOSED TREE 2020-04-09 05:30:45 +03:00
Brindusan Cristian 33bb9b7761 Backed out changeset 974d4e6ce07c (bug 1627890) for wpt failures at comma-in-policy.https.html. CLOSED TREE 2020-04-09 03:51:23 +03:00
Brindusan Cristian bb29753b0d Backed out changeset 2b02e71f1780 (bug 1596322) for multiple xpcshell failures. CLOSED TREE 2020-04-09 03:39:56 +03:00
Kris Maglione cba965d479 Bug 1626404: Part 4 - Remove now-redundant accessor args from BrowsingContext load methods. r=nika CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D69421

--HG--
extra : source : 4a3b391e08c420cc8289bd80d1b9229d4b41b24f
extra : histedit_source : bf3dae0b7ad368d29c9ea060b9afa4c2de383b1b
2020-04-08 19:04:47 +00:00
Kris Maglione ffbbc5ba60 Bug 1626404: Part 3 - Do sandbox flag checks at both ends of cross-process loads. r=nika CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D69420

--HG--
extra : source : 1a5a559ec6d509167cb58b40086add58c4d63e10
extra : histedit_source : f7ef5aa0524cbfa413cb85101e2591cbd7c26c46
2020-04-04 02:42:39 +00:00
Kris Maglione 2ee2fd5673 Bug 1626404: Part 2b - Serialize source BC with LoadState. r=nika CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D69419

--HG--
extra : source : 2ffdab0072e7dbc56d232537aafbd2c1aa80ef14
extra : histedit_source : dc55d2eb9489d7d06d7845827bdf73f671a9df0f
2020-04-04 02:42:42 +00:00
Kris Maglione edf0e3ba56 Bug 1626404: Part 2a - Store source BrowsingContext rather than DocShell in LoadState. r=nika CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D69418

--HG--
extra : source : 6fb384961b99821bacfd2702d36bff27231c96a7
extra : histedit_source : a380148c947dd2d5d53787ec6027ab387093a7c1
2020-04-04 02:42:44 +00:00
Kris Maglione b58203d6e6 Bug 1626404: Part 1 - Move IsSandboxedFrom to BrowsingContext. r=nika CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D69417

--HG--
extra : source : c0c2e85e33da4512a738ab9e334b9d1a78c54cbd
extra : histedit_source : c4e26d3ae24ce8f107128bd5da2633f7e503e5e4
2020-04-04 02:42:30 +00:00
Kris Maglione dabad7275e Bug 1626404: Part 0 - Add operators `bool` and `->` to MaybeDiscarded to match Maybe. r=nika CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D69416

--HG--
extra : source : bf32b30efa49c9da997dc70a1f33f5b67f31916a
extra : histedit_source : 44d68751756a73bb1b366af9a31853cbb0af0350
2020-04-04 02:42:33 +00:00
Shane Caraveo 73993b29c4 Bug 557710 test behavior with addons installed to multiple locations r=rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D70060

--HG--
extra : moz-landing-system : lando
2020-04-08 23:48:39 +00:00
Yura Zenevich cd3662346d Bug 1598026 - connect to the OOP frame server when children of the remote iframe are queried. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D66156

--HG--
extra : moz-landing-system : lando
2020-04-08 23:33:19 +00:00
Gabriele Svelto 969e685d94 Bug 1596210 - Prevent breakpad from spamming the log with error messages r=KrisWright
Setting breakpad minimum log severity level to CRITICAL should be enough to
quiet it completely since there are no statements in the code using it, the
"highest" I could find all use the ERROR level.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 20:28:14 +00:00
Erik Nordin 8dfda8ef7c Bug 1621849 - Add CSS Error for DisallowedImportRule r=emilio
- Add new CSS Error
- Add new test case for error
- Ensure that test cases use `replace()` and `replaceSync()`

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

--HG--
extra : moz-landing-system : lando
2020-04-08 22:45:24 +00:00
James Teh 47aa8b6b4d Bug 1619506 part 2: Don't expose NODE_CHILD_OF relation for OOP iframe documents. r=yzen
For OOP iframe documents, we can't support NODE_CHILD_OF in the usual way, since the iframe resides in a different process.
Previously, we incorrectly returned the application accessible.
This was breaking focus ancestry walking for JAWS.
Instead, don't expose NODE_CHILD_OF at all in this case.
This is fine because the client will then request the parent instead, which will be correctly handled by platform/AccessibleOrProxy code.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 18:30:01 +00:00
James Teh fa30324c84 Bug 1619506 part 1: Implement QueryService to SID_IAccessibleContentDocument for OOP iframes. r=yzen
For OOP iframes, the top level document lives in a different process.
Previously, we incorrectly returned the top level document in the same process.
This was causing JAWS to incorrectly identify OOP iframe documents as separate tab documents.
To fix this, we must send the real top level document down from the parent process and return that when requested in the content process.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 18:28:08 +00:00
Cameron McCormack c2cfba805b Bug 1616169 - Mark canvas drawImage orientation tests as tentative. r=tnikkel
Per https://github.com/web-platform-tests/wpt/issues/18549#issuecomment-599563610.

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

--HG--
rename : testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/image-orientation/drawImage-from-bitmap-orientation-none.html => testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/image-orientation/drawImage-from-bitmap-orientation-none.tentative.html
rename : testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/image-orientation/drawImage-from-bitmap-swap-width-height-orientation-none.html => testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/image-orientation/drawImage-from-bitmap-swap-width-height-orientation-none.tentative.html
rename : testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/image-orientation/drawImage-from-bitmap-swap-width-height.html => testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/image-orientation/drawImage-from-bitmap-swap-width-height.tentative.html
rename : testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/image-orientation/drawImage-from-bitmap.html => testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/image-orientation/drawImage-from-bitmap.tentative.html
rename : testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/image-orientation/drawImage-from-element-orientation-none.html => testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/image-orientation/drawImage-from-element-orientation-none.tentative.html
rename : testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/image-orientation/drawImage-from-element-swap-width-height-orientation-none.html => testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/image-orientation/drawImage-from-element-swap-width-height-orientation-none.tentative.html
rename : testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/image-orientation/drawImage-from-element-swap-width-height.html => testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/image-orientation/drawImage-from-element-swap-width-height.tentative.html
rename : testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/image-orientation/drawImage-from-element.html => testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/image-orientation/drawImage-from-element.tentative.html
extra : moz-landing-system : lando
2020-04-08 22:55:28 +00:00
Eric Rahm cfef7a100d Bug 1628433 - Add missing includes and namespaces to dom/xslt. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D70227

--HG--
extra : moz-landing-system : lando
2020-04-08 18:02:21 +00:00
Dragana Damjanovic eb775d698e Bug 1628459 - Update neqo to 0.2.4 r=agrover
Differential Revision: https://phabricator.services.mozilla.com/D70239

--HG--
extra : moz-landing-system : lando
2020-04-08 21:01:52 +00:00
Kris Maglione 9e1706a554 Bug 1582318: Remove shutting-down processes from pool immediately. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D69441

--HG--
extra : moz-landing-system : lando
2020-04-08 21:13:18 +00:00
Kris Maglione 5441f0bfaa Bug 1626404: Follow-up: Fix missing source BC in some window.open calls.
Differential Revision: https://phabricator.services.mozilla.com/D70253

--HG--
extra : moz-landing-system : lando
2020-04-08 21:10:10 +00:00
Kartikaya Gupta 9ca0e73265 Bug 1610731 - Followup to fix IPC for RectAbsolute. r=ktaeleman,botond
The parameters to the middle two arguments of SetBox were flipped, causing
RectAbsolute to get improperly swizzled over IPC.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 21:06:56 +00:00
Mike Hommey eb30fe2129 Bug 1628153 - Require libvpx >= 1.8.0. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D70133

--HG--
extra : moz-landing-system : lando
2020-04-08 12:01:53 +00:00
Anny Gakhokidze 440743645b Bug 1600818 - Report fission.autostart pref telemetry using RECORD_DEFAULTPREF_VALUE for all pref branches, r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D69637

--HG--
extra : moz-landing-system : lando
2020-04-06 12:16:11 +00:00
Jim Blandy 3094dff055 Bug 1628130: Delete webrender::prim_store::PrimitiveSceneData. r=gw
Most `Internable` implementations give `PrimitiveSceneData` as their
`InternData` associated type, the type of data associated with the handle in the
scene builder thread. However, nothing in the scene builder code, or anywhere in
WebRender, actually uses the contents of `PrimitiveSceneData`, so it can be
replaced with `()` with no effect on the code other than memory savings.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 19:53:08 +00:00
Gerald Squelart baa5044bbb Bug 1627097 - Profiler synchronously collect processor information - r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D69922

--HG--
extra : moz-landing-system : lando
2020-04-08 22:35:54 +00:00
Johann Hofmann 42e391bfce Bug 1627890 - Disable HTTP Feature-Policy header and document.featurePolicy in Nightly. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D70171

--HG--
extra : moz-landing-system : lando
2020-04-08 11:12:02 +00:00
James Willcox bdfa09611f Bug 1628449 - Dispatch `onLoadRequest()` return values immediately r=geckoview-reviewers,agi,aklotz
This is a very performance-critical path, so we want to avoid
dispatching the value listener on a future loop iteration.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 20:35:15 +00:00
Kartikaya Gupta 30bc520fec Bug 1616245 - Make better use of the rect/size structs. r=jfkthame
No functional change here, but this improves readability by using the
Rect and Size structs' operators, rather than breaking out the x/y/width/height
components and doing operations directly.

Depends on D70232

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

--HG--
extra : moz-landing-system : lando
2020-04-08 22:02:04 +00:00
Kartikaya Gupta c4cd70e6d4 Bug 1616245 - Use GetBounds instead of mBounds. r=jfkthame
It doesn't make sense to mix mBounds with GetClientBounds(), as the windows
widget overrides both GetBounds() and GetClientBounds(). So if we're using
GetClientBounds() for the client bounds, we should be using GetBounds() for
the bounds.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 22:01:26 +00:00
Lina Cambridge 186b7665c4 Bug 1596322 - Add XPCOM bindings for Rust Sync engines. r=markh,tcsc,LougeniaBailey
This commit adds a new crate for bridging Rust Sync engines to Desktop,
and a `mozIBridgedSyncEngine` for accessing the bridge via JS.
Naturally, the bridge is called Golden Gate. 😊 For more information
on how to use it, please see `golden_gate/src/lib.rs`.

Other changes include:

* Ensuring the test Sync server uses UTF-8 for requests and responses.
* Renaming `mozISyncedBookmarksMirrorLogger` to `mozIServicesLogger`,
  and moving it into the shared Sync interfaces.

The `BridgedEngine` trait lives in its own crate, called
`golden_gate_traits`, to make it easier to eventually move into a-s.
`Interruptee` and `Interrupted` already exist in a-s, and are
duplicated in this crate for now.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 20:18:37 +00:00
Oana Pop Rus 90abf0bc61 Backed out 2 changesets (bug 1625513) for bc failures in browser/base/content/test/siteIdentity/browser_identity_UI.js on a CLOSED TREE
Backed out changeset 876b33334577 (bug 1625513)
Backed out changeset 69f75d37ae8e (bug 1625513)

--HG--
extra : rebase_source : e8752080577e762777eff9cda7a695bfa2ccd4cf
2020-04-09 00:57:32 +03:00
Oana Pop Rus 87d90e34dd Backed out 6 changesets (bug 1626404) for mochitest failures in BrowsingContext.cpp on a CLOSED TREE
Backed out changeset 4a3b391e08c4 (bug 1626404)
Backed out changeset 1a5a559ec6d5 (bug 1626404)
Backed out changeset 2ffdab0072e7 (bug 1626404)
Backed out changeset 6fb384961b99 (bug 1626404)
Backed out changeset c0c2e85e33da (bug 1626404)
Backed out changeset bf32b30efa49 (bug 1626404)

--HG--
extra : rebase_source : 466bf9356539fbc47cb015df212e38698322bfb3
2020-04-09 00:22:49 +03:00
Oana Pop Rus 19cf0ce806 Backed out changeset d52d4b62a347 (bug 1435148) for python tier2 failures in test_moz_configure.py on a CLOSED TREE
--HG--
extra : rebase_source : e49f5784a059023d769f6b554cc19c4151200949
2020-04-09 00:07:32 +03:00
Emma Malysz 1932ea0454 Bug 1590573 - Followup: Revert changes on elements that don't use MozXULElement. CLOSED TREE
CLOSED TREE

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

--HG--
extra : histedit_source : 02e207270852df2de6e07100aa7632c179a6e5dc
2020-04-08 21:38:56 +00:00
Tim Nguyen f4024ef912 Bug 1624482 - Adapt menupopup accessible to query the correct parent element when slotted. r=emilio
D67954 starts using shadow DOM for menulist and slots the menulist children. This causes GetFlattenedTreeParent to return the slot instead of the parent menulist. This patch fixes it.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 19:48:30 +00:00
Tim Nguyen 93728d0f3f Bug 1624482 - Scope menulist styles to its own component using shadow DOM. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D67954

--HG--
extra : moz-landing-system : lando
2020-04-08 20:00:30 +00:00