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

706936 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta d0cb7d8424 Bug 1622360 - Remove RenderRootArray. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D74186
2020-05-11 20:07:50 +00:00
Kartikaya Gupta e4338bab1c Bug 1622360 - Downgrade mStateManagers. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D74185
2020-05-11 20:07:43 +00:00
Kartikaya Gupta 919613a9ac Bug 1622360 - Downgrade mLastDisplayListSize. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D74184
2020-05-11 20:07:40 +00:00
Kartikaya Gupta b235b0fb4b Bug 1622360 - Downgrade the stacking context helper RenderRootArray. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D74183
2020-05-11 20:07:33 +00:00
Kartikaya Gupta 1090b9458a Bug 1622360 - Remove render roots from the frame scheduling code. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D74182
2020-05-11 20:07:25 +00:00
Kashav Madan 5b9e75208b Bug 1635904 - Update fission test expectations, r=jgraham
These no longer error or fail when fission is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D74277
2020-05-11 19:38:44 +00:00
Kashav Madan 3832280977 Bug 1635904 - Manually set the <browser>'s remote type before initiating a new load, r=mattwoodrow,jgraham,marionette-reviewers,whimboo
DocumentLoadListener doesn't know how to process-switch top-level loads for
non-tabbed browsers, so this ensures that the load happens in the correct
process.

Differential Revision: https://phabricator.services.mozilla.com/D74272
2020-05-11 19:36:52 +00:00
Bogdan Tara 448d53548b Backed out 2 changesets (bug 1628068) for ViaductRequest.cpp related bustages CLOSED TREE
Backed out changeset 1ea8f742ca69 (bug 1628068)
Backed out changeset 3aa2f99843e0 (bug 1628068)
2020-05-11 23:06:31 +03:00
Bogdan Tara 8c5c4f1dd7 Backed out 7 changesets (bug 1634703) for testDeviceRecordingEventAudioAndVideo failures CLOSED TREE
Backed out changeset b982f5d74610 (bug 1634703)
Backed out changeset 59229853930e (bug 1634703)
Backed out changeset e017380f5539 (bug 1634703)
Backed out changeset 47a3a96b969b (bug 1634703)
Backed out changeset b4af76cfbdaf (bug 1634703)
Backed out changeset 7ef57434b09d (bug 1634703)
Backed out changeset 9df87d346b0f (bug 1634703)
2020-05-11 23:04:54 +03:00
Markus Stange 74da9ffadf Bug 1617246 - Always consult objdirs for symbols. r=gregtatum
This moves some symbolication code out of browser.js and into a new module symbolication.jsm.js.

It also threads the pageContext parameter through to getSymbolsFromThisBrowser so that it can
respect the correct objdir pref. This part is probably more complicated than necessary.

Differential Revision: https://phabricator.services.mozilla.com/D63914
2020-05-11 19:52:53 +00:00
Iain Ireland 5c31341df6 Bug 1636495: Add web platform test r=emilio
While trying to fix the error-handling, I tested one solution that *should* have caused a failure in a web platform test, but didn't, because the test didn't exist yet. This patch adds that test.

Depends on D74501

Differential Revision: https://phabricator.services.mozilla.com/D74502
2020-05-08 23:03:26 +00:00
Iain Ireland 96b0cd7868 Bug 1636495: Use JS::CheckRegExpSyntax in nsContentUtils::IsPatternMatching r=emilio
nsContentUtils::IsPatternMatching calls into SpiderMonkey several times to validate and execute a regexp. It assumes that JS::NewUCRegExpObject can only fail if the pattern is invalid. However, in the case of OOM or stack overflow, this is false.

In the previous patch, we added a new API for pattern matching. This patch uses the new function to clean up the error handling in IsPatternMatching.

Differential Revision: https://phabricator.services.mozilla.com/D74501
2020-05-11 17:44:08 +00:00
Iain Ireland 560559ea48 Bug 1636495: Add JS::CheckRegExpSyntax r=evilpie
To make sure that `<input>` elements with `pattern` attributes update their validation state (`:invalid`) properly, nsContentUtils::IsPatternMatching needs to be able to distinguish between parsing errors caused by an invalid pattern, vs parsing errors caused by OOM/overrecursion.

This patch also fixes up the places inside the new regexp engine where we can throw over-recursed to make sure that we set the right flag on the context, then fixes regexp/huge-01.js (and the binast variants) to accept a different error message.

Differential Revision: https://phabricator.services.mozilla.com/D74499
2020-05-11 17:46:17 +00:00
Luca Greco 2c71f03c35 Bug 1635227 - Add test for prefs manifest option in xpcshell selftest.py. r=gbrown
Depends on D73748

Differential Revision: https://phabricator.services.mozilla.com/D74657
2020-05-11 18:20:24 +00:00
Luca Greco 5185108086 Bug 1635227 - Add support for the prefs configuration option in xpcshell test manifests. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D73748
2020-05-11 16:54:14 +00:00
owlishDeveloper 72cf60fade Bug 1635862 - Add object URI support to WebExecutor r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D74465
2020-05-11 17:51:05 +00:00
Cosmin Sabou db290306ef Backed out changeset 0be5f9822cad (bug 1607569) because it shouldn't have been landed yet. DONTBUILD 2020-05-11 22:45:34 +03:00
Edouard Oger 9790192f51 Bug 1628068 p2 - Implement viaduct gecko backend. r=tcsc,dragana,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D70257
2020-05-11 15:17:37 +00:00
Edouard Oger 8aebe42eda Bug 1628068 p1 - Vendor viaduct crate. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D70256
2020-05-11 19:14:21 +00:00
Micah Tigley 0ffb21c838 Bug 1636348 - Ensure the connection between the about:devtools-toolbox's client and server is closed. r=jdescottes
The `browser_aboutdebugging_navigate_to_url.js` test times out if we don't wait for the about:devtools-toolbox tab to be removed as a target from about:debugging.

Differential Revision: https://phabricator.services.mozilla.com/D74467
2020-05-11 13:59:27 +00:00
emcminn 9ae7056be4 Bug 1632985 - Fixes for ToolbarPanelHub tests r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D73736
2020-05-11 19:28:37 +00:00
Nicolas Chevobbe a2ba8e8d15 Bug 1607569 - Fix leak in browser_console_devtools_loader_exception. r=ochameau.
In the Browser toolbox destroy function, we now wait for
any pending connection initialization promise.
In the test we close the browser toolbox at the end.
We also need to guard a few method in the connection proxy
to ensure the instances we use are still alive before using
them.

Differential Revision: https://phabricator.services.mozilla.com/D71171
2020-05-11 16:50:20 +00:00
Bogdan Tara 2cb15e959f Backed out changeset 3f222a72eb1c (bug 1593186) for browser_getActor.js failures CLOSED TREE 2020-05-11 22:26:47 +03:00
Mike Conley e3806f335f Bug 1634703 - Have the webrtcUI module track which windows are being shared. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D73483
2020-05-11 18:48:55 +00:00
Mike Conley 6f208cdbc2 Bug 1634703 - Add support for getting the window ID used by nsIMediaDevice for a shared window on Linux. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D74241
2020-05-11 19:11:54 +00:00
Mike Conley 3a7b58ea9d Bug 1634703 - Add support for getting the window ID used by nsIMediaDevice for a shared window on Windows. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D73505
2020-05-08 22:32:24 +00:00
Mike Conley 36940b0179 Bug 1634703 - Add support for getting the window ID used by nsIMediaDevice for a shared window on macOS. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D73482
2020-05-08 22:32:21 +00:00
Mike Conley 364a058417 Bug 1634703 - Add a parent-process-only method to nsIDOMWindowUtils to get the native window ID from a window. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D73481
2020-05-08 22:31:19 +00:00
Mike Conley 3c136db2d3 Bug 1634703 - Send the list of shared nsIMediaDevice devices up to the parent from WebRTCChild.jsm. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D73480
2020-05-08 22:30:56 +00:00
Mike Conley f77df842d7 Bug 1634703 - Return nsIMediaDevice active devices list from mediaCaptureWindowState. r=jib,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D73479
2020-05-11 17:34:10 +00:00
Kashav Madan 55da00290c Bug 1601685 - Update the BrowserTestUtils.browserLoaded() comment, r=kmag
The implementation was updated in bug 1578465, but the comment wasn't updated.

Differential Revision: https://phabricator.services.mozilla.com/D74689
2020-05-11 19:00:12 +00:00
Ian Moody fc7c4cc29e Bug 1636204 - Return size in bytes instead of page count for RSS in ProcInfo. r=Yoric
As noted in the comment /proc/[pid]/stat is returning the number of pages, but
this value is being used elsewhere as a bytes figure, so we need to multiply by
the page size to get that.

Differential Revision: https://phabricator.services.mozilla.com/D74350
2020-05-11 16:09:20 +00:00
Ian Moody f71399b0ca Bug 1636204 - Use correct indexes for parsing /proc/[pid]/stat. r=Yoric
All the indexes were off by two, so the values were for completely different
measurements, and thus nonsense.  Resident Set Size still doesn't seem to be
handled correctly, perhaps because it's being treated as a bytes count rather
than the page count it is somewhere, but with this change the Virtual Memory
figures match what system monitor displays.

Differential Revision: https://phabricator.services.mozilla.com/D74349
2020-05-11 12:04:39 +00:00
Ian Moody e9286fdadb Bug 1636203 - Include pid in ProcInfo on Linux. r=Yoric
The pid wasn't being included in the ProcInfo returned from GetProcInfo unlike
on macOS, so all child processes were ending up with the default pid of 0

Differential Revision: https://phabricator.services.mozilla.com/D74348
2020-05-11 09:58:40 +00:00
Emma Malysz f26d917593 Bug 1634033: lazify menus and panels used within customize mode by placing in template. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D74576
2020-05-11 18:13:57 +00:00
Valentin Gosu db062a7e3b Bug 1572513 - Set the embedder policy when intializing the Document object r=nika
This patch persists the CrossOriginEmbedderPolicy on the Document and
WindowContext.
The WindowContext's embedder policy is set in
WindowGlobalActor::BaseInitializer by either adopting the policy of the HTTP
channel that loaded the document, or in WindowGlobalChild::OnNewDocument
by inheriting the one from the browsingContext's windowContext.

Differential Revision: https://phabricator.services.mozilla.com/D46903
2020-05-11 18:41:16 +00:00
Marco Zehe 6c331c5c53 Bug 1635483 - Avoid unnecessary IPC calls when calculating subroles for landmarks, r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D74008
2020-05-11 17:51:12 +00:00
David Teller e11bdf2afc Bug 1593186 - Invoke JS{Parent, Window}Actor.actorCreated;r=nika
Differential Revision: https://phabricator.services.mozilla.com/D74639
2020-05-11 16:23:52 +00:00
Cosmin Sabou 72e80153f2 Backed out 3 changesets (bug 1626081) for causing build bustages. CLOSED TREE
Backed out changeset 82cae35b52eb (bug 1626081)
Backed out changeset 42135f164217 (bug 1626081)
Backed out changeset 2676f31077bc (bug 1626081)
2020-05-11 21:38:54 +03:00
Cosmin Sabou b51ad59f7d Backed out changeset 8f97a01a0a84 (bug 1543697) for causing bc failures on FxAccountsConfig.jsm. CLOSED TREE 2020-05-11 21:29:49 +03:00
Paul Adenot 4c16b73b14 Bug 1626081 - Update cubeb to 80c3d838d2929c27. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D74276
2020-05-11 18:23:14 +00:00
Paul Adenot c2836cdf8d Bug 1626081 - Add a pref to disable the audio output stream routing on Android. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D74274
2020-05-11 18:23:46 +00:00
Paul Adenot e83df9d9d8 Bug 1626081 - Set and add a way to change the default routing mode for echo cancellation on mobile. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D74273
2020-05-11 18:22:41 +00:00
Micah Tigley 8516e90635 Bug 1636634 - Use BrowsingContextTargetActor's reload method to reload the current tab in RDM r=jdescottes,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D74516
2020-05-11 17:01:08 +00:00
Miko Mynttinen 05d7202e59 Bug 1554499 - Part 17: Remove CalculatePerFrameKey() r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D74096
2020-05-11 16:59:39 +00:00
Miko Mynttinen 9b0dc3431d Bug 1554499 - Part 16: Move table per frame index helpers to nsDisplayList.cpp r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D74095
2020-05-11 16:59:26 +00:00
Miko Mynttinen 7bbb0da9d4 Bug 1554499 - Part 15: Use MakeDisplayItemWithIndex with nsDisplayCanvasBackgroundImage r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D74094
2020-05-11 16:59:14 +00:00
Miko Mynttinen 781c51c446 Bug 1554499 - Part 14: Remove index from nsDisplayBlendContainer, nsDisplayTableBlendContainer, nsDisplayBlendMode, nsDisplayTableBlendMode r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D74093
2020-05-11 16:59:01 +00:00
Miko Mynttinen 2a08d4f7e3 Bug 1554499 - Part 13: Remove index from nsDisplayWrapList r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D74092
2020-05-11 16:58:46 +00:00
Miko Mynttinen 1131025246 Bug 1554499 - Part 12: Remove index from nsDisplayOwnLayer r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D74091
2020-05-11 16:58:26 +00:00