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

88788 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez e1918d8385 Bug 1600353 - Make TextTrackSource and TextTrackReadyState enum classes. r=bzbarsky
To avoid defining `Loading`, `Loaded`, etc. in the mozilla::dom namespace. Also
it is a bit cleaner and saves some memory in the TextTrack objects by specifying
the size to be smaller.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 19:13:11 +00:00
Christoph Walcher 3ffca1fa73 Bug 1596477 - Remove NS_NewXBLDocument r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D53259

--HG--
extra : moz-landing-system : lando
2019-12-02 18:52:42 +00:00
Ciure Andrei e473bd5f57 Backed out 10 changesets (bug 1582512) for causing browser_preferences_usage.js to permafail CLOSED TREE
Backed out changeset a615a2c07523 (bug 1582512)
Backed out changeset 7dd0266da0a1 (bug 1582512)
Backed out changeset dfdefc6ede97 (bug 1582512)
Backed out changeset 59db30e1915f (bug 1582512)
Backed out changeset 1eb6f6b02149 (bug 1582512)
Backed out changeset 391ed11326fb (bug 1582512)
Backed out changeset 02865605c1c3 (bug 1582512)
Backed out changeset 017582048986 (bug 1582512)
Backed out changeset 1374c08302f9 (bug 1582512)
Backed out changeset 40dd63b6910a (bug 1582512)
2019-12-02 19:23:12 +02:00
Gijs Kruitbosch 9c1c2ec284 Bug 1600195 - rip out unused 'nice' handling for child processes on Linux/Android, r=mconley
This was added for XUL fennec, which was dropped at the time of Firefox 7.
But we're still reading this pref and env var and system info data, so let's
stop doing that (also because 'cpucount' is unlikely to be 1 on modern
desktop machines, we're dropping arbitrary user pref sets for geckoview,
and I don't think it's even possible to set an env var for app execution
on android as a user - certainly not easy).

Depends on D55265

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

--HG--
extra : moz-landing-system : lando
2019-12-02 16:42:03 +00:00
Tom Ritter fd5a5d7079 Bug 1582512 - Add in exception cases where we disable the javascript load restrictions r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D53245

--HG--
extra : moz-landing-system : lando
2019-12-02 15:46:04 +00:00
Tom Ritter f6c094fcf4 Bug 1582512 - Record a Telemetry Event if we receive a request to load a script filename we aren't expecting r=chutten
While we're here, we also extend the collection period for evalUsage, as it is taking longer to deploy than expected.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 15:45:37 +00:00
Tom Ritter 8660e8abe3 Bug 1582512 - Rename FilenameToEvalType to FilenameToFilenameType r=Gijs,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D53232

--HG--
extra : moz-landing-system : lando
2019-12-02 15:45:27 +00:00
Tom Ritter 629dcba076 Bug 1582512 - Rename FilenameType to FilenameTypeAndDetails r=Gijs,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D53231

--HG--
extra : moz-landing-system : lando
2019-12-02 15:45:20 +00:00
Tom Ritter 40826aaf6c Bug 1582512 - Register a ScriptValidationCallback to examine script loads in the parent process r=Gijs,ckerschb
Additionally, we disable validation on PAC scripts.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 15:45:13 +00:00
Tom Ritter e751bb508a Bug 1592297 - Remove MOZ_QUIET and disable this output by default. r=mccr8,jdescottes
Instead of setting MOZ_QUIET to hide the DOMWINDOW and DOCSHELL log messages, you
now must set a regular logging module to enable them. They are automatically enabled
on tests that rely on these messages are leak checking.

That module is DocShellAndDOMWindowLeak:3

One disadvantage of this change is that you cannot set MOZ_QUIET to hide these
messages when running those tests (primarily browser-chrome).

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

--HG--
extra : moz-landing-system : lando
2019-12-02 15:41:35 +00:00
Olli Pettay 2aaeebbd01 Bug 1600609 - Remove unused TabGroup::HasOnlyThrottableTabs(), r=farre
Differential Revision: https://phabricator.services.mozilla.com/D55446

--HG--
extra : moz-landing-system : lando
2019-12-02 14:13:15 +00:00
Gabriele Svelto d0e4d2c6c2 Bug 1420363 - Write crash annotations as JSON r=froydnj,agi
This patch rolls up all the required changes for this purpose. Since the
whole crash reporting flow must understand the new format it's not possible
to land this as separate patches as individually they would be broken. This
patch includes the following changes:

* Changes to the crash reporting machinery to write out annotations as JSON,
  these includes changes to the DLL blocklist code that must be run at crash
  time.
* Modifications to the crash reporter client so that it can read and
  submit the new format; this includes platform-specific changes to the
  Breakpad libraries it uses for submitting crashes.
* Modifications to the minidump-analyzer to understand and process the new
  format correctly.
* Modifications to the crash manager to understand and process the new format
  correctly.
* Modifications to GeckoView's crash handler to understand and submit the
  new format correctly.
* Added new tests to cover the new format and modified existing ones to
  accomodate the new one.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 13:18:35 +00:00
Emilio Cobos Álvarez 0a82336910 Bug 1599612 - Various dom/presentation code is infallible. r=kershaw
More could be cleaned up still, but this code seems disabled.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 13:07:57 +00:00
Frederik Braun d7310ca214 Bug 1543579 - Disallow SystemPrincipal for Remote documents on all channels r=ckerschb,tjr
Differential Revision: https://phabricator.services.mozilla.com/D54091

--HG--
extra : moz-landing-system : lando
2019-12-02 10:45:23 +00:00
Ciure Andrei 1b5b6af7bd Backed out 2 changesets (bug 1598470, bug 1595720) for causing browser_fullscreen_cross_origin.js to permafail CLOSED TREE
Backed out changeset 02fbe3085e54 (bug 1598470)
Backed out changeset 40f6133b6b61 (bug 1595720)
2019-12-02 12:55:37 +02:00
Thomas Nguyen 8da4de5388 Bug 1598470 - Reduce number of supported features in Feature Policy r=baku
Differential Revision: https://phabricator.services.mozilla.com/D54200

--HG--
extra : moz-landing-system : lando
2019-12-02 09:39:46 +00:00
Thomas Nguyen 8962c61512 Bug 1595720 - Disable fullscreen in third party by default r=baku
Differential Revision: https://phabricator.services.mozilla.com/D54194

--HG--
extra : moz-landing-system : lando
2019-12-02 09:39:33 +00:00
Emilio Cobos Álvarez b84e83a317 Bug 1600454 - Fix build with --disable-accessibility. r=MarcoZ
The change to moz.build unveiled a couple unified build issues that I also had
to fix.

Depends on D55365

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

--HG--
extra : moz-landing-system : lando
2019-12-02 06:25:40 +00:00
Ting-Yu Lin 373306dcc0 Bug 1594937 - Remove w3c-css/received/css-multicol reftests. r=dbaron
Bug 1594937 comment 2 provides an analysis on why it is OK to remove
css-multicol reftests.

The manual modifications in this patch are:
- Remove `os.path.join("css-multicol")` in import-tests.py.
- Remove css-multicol lines in failures.list
- Migrate geckoview only failures annotations (bug 1558509) in failures.list
  to wpt ini files.
- Add fuzzy-if annotation to dom/tests/reftest/bug453105.html for Android.
  (bug 1600534)

Others parts are generated by running import-tests.py on a wpt
repository with commit 15f199c91a72b0d51bf0a12b3b77827ecb5051ff.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 02:21:53 +00:00
Emilio Cobos Álvarez 073b138dcb Bug 1600454 - Fix build with --disable-webspeech. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55365

--HG--
extra : moz-landing-system : lando
2019-12-01 01:30:11 +00:00
Olli Pettay 6c9a57794d Bug 1598775 - Ensure postMessage related optimizations during page load work also in Fission, part 2, r=farre
Depends on D54836

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

--HG--
extra : moz-landing-system : lando
2019-11-30 21:14:22 +00:00
Olli Pettay 7f0bc5d8d8 Bug 1598775 - Ensure postMessage related optimizations during page load work also in Fission, r=farre
Bug 1534012 added a test for postMessage during load and that revealed that mLoading flag isn't always updated
soon enough, so add BrowsingContext::IsLoading which checks also possible local loading status.

Depends on D54754

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

--HG--
extra : moz-landing-system : lando
2019-11-30 21:13:54 +00:00
Olli Pettay e2d1797ad5 Bug 1599467 - Make XHR and Fetch to use deprioritized loading while the top level page is loading in Fission, r=farre
The patch moves DeprioritizedLoadRunner handling from top level inner window to top level browsing context.

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

--HG--
extra : moz-landing-system : lando
2019-11-30 21:13:24 +00:00
Emilio Cobos Álvarez b88be09104 No bug - Fix newlines in dom/tests/mochitest/chrome/489127.html.
Differential Revision: https://phabricator.services.mozilla.com/D55371

--HG--
extra : moz-landing-system : lando
2019-11-30 18:20:23 +00:00
Emilio Cobos Álvarez 0ff42b5218 Bug 1600155 - Remove StyleSheet{Added,Removed} and StyleRule{Added,Removed,Changed} events. r=heycam,smaug
They're only used by tests, and are not exposed.

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

--HG--
extra : moz-landing-system : lando
2019-11-30 12:24:32 +00:00
Emilio Cobos Álvarez a65fe39265 Bug 1600155 - Make @import rules less weird. r=heycam
Have their own notification for when the child sheet loads instead of
piggy-backing in the RuleAdded one, and make the callers check instead.

This prevents incorrectly marking as modified sheets which only have @import
rules.

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

--HG--
extra : moz-landing-system : lando
2019-11-30 12:24:24 +00:00
Jean-Yves Avenard 72d4a6a2a4 Bug 1599968 - Remove nsIChildProcessChannelListerner interface. r=farre
There's just no use for it, it was an unnecessary virtual interface, with a single concreate class and only ever used in C++.

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

--HG--
extra : moz-landing-system : lando
2019-11-29 15:14:07 +00:00
Brendan Dahl 97e8182bb2 Bug 1596709 - Move special chrome root element handling to an observer. r=smaug
Enables any type of document to use the special root element attributes
currently used by XUL <window>.

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

--HG--
extra : moz-landing-system : lando
2019-11-28 21:46:33 +00:00
Emilio Cobos Álvarez 3c12d374bc Bug 1600362 - Cleanup IntersectionObserver. r=smaug
Initially this was going to be a simple cleanup: Remove some useless namespaces
here and there and so on, remove `using` statements from the header and so on.

But unfortunately, DOMIntersectionObserver.h (which is included in Element.h,
unnecessarily) ended up exposing `Element` unnamespaced to a lot of code, so I
had to fix that.

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

--HG--
extra : moz-landing-system : lando
2019-11-29 20:39:36 +00:00
Emilio Cobos Álvarez ec4d0f06f5 No bug - Minor ImageLoadTask cleanup.
Just removing unneeded virtual, and marking the class as final.

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

--HG--
extra : moz-landing-system : lando
2019-11-29 20:04:18 +00:00
Kearwood "Kip" Gilbert a88d971183 Bug 1598483 - Expand XR and Gamepad related structs and enums to support WebXR r=daoshengmu,baku
The structs in moz_external_api.h need to be expanded to support WebXR.

We should land these changes separately to enable working on WebXR features and FxR Android-side code in parallel.

The changes have been carefully made, additive-ly, to avoid breaking existing code before the rest of the WebXR implementation has landed.

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

--HG--
extra : moz-landing-system : lando
2019-11-29 11:30:36 +00:00
Daniel Varga 00e1ca5f09 Backed out 4 changesets (bug 1589493) for linting failure at builds/worker/checkouts/gecko/dom/ipc/tests/test_process_error_oom.xhtml:12:11. On a CLOSED TREE
Backed out changeset fb609feb845a (bug 1589493)
Backed out changeset 0e09d02e484a (bug 1589493)
Backed out changeset 94aa25f22d44 (bug 1589493)
Backed out changeset 04adc4c18424 (bug 1589493)
2019-11-29 19:48:41 +02:00
David Teller 8231900a4e Bug 1589493 - Testing ipc:content-shutdown's support for isLikelyOOM;r=gsvelto
Depends on D54700

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

--HG--
extra : moz-landing-system : lando
2019-11-29 14:43:03 +00:00
David Teller fb5f29ca47 Bug 1589493 - Expose isLikelyOOM to Content crash handlers;r=gsvelto
Depends on D54129

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

--HG--
extra : moz-landing-system : lando
2019-11-29 14:37:15 +00:00
Christoph Kerschbaumer 005ea8ccc8 Bug 1600174: Only enfore CSP frame-ancestors check if the load comes from an actual http channel in content. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55279

--HG--
extra : moz-landing-system : lando
2019-11-29 14:33:13 +00:00
Simon Giesecke c758c3bd80 Bug 1596129 - Make use of std::find_if in FileManagerInfo::InvalidateAndRemoveFileManager. r=dom-workers-and-storage-reviewers,ttung,janv
Differential Revision: https://phabricator.services.mozilla.com/D52874

--HG--
extra : moz-landing-system : lando
2019-11-29 12:23:42 +00:00
Simon Giesecke 9ffa464dfb Bug 1596395 - Avoid copying of tokenizer token sub-strings. r=dom-workers-and-storage-reviewers,edenchuang
Differential Revision: https://phabricator.services.mozilla.com/D53013

--HG--
extra : moz-landing-system : lando
2019-11-29 10:40:55 +00:00
Simon Giesecke a8e19a9f04 Bug 1596129 - Make use of std::find_if in FileManagerInfo::GetFileManager. r=dom-workers-and-storage-reviewers,ttung
Depends on D52872

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

--HG--
extra : moz-landing-system : lando
2019-11-29 09:22:03 +00:00
Simon Giesecke 049f54681d Bug 1596129 - Make use of range-based for in IDBObjectStore::NoteDeletion. r=dom-workers-and-storage-reviewers,ttung
Depends on D52871

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

--HG--
extra : moz-landing-system : lando
2019-11-29 09:11:36 +00:00
Simon Giesecke 0a6f7ad485 Bug 1596129 - Make use of std::find_if in IDBObjectStore::DeleteIndex. r=dom-workers-and-storage-reviewers,ttung
Depends on D52870

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

--HG--
extra : moz-landing-system : lando
2019-11-29 08:50:06 +00:00
Simon Giesecke 3ddec24959 Bug 1596129 - Use const where easily possible. r=dom-workers-and-storage-reviewers,ytausky
Depends on D52875

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

--HG--
extra : moz-landing-system : lando
2019-11-29 08:50:37 +00:00
Simon Giesecke 98e5221bc5 Bug 1596129 - Make use of std::find_if in IDBObjectStore::CreateIndex. r=dom-workers-and-storage-reviewers,ttung
Depends on D52868

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

--HG--
extra : moz-landing-system : lando
2019-11-28 15:39:00 +00:00
Simon Giesecke 0d732b3ed3 Bug 1596129 - Extract CreateSortedDOMStringList function and reuse in IDBObjectStore::IndexNames. r=dom-workers-and-storage-reviewers,ytausky
Depends on D52867

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

--HG--
extra : moz-landing-system : lando
2019-11-28 20:24:33 +00:00
Liang-Heng Chen 272c2fb1bc Bug 1599083 - remove old ClientSource from ClientManagerService before adding new one; r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D55100

--HG--
extra : moz-landing-system : lando
2019-11-28 20:03:57 +00:00
Honza Bambas ce072f8e6a Bug 1594449 - <link rel="preload"> implemented as a speculative load initiated during the prescan phase in the HTML5 parser, disabled by default, only supports "script" and "styles" types, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D52019

--HG--
extra : moz-landing-system : lando
2019-11-27 21:45:12 +00:00
Simon Giesecke 6c42eb0661 Bug 1598164 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Depends on D54322

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

--HG--
extra : moz-landing-system : lando
2019-11-28 15:05:28 +00:00
Simon Giesecke 90427d7da3 Bug 1598164 - Align ReadyState with states defined in the spec. r=dom-workers-and-storage-reviewers,edenchuang
Differential Revision: https://phabricator.services.mozilla.com/D54322

--HG--
extra : moz-landing-system : lando
2019-11-28 16:00:29 +00:00
Coroiu Cristina 8aab818cb9 Backed out 4 changesets (bug 1589493) for chrome failures at dom/ipc/tests/test_process_error_oom.xu on a CLOSED TREE
Backed out changeset 9b97128e83d8 (bug 1589493)
Backed out changeset d2ed39839f83 (bug 1589493)
Backed out changeset cac468582924 (bug 1589493)
Backed out changeset 421b8d600806 (bug 1589493)
2019-11-28 18:01:54 +02:00
Emilio Cobos Álvarez 22e38352cd Bug 1599843 - Make one variant of BlobURLProtocolHandler::AddDataEntry infallible. r=baku
And clean-up surrounding code by removing useless namespace qualification.

It seems like the first call to Broadcast is useless? Or am I missing something?

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

--HG--
extra : moz-landing-system : lando
2019-11-28 14:43:08 +00:00
David Teller 8e016b6104 Bug 1589493 - Testing ipc:content-shutdown's support for isLikelyOOM;r=gsvelto
Depends on D54700

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

--HG--
extra : moz-landing-system : lando
2019-11-28 14:13:49 +00:00