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

89394 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight 058daef5d2 Bug 1603879 - Add a memory reporter for HTMLMediaElement::mPendingEvents. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D57376

--HG--
extra : moz-landing-system : lando
2019-12-17 02:55:15 +00:00
Emma Malysz ebaa98b111 Bug 1601113, replace URIs ending in vnd.mozilla.xul+xml with xhtml+xml r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D57148

--HG--
extra : moz-landing-system : lando
2019-12-17 00:33:16 +00:00
Daosheng Mu 29a45f1bde Bug 1579492 - Unregister input report callback when removing Cocoa gamepads. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D56256

--HG--
extra : moz-landing-system : lando
2019-12-16 08:26:37 +00:00
Perry Jiang b37c7b7a84 Bug 1597481 - upgrade heap-allocated MessagePortParent*s to CheckedUnsafePtr<MessagePortParent> r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D54649

--HG--
extra : moz-landing-system : lando
2019-12-16 23:07:14 +00:00
Paul Bone 8b4c7c407f Bug 1584892 - Remove CycleCollectedJSContext::Initialize's nursery size param r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D47873

--HG--
extra : moz-landing-system : lando
2019-12-16 04:14:55 +00:00
Paul Bone 89a1b3056a Bug 1584892 - Use the default max nursery size for workers r=baku,karlt
This patch updates this for workers and worklets.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 03:55:24 +00:00
Perry Jiang 62b0212e42 Bug 1522649 - test process switches for document loads over intercepted channels r=asuth
Renamed browser_navigation_process_swap.js to avoid confusion with this new test.

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

--HG--
rename : dom/serviceworkers/test/browser_navigation_process_swap.js => dom/serviceworkers/test/browser_remote_type_process_swap.js
extra : moz-landing-system : lando
2019-12-16 22:04:13 +00:00
Oana Pop Rus 5f3c83c29f Backed out changeset f911e3de6e53 (bug 1603461) for eslint in test_attributes_on_types.html on a CLOSED TREE 2019-12-17 00:39:02 +02:00
Tom Schuster 43da5d01ba Bug 1597420 - Remove nsIDocShellTreeItem from nsDOMNavigationTiming. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D57372

--HG--
extra : moz-landing-system : lando
2019-12-16 21:15:05 +00:00
Edgar Chen 88a6fd3ca7 Bug 1603461 - Add support for extended attributes on nullable types; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D56954

--HG--
extra : moz-landing-system : lando
2019-12-16 16:07:52 +00:00
Oana Pop Rus 661db3a39f Backed out 7 changesets (bug 1432856) for build bustages failures in nsWindow.h on a CLOSED TREE
Backed out changeset 3d08c3cce533 (bug 1432856)
Backed out changeset 49d03dd89b17 (bug 1432856)
Backed out changeset 62fc84c8ce99 (bug 1432856)
Backed out changeset a8a4fa63f5b2 (bug 1432856)
Backed out changeset c81f3d5b9bf3 (bug 1432856)
Backed out changeset 8351a8b1d96a (bug 1432856)
Backed out changeset a303b775a51b (bug 1432856)
2019-12-16 23:53:35 +02:00
pbz 2a543b67bb Bug 1432856 - Disable fullscreen leave on raise and open for fullscreen-multiple test. r=smaug
Depends on D56391

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

--HG--
extra : moz-landing-system : lando
2019-12-16 21:23:50 +00:00
pbz 6ad74653e8 Bug 1432856 - Added console logging for DOM fullscreen leave on window open or raise. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55813

--HG--
extra : moz-landing-system : lando
2019-12-16 21:07:37 +00:00
pbz 5917e8280d Bug 1432856 - Added prefs for DOM fullscreen leave on window open or raise. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55812

--HG--
extra : moz-landing-system : lando
2019-12-16 21:07:33 +00:00
pbz e03ecc2171 Bug 1432856 - Extended focus methods in Window.webidl, Client.webidl and Element.webidl to pass CallerType. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55811

--HG--
extra : moz-landing-system : lando
2019-12-16 21:06:11 +00:00
pbz f23c248326 Bug 1432856 - Leave DOM fullscreen on window raise. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55810

--HG--
extra : moz-landing-system : lando
2019-12-16 21:03:18 +00:00
John Dai cddff0f0b1 Bug 1603598 - Purge pending queries at JSWindowActor destroy; r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D57303

--HG--
extra : moz-landing-system : lando
2019-12-16 20:51:21 +00:00
Botond Ballo e1f64c8a8e Bug 1601568 - Only send a SetTargetAPZC notification right away if the target has a displayport and it has been painted. r=tnikkel
Merely checking for having a displayport isn't enough, because the paint to
tell APZ about the new scroll frame could still be pending.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 19:45:02 +00:00
Oana Pop Rus e59d6a3d4e Backed out changeset 44298fb8f4e2 (bug 1597481) for build bustages in MessagePortService.cpp on a CLOSED TREE 2019-12-16 21:51:08 +02:00
Perry Jiang b976e38774 Bug 1597481 - upgrade heap-allocated MessagePortParent*s to CheckedUnsafePtr<MessagePortParent> r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D54649

--HG--
extra : moz-landing-system : lando
2019-12-10 16:12:55 +00:00
Yaron Tausky 1c0098d153 Bug 1588357 - Handle edge case r=asuth,perry,dom-workers-and-storage-reviewers
It's possible that a registration will be replaced by another one
before its ServiceWorkerRegistration has finished initializing. In
that case, we shouldn't add the old registration as an instance of
the new one.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 19:21:28 +00:00
Edwin Takahashi c322071a77 Bug 1599937 - annotate test_conformance__textures__misc__texture-corner-case-videos.html as permafail on ubuntu1804 r=jmaher
Changes:

Annotate the test as being a permanent failure on ubuntu1804.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 11:24:14 +00:00
Boris Zbarsky c4055059c2 Bug 1603289. Stop calling binding functions that take some T* via a pointer to a function type that takes void*. r=edgar
We can just take void* and then cast it explicitly, which avoids the undefined-behavior issue here.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 17:14:21 +00:00
Kirk Steuber d9826ec84c Bug 1603554 - Remove XULElement.align from webidl and c++ r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D57156

--HG--
extra : moz-landing-system : lando
2019-12-14 02:23:15 +00:00
Boris Zbarsky 6639140a09 Bug 1603806. Add a blocking reason when loads with the SEC_REQUIRE_SAME_ORIGIN_* security flags are blocked due to not being same-origin. r=ckerschb,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D57147

--HG--
extra : moz-landing-system : lando
2019-12-16 09:36:45 +00:00
Simon Giesecke 2aec427dfe Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55490

--HG--
extra : moz-landing-system : lando
2019-12-16 13:19:24 +00:00
Simon Giesecke 203775a573 Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55489

--HG--
extra : moz-landing-system : lando
2019-12-16 13:19:08 +00:00
Simon Giesecke 5b6cb3f55d Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55488

--HG--
extra : moz-landing-system : lando
2019-12-16 13:19:01 +00:00
Simon Giesecke 475236755e Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55487

--HG--
extra : moz-landing-system : lando
2019-12-16 13:18:46 +00:00
Simon Giesecke 35ffaed515 Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55486

--HG--
extra : moz-landing-system : lando
2019-12-16 13:18:39 +00:00
Simon Giesecke c1c7168eae Bug 1600283 - Remove uses of plain pointers. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55485

--HG--
extra : moz-landing-system : lando
2019-12-16 13:18:26 +00:00
Simon Giesecke f490322f81 Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55484

--HG--
extra : moz-landing-system : lando
2019-12-16 13:18:13 +00:00
Simon Giesecke f35b7713ac Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55483

--HG--
extra : moz-landing-system : lando
2019-12-16 13:18:06 +00:00
Simon Giesecke f663797d53 Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55482

--HG--
extra : moz-landing-system : lando
2019-12-16 13:17:53 +00:00
Simon Giesecke 65bda1458a Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55480

--HG--
extra : moz-landing-system : lando
2019-12-16 13:17:46 +00:00
Simon Giesecke 78cd4c8321 Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55479

--HG--
extra : moz-landing-system : lando
2019-12-16 13:17:33 +00:00
Miko Mynttinen 7dbda109ce Bug 1603041 - Remove WebGLContext from WebGLMemoryTracker before destroying resources r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D56758

--HG--
extra : moz-landing-system : lando
2019-12-13 22:13:03 +00:00
Nathan Froyd 3422b5f22b Bug 1594814 - move FileBlockCache over to a background thread; r=pehrsons
Sharing a common thread(pool) is better than spinning up a private thread.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 07:52:41 +00:00
Kestrel 9397b8fe62 Bug 1427267 - Improve libsoundtouch high playback rate speech clarity with pitch preservation by using a smaller time stretcher sequence size r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D57085

--HG--
extra : moz-landing-system : lando
2019-12-16 13:03:10 +00:00
Simon Giesecke 1fb48dd681 Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55478

--HG--
extra : moz-landing-system : lando
2019-12-13 12:31:10 +00:00
Simon Giesecke 7e8ae185d6 Bug 1600283 - Reduce uses of plain pointers. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55477

--HG--
extra : moz-landing-system : lando
2019-12-13 12:18:21 +00:00
Csoregi Natalia 2bfeaf7cb5 Backed out 11 changesets (bug 1587433) for bustages on RangeBoundary.h. CLOSED TREE
Backed out changeset 18f8d61039b0 (bug 1587433)
Backed out changeset 69ad70a4f85e (bug 1587433)
Backed out changeset 79ec11ba7fde (bug 1587433)
Backed out changeset f8a7e23843b8 (bug 1587433)
Backed out changeset f9255884980f (bug 1587433)
Backed out changeset 50a798e664a1 (bug 1587433)
Backed out changeset b225586edea6 (bug 1587433)
Backed out changeset b1d9e55ece86 (bug 1587433)
Backed out changeset 7ebbcb2da488 (bug 1587433)
Backed out changeset 4032df295a67 (bug 1587433)
Backed out changeset 0e1577031add (bug 1587433)
2019-12-16 13:25:51 +02:00
Mirko Brodesser 1db1c362b8 Bug 1587433: part 8) Remove superfluous `RangeBoundaryBase::Offset()` overload. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54504

--HG--
extra : moz-landing-system : lando
2019-12-11 12:26:19 +00:00
Mirko Brodesser 52bbf6b8da Bug 1587433: part 7.6) Adapt callers of `RangeBoundaryBase::Offset()`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54503

--HG--
extra : moz-landing-system : lando
2019-12-11 12:26:15 +00:00
Mirko Brodesser 2f58cffcb0 Bug 1587433: part 7.5) Adapt callers of `RangeBoundaryBase::Offset()`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54495

--HG--
extra : moz-landing-system : lando
2019-12-11 12:26:10 +00:00
Mirko Brodesser 8e27b5e829 Bug 1587433: part 7.4) Adapt callers of `RangeBoundaryBase::Offset()`. r=smaug
Calls around nsContentUtils::ComparePoint might be strengthened to
retrieve only valid offsets in a separate commit.

The change in `nsRange::CloneContents` is according to
https://dom.spec.whatwg.org/#concept-range-clone.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 12:26:08 +00:00
Mirko Brodesser 2ce540d13e Bug 1587433: part 7.2) Adapt callers of `RangeBoundaryBase::Offset()`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54459

--HG--
extra : moz-landing-system : lando
2019-12-16 11:04:01 +00:00
Mirko Brodesser f1c8587c4b Bug 1587433: part 7.1) Adapt callers of `RangeBoundaryBase::Offset()`. r=smaug
Calls around `nsContentUtils::ComparePoints` will be cleaned-up in a
separate commit.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 12:25:03 +00:00
Mirko Brodesser 58e0fcd8c5 Bug 1587433: part 6) Create `RawRangeBoundary` in `nsRange::ComparePoints` only after checking the offset is valid. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54457

--HG--
extra : moz-landing-system : lando
2019-12-11 12:24:55 +00:00
Mirko Brodesser 640091d4f0 Bug 1587433: part 5) Add `RangeBoundaryBase::Offset(OffsetFilter)`. r=smaug
Once `RawRangeBoundary::Offset()` is removed, callers are forced to pass
a filter to `Offset()`. Making it less likely for new callers to
undeliberately retrieve invalid values.

`RawRangeBoundary::Offset()` is removed in separate commit, once all
callers adapted.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 12:24:48 +00:00
Mirko Brodesser ed7f8d448f Bug 1587433: part 4) In `Selection::SetBaseAndExtent` check offsets are valid before constructing range boundaries. r=smaug
Avoid warnings.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 12:24:40 +00:00
Mirko Brodesser ba20ab29fa Bug 1587433: part 3) Strengthen conditions for `AbstractRange::mIsPositioned`. r=smaug
Makes it less mysterious.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 12:24:28 +00:00
Matt Woodrow e88be9e3a2 Bug 1601743 - Don't apply the referrer header to the referrer that we send back to the content process when converting a DocumentChannel into a real channel. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D56841

--HG--
extra : moz-landing-system : lando
2019-12-16 00:19:03 +00:00
Emilio Cobos Álvarez ac506d6f4b Bug 1603889 - Simplify the scrollbar preference setup. r=smaug
So much plumbing to pass an enum down.

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

--HG--
extra : moz-landing-system : lando
2019-12-15 22:56:23 +00:00
Tom Schuster bb24dcba44 Bug 1597419 - Remove nsIDocShellTreeItem from nsCopySupport::FireClipboardEvent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D57207

--HG--
extra : moz-landing-system : lando
2019-12-15 00:03:41 +00:00
Edgar Chen 12f24b3f73 Bug 1603615 - [Clamp] and [EnforceRange] should only appear on integer types; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D57018

--HG--
extra : moz-landing-system : lando
2019-12-14 04:40:14 +00:00
Emilio Cobos Álvarez 3ccc6c30ab Bug 1603313 - Subdocument enum callbacks should take a reference. r=bzbarsky
As they can never take null.

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

--HG--
extra : moz-landing-system : lando
2019-12-14 05:08:39 +00:00
Emilio Cobos Álvarez b2fe832c7b Bug 1603313 - Remove some silly patterns. r=bzbarsky
foo ? true : false

or:

  foo ? false : true

Have always a nicer way to be written.

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

--HG--
extra : moz-landing-system : lando
2019-12-14 05:05:01 +00:00
Emilio Cobos Álvarez 4fad1d2092 Bug 1603843 - Remove work-around for 7+-year-old Mesa bug. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D57166

--HG--
extra : moz-landing-system : lando
2019-12-13 22:12:25 +00:00
Ricky Stewart 479b38bcac Bug 1603262 - mozbuild/makeutil.py and mozbuild/test_makeutil.py support python3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D56968

--HG--
extra : moz-landing-system : lando
2019-12-13 20:49:13 +00:00
Kris Maglione 39d7eb39ed Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:48 +00:00
Kris Maglione 9150b2f6c2 Bug 1596918: Part 4f - Fix callers which have timing issues. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53747

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:44 +00:00
Kris Maglione 3cb2072737 Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53746

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:40 +00:00
Kris Maglione 295e55e227 Bug 1596918: Part 4d - Fix callers which try to return non-clonable values. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53745

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:37 +00:00
Kris Maglione 0b1a146519 Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.

Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:36 +00:00
Kris Maglione 9853440599 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:24 +00:00
Kris Maglione 94e3b0bd8d Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:16 +00:00
Boris Zbarsky ee1cc488f2 Bug 1602483 part 2. Add a window id argument to CheckLoadURIWithPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D56428

--HG--
rename : devtools/client/webconsole/test/browser/browser_webconsole_same_origin_errors.js => devtools/client/webconsole/test/browser/browser_webconsole_checkloaduri_errors.js
rename : devtools/client/webconsole/test/browser/test-same-origin-required-load.html => devtools/client/webconsole/test/browser/test-checkloaduri-failure.html
extra : moz-landing-system : lando
2019-12-12 16:41:19 +00:00
Boris Zbarsky c0594d0833 Bug 1602483 part 1. Add a window id argument to SetupRefreshURIFromHeader. r=ckerschb
We can use this for error reporting.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 16:41:21 +00:00
Ashutosh Tiwari b1fed54115 Bug 1603690 - Remove a redundant return statement and removed empty lines. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D57086

--HG--
extra : moz-landing-system : lando
2019-12-13 17:49:07 +00:00
Boris Zbarsky cbc90e1aca Bug 1602090 part 2. Create separate CheckMayLoad and CheckMayLoadWithReporting APIs. r=ckerschb
CheckMayLoadAndReport takes a window ID.  This allows us to report
errors from it to the web console as needed.  Most consumers know statically
whether they want reporting or not, so there's no reason to force the ones that
don't to provide window ids.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 06:24:12 +00:00
Randell Jesup b674328047 Bug 1596784: Support SetTimeout deferral during load under Fission r=smaug
Fission puts subdocuments (potentially) in separate processes, so we can't
just EnumerateSubDocuments and poke the TimeoutManagers for each one.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 17:09:33 +00:00
Olli Pettay 3338ab0bb2 Bug 1556976, remove an old, mostly non-working hack to prevent zoom on form controls, r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D56966

--HG--
extra : moz-landing-system : lando
2019-12-13 13:07:23 +00:00
Simon Giesecke e0d7403f69 Bug 1577202 - Defer closing of a database while CreateFileOp's are pending. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D44683

--HG--
extra : moz-landing-system : lando
2019-12-13 13:32:02 +00:00
Simon Giesecke 399a9c9856 Bug 1577202 - Added test case from fuzzying. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D44682

--HG--
extra : moz-landing-system : lando
2019-12-04 12:45:35 +00:00
Emilio Cobos Álvarez b498defa90 Bug 1603455 - Remove full-screen-api.unprefix.enabled. r=xidorn,smaug
It's been enabled since Firefox 64.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 13:27:27 +00:00
Simon Giesecke bd5b9b72d1 Bug 1600906 - Disable remote settings blocklist when running indexedDB tests, as this heavily uses IndexedDB. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D56016

--HG--
extra : moz-landing-system : lando
2019-12-13 11:32:13 +00:00
Simon Giesecke cd83137067 Bug 1600906 - Reduce statefulness of TransactionDatabaseOperationBase using InitializedOnce. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D56015

--HG--
extra : moz-landing-system : lando
2019-12-13 11:31:56 +00:00
Simon Giesecke c87fdd4c9a Bug 1600906 - Encapsulate DatabaseOperationBase::mResultCode. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D56014

--HG--
extra : moz-landing-system : lando
2019-12-13 11:28:24 +00:00
Simon Giesecke ff97600e5a Bug 1600906 - Use move semantics with IdleDatabaseInfo. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D56012

--HG--
extra : moz-landing-system : lando
2019-12-13 12:21:18 +00:00
Simon Giesecke 8ad6cab25f Bug 1600906 - Use move semantics with ThreadInfo. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D56011

--HG--
extra : moz-landing-system : lando
2019-12-13 12:20:23 +00:00
Simon Giesecke 36ae4a9dbf Bug 1600906 - Reduce statefulness of DatabaseConnection using InitializedOnce. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D56008

--HG--
extra : moz-landing-system : lando
2019-12-13 10:55:10 +00:00
Simon Giesecke 30812bc3a6 Bug 1600906 - Made FlippedOnce member functions constexpr. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D56007

--HG--
extra : moz-landing-system : lando
2019-12-13 10:54:48 +00:00
Simon Giesecke 10507063a9 Bug 1600906 - Reduce statefulness of TransactionBase using const and InitializedOnce. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D56006

--HG--
extra : moz-landing-system : lando
2019-12-13 10:54:22 +00:00
Simon Giesecke 6aa7182d46 Bug 1600906 - Extended InitializedOnce to allow restricting the valid values. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D56005

--HG--
extra : moz-landing-system : lando
2019-12-13 10:55:33 +00:00
Yaron Tausky 2381d5552e Bug 1593246 - Part 5: Replicate session storage data r=janv,asuth
This commit implements a simple data replication scheme, where
each content process receives a copy of the relevant session
storage data when navigating, and sending all its session storage
data to the parent process before shutting down.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 09:45:55 +00:00
Christoph Kerschbaumer 142f16f7de Bug 1599256: Fix web compatibility issues by reverting changes and going back to loading about:blank and firing the onload event in case XFO blocks an iframe. r=jkt,smaug
Differential Revision: https://phabricator.services.mozilla.com/D56166

--HG--
extra : moz-landing-system : lando
2019-12-13 07:07:49 +00:00
Cameron McCormack 7d20996c2c Bug 1598480 - Test. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57019

--HG--
extra : moz-landing-system : lando
2019-12-13 02:04:07 +00:00
Cameron McCormack 9115e99eb4 Bug 1598480 - Make SVG images respond to theme changes. r=tnikkel,emilio
Differential Revision: https://phabricator.services.mozilla.com/D56156

--HG--
extra : moz-landing-system : lando
2019-12-13 02:04:07 +00:00
Emilio Cobos Álvarez fe173632c7 Bug 1602843 - Preserve CSS input exactly during sanitization. r=hsivonen
This avoids the mutation due to the different serialization in some cases.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 13:57:54 +00:00
Masayuki Nakano d586d5dc73 Bug 1543315 - part 19: Mark `PresShell::ReconstructFrames()` as `MOZ_CAN_RUN_SCRIPT` r=smaug
It calls `Document::FlushPendingNotification()` so that we should mark it
as `MOZ_CAN_RUN_SCRIPT`.

And the method calls it of `mDocument` and `mDocument` is never modified
after it's initialized.  Therefore, we can move the initializer to the
constructor and make `RefPtr<Document>` to `RefPtr<Document> const`.  Thus,
we can avoid unnecessary auto `RefPtr`.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 12:18:00 +00:00
Alastor Wu a20a9e1065 Bug 1603527 - part2 : extend 'MediaControlKeysEvent'. r=MeFisto94
Extend `MediaControlKeysEvent` to support more buttons.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 00:52:00 +00:00
Alastor Wu d562501d6c Bug 1603527 - part1 : remove 'MediaControlKeysEvent::eNone'. r=MeFisto94
`MediaControlKeysEvent` should represent possible control key events, so adding a non-existing `eNone` in this class is not good.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 00:31:22 +00:00
Alastor Wu 9c2660e673 Bug 1603288 - add detailed name for different seeking state. r=bryce
There are multiple seeking states in `MDSM`, it would be good to see the full name of the seeking state on the debug log to know what seeking state we're using.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 00:37:00 +00:00
Jon Bauman f57c5ad7ab Bug 1443511 - Apply HTMLMediaElement volume to currently playing audio segments. r=pehrsons
Rather than applying the volume change to the DecodedStream, which won't be
played until the buffer catches up, instead apply the volume to the segments
as they are consumed by the MediaTrackGraph.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 23:41:13 +00:00
Kris Maglione e38327a944 Bug 1588220: Keep track of last active inner window when BrowsingContext is discarded. r=bzbarsky
Any number of outer windows may be attached to a BrowsingContext over its
lifetime. While the BrowsingContext is alive, it's easy to keep track of which
of these is active, and therefore which of its inner windows is active. After
it has been discarded, though, it discards its docShell reference, so all we
can tell about an inner window is whether it is active for its own outer
window, but not whether it should be considered active for its
BrowsingContext.

This patch updates the BrowsingContext detach logic to store a flag on the
current inner window recording that it was active when its BrowsingContext was
detached, and then later checks that flag to determine if it is the current
window for a detached BrowsingContext.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 23:11:01 +00:00
Andreas Pehrson a13470c3da Bug 1601034 - Set the MediaPipelineTransmit send track in a dedicated method to enable unit tests. r=bwc
Depends on D56620

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

--HG--
extra : moz-landing-system : lando
2019-12-12 21:50:14 +00:00
Emilio Cobos Álvarez f2ae3383f9 Bug 1603534 - Merge ShadowRoot::StyleSheets and Document::StyleSheets(). r=nordzilla
They do the same so no reason to have it duplicated. EnsureDOMStyleSheets
doesn't have any other caller so just inline it there.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 21:51:59 +00:00
Noemi Erli 2b5af87228 Backed out changeset d23f209ada8b (bug 1603455) for causing failures in test_fullscreen-api.html
--HG--
extra : rebase_source : 7b7990746d3884eeced2404ed9bc78590db4b77c
2019-12-12 23:49:35 +02:00
Emilio Cobos Álvarez 8d6730e227 Bug 1603455 - Remove full-screen-api.unprefix.enabled. r=xidorn,smaug
It's been enabled since Firefox 64.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 19:56:10 +00:00
Henri Sivonen 5c2bad25ab Bug 1551276 - Autodetect legacy encodings on unlabeled pages. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D56362

--HG--
extra : moz-landing-system : lando
2019-12-12 17:50:19 +00:00
Andreea Pavel e7802d1d01 Backed out changeset fcbd865d22bc (bug 1274773) for causing high frequency failures in Bug 1274773 2019-12-12 19:24:00 +02:00
Emma Malysz be0238569b Bug 1601090, rename .xul files to .xhtml in toolkit/mozapps r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D55837

--HG--
rename : toolkit/mozapps/downloads/content/unknownContentType.xul => toolkit/mozapps/downloads/content/unknownContentType.xhtml
rename : toolkit/mozapps/extensions/content/blocklist.xul => toolkit/mozapps/extensions/content/blocklist.xhtml
rename : toolkit/mozapps/extensions/content/extensions.xul => toolkit/mozapps/extensions/content/extensions.xhtml
rename : toolkit/mozapps/handling/content/dialog.xul => toolkit/mozapps/handling/content/dialog.xhtml
rename : toolkit/mozapps/update/content/updateElevation.xul => toolkit/mozapps/update/content/updateElevation.xhtml
extra : moz-landing-system : lando
2019-12-12 16:30:59 +00:00
Ciure Andrei 6c95adafed Backed out 4 changesets (bug 1602483, bug 1602090) for causing perma leackchecks CLOSED TREE
Backed out changeset 6b057ba06b4a (bug 1602483)
Backed out changeset 9be3269d781d (bug 1602483)
Backed out changeset e3e2c1d7478e (bug 1602090)
Backed out changeset fdc4a588912e (bug 1602090)
2019-12-12 18:37:01 +02:00
Oana Pop Rus 53f1ba7c69 Backed out 10 changesets (bug 1599043) for build bustages in nsGlobalWindowOuter.cpp on a CLOSED TREE
Backed out changeset 463b815557e4 (bug 1599043)
Backed out changeset 7c3f0a58cc6c (bug 1599043)
Backed out changeset 1eadd9f5b50e (bug 1599043)
Backed out changeset e4ea0d47136b (bug 1599043)
Backed out changeset 6b97581c33b6 (bug 1599043)
Backed out changeset a68bd2acf5d6 (bug 1599043)
Backed out changeset c8ed9c52508c (bug 1599043)
Backed out changeset aaf83f7806b4 (bug 1599043)
Backed out changeset 0ad30634e416 (bug 1599043)
Backed out changeset 68219c132efc (bug 1599043)
2019-12-12 17:14:54 +02:00
Andreas Farre 9dcf7d5237 Bug 1561715 - Part 1: Remove unused functionality in SchedulerGroup. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55638

--HG--
extra : moz-landing-system : lando
2019-12-11 14:48:41 +00:00
Tim Huang cbe1f7bffd Bug 1599043 - Part 8: Remove the unnecessary OnContentBlockingEvent event in PBrowser. r=dimi,Ehsan
The OnContentBlockingEvent is no longer needed once we make the
OnContentBlockingEvent parent only.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 15:01:41 +00:00
Tim Huang 40be750cfd Bug 1599043 - Part 5: Add an IPC message to allow content process to notify the OnContentBlockingEvent in the parent. r=dimi,Ehsan
This patch adds an IPC message which allows content process to notify
the OnContentBlockingEvent in the parent process. This is needed because
there are some situations that the content blocking happens in content
processes, so we need to tell the parent process to notify it. Such as,
AntiTrackingCommon::AntiTrackingCommon::AddFirstPartyStorageAccessGrantedFor().

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

--HG--
extra : moz-landing-system : lando
2019-12-11 15:00:53 +00:00
Tim Huang 1629b3abcb Bug 1599043 - Part 3: Stop propagation of the OnContentBlockingEvent in content processes. r=dimi,Ehsan
This patch moves the propatation of the onContentBlockingEvent in the
content processes. After this, the
nsGlobalWindowOuter::NotifyContentBlockingEvent will only update the
ContentBlockingLog.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 15:00:39 +00:00
Tim Huang 620c03a1e9 Bug 1599043 - Part 2: Allow the WindowGlobalParent to send OnContentBlockingEvent in parent. r=dimi,Ehsan
This patch makes the WindowGlobalParent to be able to send the
OnContentBlockingEvent in the parent process.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 08:56:25 +00:00
Tim Huang ea6fa983ca Bug 1599043 - Part 1: Add a ContentBlockingLog into the WindowGlobalParent r=dimi,Ehsan
This adds a ContentBlockingLog into the WindowGlobalParent. This
ContentBlockingLog is bascially a copy of the log in the content
process. This log in parent is needed for the OnContentBlockingEvent in
parent process since we need an overview of the content blocking events
for OnContentBlockingEvent. And the ContentBlockingLog exits in the
content process in this stage, so we need to maintain a copy of it to
get the overview of the blocking events in parent.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 15:00:20 +00:00
Oana Pop Rus df78d6011c Backed out changeset 0810ad586986 (bug 1551276) for wpt failures in ar-ISO-8859-6-late.tentative.html on a CLOSED TREE 2019-12-12 16:38:54 +02:00
Boris Zbarsky 4425adb1cc Bug 1602483 part 2. Add a window id argument to CheckLoadURIWithPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D56428

--HG--
rename : devtools/client/webconsole/test/browser/browser_webconsole_same_origin_errors.js => devtools/client/webconsole/test/browser/browser_webconsole_checkloaduri_errors.js
rename : devtools/client/webconsole/test/browser/test-same-origin-required-load.html => devtools/client/webconsole/test/browser/test-checkloaduri-failure.html
extra : moz-landing-system : lando
2019-12-12 13:05:12 +00:00
Boris Zbarsky 1910b91cdf Bug 1602483 part 1. Add a window id argument to SetupRefreshURIFromHeader. r=ckerschb
We can use this for error reporting.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 13:03:56 +00:00
Boris Zbarsky e0acf6e9fc Bug 1602090 part 2. Create separate CheckMayLoad and CheckMayLoadWithReporting APIs. r=ckerschb
CheckMayLoadAndReport takes a window ID.  This allows us to report
errors from it to the web console as needed.  Most consumers know statically
whether they want reporting or not, so there's no reason to force the ones that
don't to provide window ids.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 13:03:42 +00:00
Ciure Andrei 907d461fa8 Backed out changeset b8f22dc26ee7 (bug 1599256) for causing test_ignore_xfo.html to permafail CLOSED TREE 2019-12-12 15:56:47 +02:00
Henri Sivonen 07527a83c9 Bug 1551276 - Autodetect legacy encodings on unlabeled pages. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D56362

--HG--
extra : moz-landing-system : lando
2019-12-12 12:59:47 +00:00
Oana Pop Rus d6dedea161 Backed out changeset 99beb73cff6c (bug 1589637) for mochitest-fission failures in /test_register_https_in_http.html on a CLOSED TREE 2019-12-12 14:46:17 +02:00
Christoph Kerschbaumer 314cb88c14 Bug 1599256: Fix web compatibility issues by reverting changes and going back to loading about:blank and firing the onload event in case XFO blocks an iframe. r=jkt,smaug
Differential Revision: https://phabricator.services.mozilla.com/D56166

--HG--
extra : moz-landing-system : lando
2019-12-12 12:16:02 +00:00
Eden Chuang 2c0d4f237e Bug 1589637 - enable mochitest dom/serviceworkers/test/test_register_https_in_http.html for fission r=dom-workers-and-storage-reviewers,perry
Differential Revision: https://phabricator.services.mozilla.com/D56759

--HG--
extra : moz-landing-system : lando
2019-12-12 09:56:13 +00:00
Dzmitry Malyshau dc8a21948c Bug 1602880 - Rename dom.webgpu.enable pref and restrict the CTS r=jgilbert,bzbarsky
addresses 1600364

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

--HG--
extra : moz-landing-system : lando
2019-12-12 03:09:30 +00:00
Andrew McCreight 236d942845 Bug 1575939 - Make test_crossOriginWindowSymbolAccess.html test the cross-process case. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D56798

--HG--
extra : moz-landing-system : lando
2019-12-12 04:55:58 +00:00
Kearwood Kip Gilbert 19ba3b0322 Bug 1580567 - Implement XR device access permission UI r=fluent-reviewers,bzbarsky,pbz,daoshengmu,imanol
Added @rbarker as a reviewer to check if this will work well within GeckoView for FxR / Android.
Added @bzbarsky for test_interfaces.html.  -- I'd like to re-land the secure origin requirement for WebVR as part of this patch, as it doesn't help to have UI that can't guarantee the identity of the origin.  (This was backed out due to test failures originally, and since been fixed)

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

--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js
extra : moz-landing-system : lando
2019-12-12 03:10:51 +00:00
Matt Woodrow fc8d68c367 Bug 1603194 - Pass nsDocShellLoadState's load flags to new process when process switching. r=kmag
Depends on D56821

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

--HG--
extra : moz-landing-system : lando
2019-12-12 02:32:29 +00:00
Matt Woodrow 7b9f6cbbdc Bug 1589123 - Do BrowsingContext::LoadURI messages via PContent, not PWindowGlobal since we might not have a current global. r=kmag
Depends on D56818

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

--HG--
extra : moz-landing-system : lando
2019-12-12 02:32:00 +00:00
Doug Thayer 86601b48c5 Bug 1602646 - Remove vestigial references to cooperative scheduling r=froydnj
GetCurrentPhysicalThread and GetCurrentVirtualThread are, in practice,
identical, as the TLS override that GetCurrentVirtualThread depends on
is never actually set. This simply removes that and renames some things/
deletes some comments.

Rebased across https://hg.mozilla.org/mozilla-central/rev/3f0b4e206853
by Karl Tomlinson <karlt+@karlt.net>.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 00:56:53 +00:00
Emilio Cobos Álvarez 4abc5101ed Bug 1526725 - Make wheel events passive by default on Nightly. r=smaug
This turned out to not be the root cause for that broken site, but I wrote the
code so... I enabled it on Nightly only to see if there's fallout, I don't think
we need to ship this in the near term, your call.

Depends on D56555

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

--HG--
extra : moz-landing-system : lando
2019-12-11 22:15:15 +00:00
Emilio Cobos Álvarez d70493e15e Bug 1526725 - Make dom.event.default_to_passive_touch_listeners a static pref. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D56555

--HG--
extra : moz-landing-system : lando
2019-12-11 22:15:08 +00:00
Emilio Cobos Álvarez 51c8170136 Bug 1598841 - nsCanvasFrame anonymous content needs to be document-level. r=bdahl,heycam
Otherwise code like StyleChildrenIterator won't find it, plus it is the right
thing to do anyway.

You don't really want this to inherit from the root element, even though given
this content is under our control (only in chrome documents) it is less of an
issue.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 22:27:07 +00:00
Eden Chuang 37ebcfc664 Bug 1581499 - Replace loadFrameScript by using JSWindowActor in dom/serviceworkers/test/browser_force_refresh.js r=sg
Differential Revision: https://phabricator.services.mozilla.com/D56345

--HG--
extra : moz-landing-system : lando
2019-12-11 15:24:00 +00:00
Emma Malysz 75ea156d47 Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D55857

--HG--
rename : toolkit/components/alerts/resources/content/alert.xul => toolkit/components/alerts/resources/content/alert.xhtml
rename : toolkit/components/apppicker/content/appPicker.xul => toolkit/components/apppicker/content/appPicker.xhtml
rename : toolkit/components/extensions/dummy.xul => toolkit/components/extensions/dummy.xhtml
rename : toolkit/components/passwordmgr/content/passwordManager.xul => toolkit/components/passwordmgr/content/passwordManager.xhtml
rename : toolkit/components/printing/content/printPageSetup.xul => toolkit/components/printing/content/printPageSetup.xhtml
rename : toolkit/components/printing/content/printPreviewProgress.xul => toolkit/components/printing/content/printPreviewProgress.xhtml
rename : toolkit/components/printing/content/printProgress.xul => toolkit/components/printing/content/printProgress.xhtml
rename : toolkit/components/prompts/content/commonDialog.xul => toolkit/components/prompts/content/commonDialog.xhtml
rename : toolkit/components/prompts/content/selectDialog.xul => toolkit/components/prompts/content/selectDialog.xhtml
rename : toolkit/components/viewconfig/content/config.xul => toolkit/components/viewconfig/content/config.xhtml
rename : toolkit/content/editMenuKeys.inc.xul => toolkit/content/editMenuKeys.inc.xhtml
rename : toolkit/content/resetProfile.xul => toolkit/content/resetProfile.xhtml
rename : toolkit/content/resetProfileProgress.xul => toolkit/content/resetProfileProgress.xhtml
rename : toolkit/modules/win.xul => toolkit/modules/win.xhtml
rename : toolkit/profile/content/createProfileWizard.xul => toolkit/profile/content/createProfileWizard.xhtml
rename : toolkit/profile/content/profileDowngrade.xul => toolkit/profile/content/profileDowngrade.xhtml
rename : toolkit/profile/content/profileSelection.xul => toolkit/profile/content/profileSelection.xhtml
extra : moz-landing-system : lando
2019-12-11 17:44:54 +00:00
Junior Hsu 4afe29f65d Bug 1530230 - strip request-body-header for POST to GET redirection in fetch r=valentin
Spec change brief:
A request-body-header name is a header name that is a byte-case-insensitive match for one of:
  - Content-Encoding
  - Content-Language
  - Content-Location
  - Content-Type

If one of the following is true
1. actualResponse ’s status is 301 or 302 and request ’s method is POST
1. actualResponse ’s status is 303 and request ’s method is not GET or HEAD
then set then:
1. Set request ’s method to GET and request ’s body to null.
1. For each headerName of request-body-header name , delete headerName from request ’s header list .

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

--HG--
extra : moz-landing-system : lando
2019-12-10 17:41:43 +00:00
Gurzau Raul 824bc2bf90 Backed out changeset dd809e835f2a (bug 1601093) for eslint failures at alert.xhtml and commonDialog.xhtml on a CLOSED TREE.
--HG--
rename : toolkit/components/alerts/resources/content/alert.xhtml => toolkit/components/alerts/resources/content/alert.xul
rename : toolkit/components/apppicker/content/appPicker.xhtml => toolkit/components/apppicker/content/appPicker.xul
rename : toolkit/components/extensions/dummy.xhtml => toolkit/components/extensions/dummy.xul
rename : toolkit/components/passwordmgr/content/passwordManager.xhtml => toolkit/components/passwordmgr/content/passwordManager.xul
rename : toolkit/components/printing/content/printPageSetup.xhtml => toolkit/components/printing/content/printPageSetup.xul
rename : toolkit/components/printing/content/printPreviewProgress.xhtml => toolkit/components/printing/content/printPreviewProgress.xul
rename : toolkit/components/printing/content/printProgress.xhtml => toolkit/components/printing/content/printProgress.xul
rename : toolkit/components/prompts/content/commonDialog.xhtml => toolkit/components/prompts/content/commonDialog.xul
rename : toolkit/components/prompts/content/selectDialog.xhtml => toolkit/components/prompts/content/selectDialog.xul
rename : toolkit/components/viewconfig/content/config.xhtml => toolkit/components/viewconfig/content/config.xul
rename : toolkit/content/editMenuKeys.inc.xhtml => toolkit/content/editMenuKeys.inc.xul
rename : toolkit/content/resetProfile.xhtml => toolkit/content/resetProfile.xul
rename : toolkit/content/resetProfileProgress.xhtml => toolkit/content/resetProfileProgress.xul
rename : toolkit/modules/win.xhtml => toolkit/modules/win.xul
rename : toolkit/profile/content/createProfileWizard.xhtml => toolkit/profile/content/createProfileWizard.xul
rename : toolkit/profile/content/profileDowngrade.xhtml => toolkit/profile/content/profileDowngrade.xul
rename : toolkit/profile/content/profileSelection.xhtml => toolkit/profile/content/profileSelection.xul
2019-12-11 19:27:28 +02:00
Emma Malysz 106f09dd53 Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D55857

--HG--
rename : toolkit/components/alerts/resources/content/alert.xul => toolkit/components/alerts/resources/content/alert.xhtml
rename : toolkit/components/apppicker/content/appPicker.xul => toolkit/components/apppicker/content/appPicker.xhtml
rename : toolkit/components/extensions/dummy.xul => toolkit/components/extensions/dummy.xhtml
rename : toolkit/components/passwordmgr/content/passwordManager.xul => toolkit/components/passwordmgr/content/passwordManager.xhtml
rename : toolkit/components/printing/content/printPageSetup.xul => toolkit/components/printing/content/printPageSetup.xhtml
rename : toolkit/components/printing/content/printPreviewProgress.xul => toolkit/components/printing/content/printPreviewProgress.xhtml
rename : toolkit/components/printing/content/printProgress.xul => toolkit/components/printing/content/printProgress.xhtml
rename : toolkit/components/prompts/content/commonDialog.xul => toolkit/components/prompts/content/commonDialog.xhtml
rename : toolkit/components/prompts/content/selectDialog.xul => toolkit/components/prompts/content/selectDialog.xhtml
rename : toolkit/components/viewconfig/content/config.xul => toolkit/components/viewconfig/content/config.xhtml
rename : toolkit/content/editMenuKeys.inc.xul => toolkit/content/editMenuKeys.inc.xhtml
rename : toolkit/content/resetProfile.xul => toolkit/content/resetProfile.xhtml
rename : toolkit/content/resetProfileProgress.xul => toolkit/content/resetProfileProgress.xhtml
rename : toolkit/modules/win.xul => toolkit/modules/win.xhtml
rename : toolkit/profile/content/createProfileWizard.xul => toolkit/profile/content/createProfileWizard.xhtml
rename : toolkit/profile/content/profileDowngrade.xul => toolkit/profile/content/profileDowngrade.xhtml
rename : toolkit/profile/content/profileSelection.xul => toolkit/profile/content/profileSelection.xhtml
extra : moz-landing-system : lando
2019-12-11 17:02:20 +00:00
Simon Giesecke 54a20a3bfa Bug 1600906 - Added const in IdleConnectionRunnable. r=dom-workers-and-storage-reviewers,ytausky
Depends on D56009

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

--HG--
extra : moz-landing-system : lando
2019-12-11 13:25:21 +00:00
Simon Giesecke a1b92b3c9f Bug 1600906 - Added const in UpdateRefcount. r=dom-workers-and-storage-reviewers,ytausky
Depends on D56008

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

--HG--
extra : moz-landing-system : lando
2019-12-11 14:40:38 +00:00
Simon Giesecke 330107906f Bug 1600906 - Reduce statefulness of TransactionInfo using const and FlippedOnce. r=dom-workers-and-storage-reviewers,ytausky
Depends on D56012

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

--HG--
extra : moz-landing-system : lando
2019-12-11 14:45:40 +00:00
Neil Deakin 75efe08ebc Bug 1595154, replace the frame script FormAutofillFrameScript.js with an actor and fix up setTimeout calls in places that were relying on Timer.jsm being loaded in that frame script, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52721

--HG--
rename : browser/extensions/formautofill/content/FormAutofillFrameScript.js => browser/extensions/formautofill/FormAutofillChild.jsm
extra : moz-landing-system : lando
2019-12-11 13:37:51 +00:00
Simon Giesecke 6033119f9a Bug 1497007 - Added IDBTransaction.commit method, with a minimal implementation. r=ttung,hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D46277

--HG--
extra : moz-landing-system : lando
2019-12-10 10:24:18 +00:00
Yaron Tausky e1fcfedadb Bug 1507180 - Make copy of list before iterating over it r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D55286

--HG--
extra : moz-landing-system : lando
2019-12-04 10:47:30 +00:00
Tom Tung 3f2680cc2c Bug 1592934 - Revert the accidental changes on D55653; r=janv
Differential Revision: https://phabricator.services.mozilla.com/D56711

--HG--
extra : moz-landing-system : lando
2019-12-11 10:40:49 +00:00
Tom Tung 21f3d11a5b Bug 1474608 - P3 - Add a argument (aCallback) to deleteDataFromOriginAttributesPattern and add a browser test to verify the behavior on quota storage; r=asuth,baku
Differential Revision: https://phabricator.services.mozilla.com/D34325

--HG--
extra : moz-landing-system : lando
2019-12-10 10:03:34 +00:00
Tom Tung 83eb41d14a Bug 1474608 - P1 - Clear origin attributes directly for deleteDataFromOriginAttributesPattern if it's possible; r=asuth,baku
The idea of this patch is to try to not use oberver mechanism as possible. To
achieve that, it introduces deleteByOriginAttributes() to cleaners. Different
from other methods, it would only be executed if it's implemented from a
cleaner.

It doesn't remove oberver mechanism entirely since some cleaners are still using
that for other deleteByXXX() functions. So, it only applies removing stuff to
PushService, QuotaManagerService, ServiceWorkerManager, nsPermissionManager,
nsApplicationCacheService, and nsCookieService.

Since the original issue is related to QuotaManagerService, it adds xpcshell
test under the dom/quota/test/unit/ to ensure the behavior won't be changed
accidentally in the future.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 19:47:13 +00:00
Mark Banner 2103c3b16a Bug 1601681 - Switch recently added files with Windows line endings to Unix. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D55990

--HG--
extra : moz-landing-system : lando
2019-12-11 08:12:49 +00:00
Tom Tung 5775eb8fb7 Bug 1592934 - Measure the success rate for the UpgradeStorageFrom* functions and the InitializeRepository function per repository; r=janv,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D55834

--HG--
extra : moz-landing-system : lando
2019-12-11 08:27:01 +00:00
Jan Varga 143724b74b Bug 1592934 - Abstract first initialization attempt recording into a standalone class; r=ttung,dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D55653

--HG--
extra : moz-landing-system : lando
2019-12-11 08:22:47 +00:00
Tom Tung 279395a8a9 Bug 1592934 - Use spread syntax to reduce the code in test_qm_first_initialization_attempt.js; r=janv,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D55074

--HG--
extra : moz-landing-system : lando
2019-12-09 18:47:56 +00:00
Jan Varga f6d7565873 Bug 1592934 - Change some bools to bitfields before adding new telemetry probes; r=ttung
Differential Revision: https://phabricator.services.mozilla.com/D54902

--HG--
extra : moz-landing-system : lando
2019-12-09 18:47:56 +00:00
Tom Tung 77e83b90da Bug 1592934 - Add telemetry probes to track persistent origins and temporary origins initialization success rate; r=janv
Differential Revision: https://phabricator.services.mozilla.com/D53392

--HG--
extra : moz-landing-system : lando
2019-12-11 08:20:46 +00:00
Alastor Wu 47d2457f3e Bug 1602163 - part2 : remove 'corruptedFrames' from 'VideoPlaybackQuality' r=bzbarsky
According to [1], we're going to deprecate this attribute.

[1] https://github.com/w3c/media-playback-quality/pull/20

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

--HG--
extra : moz-landing-system : lando
2019-12-11 07:19:15 +00:00
Alastor Wu 8fc6cead9b Bug 1602163 - part1 : remove usage of 'corruptedVideoFrames' in tests. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D56622

--HG--
extra : moz-landing-system : lando
2019-12-11 07:19:02 +00:00
Jeff Walden 62a130ba0a Bug 1602882 - Move array operations to a new js/Array.h header. r=sfink,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D56595

--HG--
extra : moz-landing-system : lando
2019-12-11 06:17:44 +00:00
Masayuki Nakano a2a7b27d8d Bug 1599971 - part 5: Mark `TextControlState::UnbindFromFrame()` as `MOZ_CAN_RUN_SCRIPT` r=m_kato,emilio
Note that `TextControlState::BindToFrame()` may also run script if it's
called without script blocker.  However, it shouldn't occur.  Therefore,
we don't need to mark it `MOZ_CAN_RUN_SCRIPT`, but we should check
script blocker existence with `MOZ_ASSERT`.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 03:04:20 +00:00
Masayuki Nakano c13f925d16 Bug 1599971 - part 4: Mark `TextControlState::GetTextEditor()` as `MOZ_CAN_RUN_SCRIPT` r=m_kato
If `PreareEditor()` returns `NS_OK`, but if the instance is deleted at returning
from it, `GetTextEditor()` will access `mTextEditor`.  Therefore, this patch
makes `PrepareEditor()` return error if the instance is destroyed at its end.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 03:03:31 +00:00
Masayuki Nakano 0b75352ba4 Bug 1599971 - part 3: Mark `nsITextControlFrame::SetSelectionRange()` as `MOZ_CAN_RUN_SCRIPT` r=m_kato
Similar to the previous patch, it may notify selection listeners of native
anonymous tree in `<input>` and `<textarea>` element.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 03:02:53 +00:00
Masayuki Nakano f9203c9b66 Bug 1599971 - part 2: Mark `TextControlState::DeleteOrCacheForReuse()` and `TextControlState::Reuse()` as `MOZ_CAN_RUN_SCRIPT` r=m_kato
They are really complicated and can run script while the instance is being
destroyed.  Therefore, they should have their own `AutoTextControlHandlingState`
as "kungFuDeathGrip".

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

--HG--
extra : moz-landing-system : lando
2019-12-11 03:02:46 +00:00
Masayuki Nakano a26ed4b301 Bug 1599971 - part 1: Mark constructors of `AutoTextControlHandlingState` as `MOZ_CAN_RUN_SCRIPT` r=m_kato
The destructor of `AutoTextControlHandlingState`is marked as
`MOZ_CAN_RUN_SCRIPT`, but it's not checked at build time.  And this does not
need to be created when the method does not run script.  Therefore, we should
mark its constructor as `MOZ_CAN_RUN_SCRIPT` instead since it's stack only
class so that its constructor and destructor are always called from same
method.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 03:01:37 +00:00
Brindusan Cristian 9c36dcbf23 Backed out 2 changesets (bug 1580567, bug 1599927) for mochitest failures at test_interfaces.html. CLOSED TREE
Backed out changeset 0e0d88942d33 (bug 1599927)
Backed out changeset 522c8d183bd5 (bug 1580567)

--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js
2019-12-11 05:31:08 +02:00
Paul Bone d8a910b09e Bug 1592894 - pt 3. Remove useHttpResponseProcessSelection from SessionStore.jsm r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D53762

--HG--
extra : moz-landing-system : lando
2019-12-11 02:31:04 +00:00
Kearwood Kip Gilbert 7c8ce74b8f Bug 1580567 - Implement XR device access permission UI r=fluent-reviewers,bzbarsky,pbz,daoshengmu,imanol
Added @rbarker as a reviewer to check if this will work well within GeckoView for FxR / Android.
Added @bzbarsky for test_interfaces.html.  -- I'd like to re-land the secure origin requirement for WebVR as part of this patch, as it doesn't help to have UI that can't guarantee the identity of the origin.  (This was backed out due to test failures originally, and since been fixed)

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

--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js
extra : moz-landing-system : lando
2019-12-11 01:38:17 +00:00
Emma Malysz 57215abe07 Bug 1601094, rename the remaining .xul files in browser/ to .xhtml r=marionette-reviewers,whimboo,mossop
Differential Revision: https://phabricator.services.mozilla.com/D55751

--HG--
rename : browser/base/content/aboutDialog.xul => browser/base/content/aboutDialog.xhtml
rename : browser/base/content/newInstall.xul => browser/base/content/newInstall.xhtml
rename : browser/base/content/pageinfo/pageInfo.xul => browser/base/content/pageinfo/pageInfo.xhtml
rename : browser/base/content/safeMode.xul => browser/base/content/safeMode.xhtml
rename : browser/base/content/sanitize.xul => browser/base/content/sanitize.xhtml
rename : browser/base/content/titlebar-items.inc.xul => browser/base/content/titlebar-items.inc.xhtml
rename : browser/base/content/webext-panels.xul => browser/base/content/webext-panels.xhtml
rename : browser/base/content/webrtcIndicator.xul => browser/base/content/webrtcIndicator.xhtml
rename : browser/components/downloads/content/contentAreaDownloadsView.xul => browser/components/downloads/content/contentAreaDownloadsView.xhtml
rename : browser/components/migration/content/migration.xul => browser/components/migration/content/migration.xhtml
rename : browser/components/places/content/bookmarkProperties.xul => browser/components/places/content/bookmarkProperties.xhtml
rename : browser/components/places/content/bookmarksSidebar.xul => browser/components/places/content/bookmarksSidebar.xhtml
rename : browser/components/places/content/historySidebar.xul => browser/components/places/content/historySidebar.xhtml
rename : browser/components/places/content/places.xul => browser/components/places/content/places.xhtml
rename : browser/components/shell/content/setDesktopBackground.xul => browser/components/shell/content/setDesktopBackground.xhtml
extra : moz-landing-system : lando
2019-12-11 00:27:19 +00:00
shindli 652f3b0296 Backed out 2 changesets (bug 1580567, bug 1599927) for causing permafailures in dom/tests/mochitest/general/test_interfaces.html CLOSED TREE
Backed out changeset aeceec922866 (bug 1599927)
Backed out changeset 29809135f18e (bug 1580567)

--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js
2019-12-11 03:32:44 +02:00
shindli 91924fedc7 Backed out 9 changesets (bug 1596918) for causing mochitest permafailures in toolkit/content/tests/chrome/test_findbar_events.xhtml CLOSED TREE
Backed out changeset 45a1c42118f2 (bug 1596918)
Backed out changeset db09910ffa56 (bug 1596918)
Backed out changeset 5c9d9f141c10 (bug 1596918)
Backed out changeset 6a135670d603 (bug 1596918)
Backed out changeset 3a0184e0df72 (bug 1596918)
Backed out changeset 2f0036486823 (bug 1596918)
Backed out changeset a770c6d08d52 (bug 1596918)
Backed out changeset ef062eb7a6ee (bug 1596918)
Backed out changeset a6ea596e98db (bug 1596918)
2019-12-11 03:09:26 +02:00
Kearwood Kip Gilbert 6a9c22db45 Bug 1580567 - Implement XR device access permission UI r=fluent-reviewers,bzbarsky,pbz,daoshengmu,imanol
Added @rbarker as a reviewer to check if this will work well within GeckoView for FxR / Android.
Added @bzbarsky for test_interfaces.html.  -- I'd like to re-land the secure origin requirement for WebVR as part of this patch, as it doesn't help to have UI that can't guarantee the identity of the origin.  (This was backed out due to test failures originally, and since been fixed)

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

--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js
extra : moz-landing-system : lando
2019-12-10 23:55:05 +00:00
Karl Tomlinson 1457fcc07d Bug 1599952 initialize AudioWorkletProcessor.port r=baku
Differential Revision: https://phabricator.services.mozilla.com/D53135

--HG--
extra : moz-landing-system : lando
2019-12-11 00:24:09 +00:00
Kris Maglione cee320b5fb Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:41 +00:00
Kris Maglione 2c38fe8acb Bug 1596918: Part 4f - Fix callers which have timing issues. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53747

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:31 +00:00
Kris Maglione d7164b11c3 Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53746

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:28 +00:00
Kris Maglione 37c15883a5 Bug 1596918: Part 4d - Fix callers which try to return non-clonable values. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53745

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:34 +00:00
Kris Maglione 356e59c6bc Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.

Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:22 +00:00
Kris Maglione 3ca78ce8e3 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:21 +00:00
Kris Maglione 16a9b29848 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:13 +00:00
Eric Rahm 2a56b38b45 Bug 1598738 - Remove using namespace std from OnlineSpeechRecognitionService. r=andrenatal
Differential Revision: https://phabricator.services.mozilla.com/D54349

--HG--
extra : moz-landing-system : lando
2019-11-26 05:59:18 +00:00
Kris Maglione 90e2898150 Bug 1602608: Reject DOM Fullscreen promises with reasonable messages. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D56599

--HG--
extra : moz-landing-system : lando
2019-12-10 22:26:23 +00:00
Karl Tomlinson 2b63e70947 Bug 1587872 ensure one output channel when input is null r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D54675

--HG--
extra : moz-landing-system : lando
2019-11-26 16:53:37 +00:00
Karl Tomlinson 115ab06aac Bug 1587872 call process() on active AudioWorkletProcessor even with no active inputs r=padenot
and don't call process() on inactive AudioWorkletProcessor when inputs are null.

AudioNodeTrack::mIsActive, which determines when ProcessBlocksOnPorts() is
called, differs slightly from "actively processing" in the spec.
"An AudioScheduledSourceNode is actively processing if and only if it is
playing for at least part of the current rendering quantum" but
AudioNodeTrack::mIsActive is set even before the source node has started
playing.
Null input blocks provide a better indication of inputs that are not actively
processing.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 15:11:16 +00:00
Yaron Tausky 0dec823f98 Bug 1593246 - Part 4: Overload SessionStorageManager::GetSessionStorageCacheHelper r=dom-workers-and-storage-reviewers,asuth
Depends on D55660

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

--HG--
extra : moz-landing-system : lando
2019-12-09 19:38:34 +00:00
Yaron Tausky 121a75d524 Bug 1593246 - Part 3: Remove unused parameter from SessionStorageManager::GetSessionStorageCacheHelper r=dom-workers-and-storage-reviewers,sg
Depends on D55659

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

--HG--
extra : moz-landing-system : lando
2019-12-09 19:38:34 +00:00
Yaron Tausky 9f6995fc6e Bug 1593246 - Part 2: Give SessionStorageManager a reference to BrowsingContext r=sg
This reference is necessary when sending session storage data for
all browsing context to the parent process. Note that it entails
making SessionStorageManager a cycle collection participant, since
adding this reference creates a cycle.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 12:12:32 +00:00
Yaron Tausky 760750c1bd Bug 1593246 - Part 1: Move SessionStorageManager to BrowsingContext r=dom-workers-and-storage-reviewers,sg,smaug
With Fission enabled we do not necessarily have access to the
nsDocShell that holds the top-level browsing context, so the
BrowsingContext is a better place to store information that needs
to be accessible to nested browsing contexts.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 12:12:25 +00:00
Andreas Pehrson 465815e45e Bug 1600063 - Add some logging for DecodedStream. r=padenot
Depends on D55981

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

--HG--
extra : moz-landing-system : lando
2019-12-10 17:19:58 +00:00
Andreas Pehrson b44898260c Bug 1600063 - Clear future data when the DecodedStream mediasink stops playing. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D55981

--HG--
extra : moz-landing-system : lando
2019-12-10 17:22:18 +00:00
Kirk Steuber 6c7eec60e6 Bug 1585482 - Necessary test fixes following the change to stop using xul:dialog as a root element. r=marionette-reviewers,ato,bgrins
Most of these fixes involve fixing test XUL to not use <dialog> as a top level element or replacing calls to document.documentElement that expect it to return the dialog, now that the dialog is not the top level element anymore.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 18:14:10 +00:00
Alastor Wu 4ad4776d97 Bug 1602617 - part2 : reuse same event source all the time. r=MeFisto94
Because we won't change platform dynamically, so we should be able to keep same the event source all the time and use `Open()` and `Close()` to control if we need to monitor media keys event or not.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 18:30:36 +00:00
Alastor Wu 985782ea1b Bug 1602617 - part1 : add a method to check if the event source is opened. r=MeFisto94
Differential Revision: https://phabricator.services.mozilla.com/D56491

--HG--
extra : moz-landing-system : lando
2019-12-10 18:24:37 +00:00
Alastor Wu caf98a21b1 Bug 1601379 - part2 : add 'Open()' to know if the source initialization succeeds or not. r=MeFisto94
Add `Open()` to support inherited sources to implement their own initialization and also don't hold the reference of the source if it fails to initialize.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 00:07:38 +00:00
Alastor Wu f3a4ab9441 Bug 1601379 - part1 : allow inherited class to override 'Close()' r=MeFisto94
Add an ability for inherited sources to implement their own deconstruction operations.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 23:54:14 +00:00
Dorel Luca a431475073 Backed out 2 changesets (bug 1526725) as per dev's request
Backed out changeset 98bafb894b5d (bug 1526725)
Backed out changeset 2bbbaccb0d06 (bug 1526725)

--HG--
extra : rebase_source : c71e12cb776f5f6d56400bfb398648be803b0ac7
2019-12-10 19:37:45 +02:00
Emilio Cobos Álvarez 85117004f2 Bug 1526725 - Make wheel events passive by default on Nightly. r=smaug
This turned out to not be the root cause for that broken site, but I wrote the
code so... I enabled it on Nightly only to see if there's fallout, I don't think
we need to ship this in the near term, your call.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 16:59:34 +00:00
Emilio Cobos Álvarez 93ebbd2ad0 Bug 1526725 - Make dom.event.default_to_passive_touch_listeners a static pref. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D56555

--HG--
extra : moz-landing-system : lando
2019-12-10 17:00:48 +00:00
Dzmitry Malyshau 69c53e713c Bug 1600929 - WebGPU buffer creation and mapping r=jgilbert,bzbarsky
This is the basic functionality needed to work with buffers.
What it doesn't have:
  - ability to re-map the buffer for writing
  - async writing map
  - most of the validation

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

--HG--
extra : moz-landing-system : lando
2019-12-10 17:07:18 +00:00
Kannan Vijayan b7b7af4e8f Bug 1587399 - Fix usage of nsIDocShellTreeItem in nsContentUtils::CheckForSubFrameDrop. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D56001

--HG--
extra : moz-landing-system : lando
2019-12-10 15:19:35 +00:00
Johann Hofmann 749da501d5 Bug 1600942 - Remove userHadInteractedWithDocument and documentDOMContentLoadedTimestamp attributes from nsIContentPermissionPrompt. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D56540

--HG--
extra : moz-landing-system : lando
2019-12-10 14:38:30 +00:00
Masayuki Nakano 8f4c6468bb Bug 1557587 - part 2: Make `nsGlobalWindowOuter` convert between devices pixels and CSS pixels with scale information stored in `nsIBaseWindow` r=jfkthame
Currently, `nsGlobalWindowOuter` converts between devices pixels and CSS pixels
with `nsPresContext` for calling `nsIBaseWindow` methods.  However, the scale
information in `nsPresContext` may not be the latest of the corresponding
widget.  Therefore, this makes the methods of `nsGlobalWindowOuter` which
work with `nsIBaseWindow` convert pixels with `nsIBaseWindow`'s information.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 08:23:39 +00:00
Masayuki Nakano 8def9ba9e7 Bug 1557587 - part 1: Make `BrowserParent::RecvSetDimensions()` adjust given value with current scale r=jfkthame
If `nsGlobalWindowOuter::ResizeTo()` etc is called before receiving
`BrowserChild::RecvUIResolutionChanged()`, the `aX`, `aY`, `aCx` and `aCy`
values are computed with old scale.

This patch makes `BrowserChild::SendSetDimensions()` set scale in the
remote process and `BrowserParent::RecvSetDimensions()` recompute each
value with current scale.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 08:23:06 +00:00
Razvan Maries c59654e8be Backed out changeset 2968e233f172 (bug 1600929) for hazzard bustages on Device.cpp. CLOSED TREE 2019-12-10 01:26:09 +02:00
Bryce Seager van Dyk 8e093dd26d Bug 1601803 - Log if GMPParent::ParseChromiumManifest succeeds or fails. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D56098

--HG--
extra : moz-landing-system : lando
2019-12-06 19:48:31 +00:00
alwu a395b2faff Bug 1602336 - merge MediaController and TabMediaController. r=chunmin
The intial reason of creating MediaController as a basic class and extend this class to TabMediaController is that we would like to have a class MediaSessionController in the future, which is used to handle media session operations.

However, I found that being a media session controller or not is actually a dynamic change, so if we implement that as a different controller, we have to create and destroy controllers and switch between them a lots of times.

Ex. the tab can be controlled by TabController in the beginning, but after we create a media session, we have to use MediaSessionController. However, if we cancel the action handlers of the media session, then we have to switch back to TabController again...

Therefore, we should merge them into one class, and handle the media session part by different methods.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 20:57:42 +00:00
Emilio Cobos Álvarez 50c94e07ae Bug 1601083 - Add an InspectorUtils API to get the containing block of an Element. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D56387

--HG--
extra : moz-landing-system : lando
2019-12-09 22:07:00 +00:00
Dzmitry Malyshau b3d867ca6e Bug 1600929 - WebGPU buffer creation and mapping r=jgilbert,bzbarsky
This is the basic functionality needed to work with buffers.
What it doesn't have:
  - ability to re-map the buffer for writing
  - async writing map
  - most of the validation

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

--HG--
extra : moz-landing-system : lando
2019-12-09 21:43:13 +00:00
Matt Woodrow d214fe061e Bug 1602322 - Enable browser.tabs.remote.dataUriInDefaultWebProcess for fission reftests. r=kmag
We enable the pref in the harness so that local testing with --enable-fission will get the same results as treeherder.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 20:31:47 +00:00
Emilio Cobos Álvarez 707ed5c818 Bug 1602421 - Remove some useless includes. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D56350

--HG--
extra : moz-landing-system : lando
2019-12-09 14:53:50 +00:00
Razvan Maries ae7f240305 Backed out 3 changesets (bug 1593246) for build bustages on BrowsingContext.h. CLOSED TREE
Backed out changeset fd389138a684 (bug 1593246)
Backed out changeset 2663311a1b62 (bug 1593246)
Backed out changeset d9f0d827e28d (bug 1593246)
2019-12-09 20:32:18 +02:00
Perry Jiang d574806ada Bug 1274773 - re-enable test_multiple_register_during_service_activation.html r=asuth
The test was disabled 8 months ago. Re-enabling to see if this intermittent
still exists.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 16:11:23 +00:00
Perry Jiang cb268d10f4 Bug 1588152 - restrict RemoteWorkerChild::mTerminationPromise to Worker Launcher thread r=asuth
It looks like there could be a race condition where GetTerminationPromise()
is called at the same time on two threads on an empty MozPromiseHolder, and one
of the MozPromises created by MozPromiseHolder::Ensure if leaked (and its
chained callbacks never called).

Additionally, I don't think the ParentStatusProtected() > Running check is
necessary because for ServiceWorkers, the global can't call close(), so the
parent status is at least "Canceling", making the CloseWorkerOnMainThread call
unnecessary (which just calls WorkerPrivate::Cancel). The parent process also
will always send a termination operation as the last operation, so we can just
rely on that to make sure the worker is fully terminated.

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

--HG--
extra : moz-landing-system : lando
2019-12-08 00:33:03 +00:00
Yaron Tausky f92ef30306 Bug 1593246 - Part 3: Remove unused parameter from SessionStorageManager::GetSessionStorageCacheHelper r=dom-workers-and-storage-reviewers,sg
Depends on D55659

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

--HG--
extra : moz-landing-system : lando
2019-12-05 17:52:44 +00:00
Yaron Tausky fce9c5df38 Bug 1593246 - Part 2: Give SessionStorageManager a reference to BrowsingContext r=sg
This reference is necessary when sending session storage data for
all browsing context to the parent process. Note that it entails
making SessionStorageManager a cycle collection participant, since
adding this reference creates a cycle.

Depends on D55276

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

--HG--
extra : moz-landing-system : lando
2019-12-05 17:51:59 +00:00
Yaron Tausky 79e1254479 Bug 1593246 - Part 1: Move SessionStorageManager to BrowsingContext r=dom-workers-and-storage-reviewers,sg,smaug
With Fission enabled we do not necessarily have access to the
nsDocShell that holds the top-level browsing context, so the
BrowsingContext is a better place to store information that needs
to be accessible to nested browsing contexts.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 13:04:51 +00:00
Simon Giesecke f4fb1f367a Bug 1600906 - Make use of FlippedOnce in TransactionBase. r=dom-workers-and-storage-reviewers,ytausky
Also renamed TransactionBase::SetActive/mHasBeenActive to
TransactionBase::Init/mInitialized to avoid confusion with the 'Active' state
defined in the IndexedDB spec.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 17:12:51 +00:00
Simon Giesecke 022df7d02f Bug 1600618 - Provide more guidance on which smart pointer types to use. r=dom-workers-and-storage-reviewers,janv,asuth
Differential Revision: https://phabricator.services.mozilla.com/D55454

--HG--
extra : moz-landing-system : lando
2019-12-09 16:50:46 +00:00
Dave Townsend 07b45693b7 Bug 1602023: If an icon's URI is already a data URI then there is no need to reload it. r=marcosc
Differential Revision: https://phabricator.services.mozilla.com/D56215

--HG--
extra : moz-landing-system : lando
2019-12-09 16:12:11 +00:00
Boris Zbarsky 4aa649053b Bug 1601377 part 2. Make it clear that nsContentUtils::PrincipalHasPermission never takes a null nsIPrincipal. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D56217

--HG--
extra : moz-landing-system : lando
2019-12-08 21:10:15 +00:00
Boris Zbarsky 1a285c6f35 Bug 1601377 part 1. Make it clear that nsContentUtils::PrincipalAllowsL10n never takes a null nsIPrincipal. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D56216

--HG--
extra : moz-landing-system : lando
2019-12-09 15:10:32 +00:00
Emilio Cobos Álvarez 7de32b37ce Bug 1598330 - Convert dom.w3c_touch_events.enabled to a static pref. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D56312

--HG--
extra : moz-landing-system : lando
2019-12-09 00:54:23 +00:00
Emilio Cobos Álvarez 42502c20b9 Bug 1598330 - Don't check touch event support off the main thread. r=smaug
It does a bunch of widget stuff which is not thread-safe.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 14:58:25 +00:00
Boris Zbarsky 8596a2beaa Bug 1601717. Avoid Tsan warnings about unsychronized access to our "have we inited the Xray ids?" boolean. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D56237

--HG--
extra : moz-landing-system : lando
2019-12-09 10:37:54 +00:00
Bob Owen 9fa23d568b Bug 1572415: Convert clip paths when potentially changing canvas backend in CanvasRenderingContext2D. r=jrmuizel
The clip Paths in mStyleStack might not be compatible with the new mTarget, so
this converts them to make sure they are.

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

--HG--
extra : moz-landing-system : lando
2019-11-29 21:55:04 +00:00
Emilio Cobos Álvarez 4a3be9604a Bug 1602317 - Switch style system to associated constants-in-body. r=heycam
This is closer to the equivalent Rust code.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 03:32:28 +00:00
Emilio Cobos Álvarez 25987bb3e9 Bug 1602317 - Remove some useless includes. r=heycam
This intended to fix some windows builds, but that didn't end up working.

This removes some unused members and such, and fixes some missing includes
that they uncover (whoops).

This was needed because some windows headers used in the sandbox redefine STRICT
(which is used by `StyleContain`) and `TRANSPARENT`, which is used by some WR
stuff.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 12:52:53 +00:00
Daniel Varga 6e13799734 Backed out changeset e65c1bcb013f (bug 1601475) for causing build bustage. On a CLOSED TREE 2019-12-09 12:51:07 +02:00
Tyler 103588ae45 Bug 1601475 - Remove ImageContentLoaded event and ImageDocumentLoaded message handling code across the tree r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D56051

--HG--
extra : moz-landing-system : lando
2019-12-09 10:18:25 +00:00
Marcos Cáceres 00bbf304ee Bug 1548424 - Check that Web App Manifest does not fetch using credentials by default r=baku
tests that confirm we are not sending credentials by default

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

--HG--
extra : moz-landing-system : lando
2019-12-05 13:19:00 +00:00
Kagami Sascha Rosylight 23d4bffcad Bug 1596687 - Allow Navigator.share in non-e10s mode r=marcosc
Differential Revision: https://phabricator.services.mozilla.com/D53161

--HG--
extra : moz-landing-system : lando
2019-12-09 03:38:28 +00:00
Emilio Cobos Álvarez 89af4fcde2 No bug - minor non-unified build fixes.
Differential Revision: https://phabricator.services.mozilla.com/D56305

--HG--
extra : moz-landing-system : lando
2019-12-08 19:51:44 +00:00
Timothy Nikkel 86ad3fbc4b Bug 1601185. Add a function that returns if a user can scroll on a given scroll frame in either direction and use it in EventStateManager::ComputeScrollTargetAndMayAdjustWheelEvent. r=botond
Previously we were just checking overflow hidden here, which is not enough because we can scroll overflow hidden if we are zoomed in.

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

--HG--
extra : moz-landing-system : lando
2019-12-07 22:56:00 +00:00
Brian Hackett d24696b5ab Bug 1595964 Part 3 - Update tests for evaluatingWorker, r=asuth.
Differential Revision: https://phabricator.services.mozilla.com/D55893

--HG--
extra : moz-landing-system : lando
2019-12-07 18:17:58 +00:00
Brian Hackett b4c62f7f0b Bug 1596939 Part 1 - Service worker operations should be debuggee runnables, r=asuth.
Depends on D54288

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

--HG--
extra : moz-landing-system : lando
2019-12-07 18:18:05 +00:00
Brian Hackett a72710f1b3 Bug 1595964 Part 1 - Add nsIServiceWorkerRegistrationInfo.evaluatingWorker, r=asuth.
Differential Revision: https://phabricator.services.mozilla.com/D54286

--HG--
extra : moz-landing-system : lando
2019-12-07 18:18:07 +00:00
Noemi Erli 82d41a33b2 Backed out 9 changesets (bug 1596918) for causing multiple browser-chrome failures
Backed out changeset 415007efd8c9 (bug 1596918)
Backed out changeset 011eb5ce927b (bug 1596918)
Backed out changeset e5fd3ee22ea1 (bug 1596918)
Backed out changeset 0bca4de31d40 (bug 1596918)
Backed out changeset 11ec4393f23d (bug 1596918)
Backed out changeset c5404a7c286d (bug 1596918)
Backed out changeset 7e9304405a46 (bug 1596918)
Backed out changeset fa0f0aeabf99 (bug 1596918)
Backed out changeset de196b077000 (bug 1596918)
2019-12-07 22:26:43 +02:00
Kris Maglione 84fa9ffb2a Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:35 +00:00
Kris Maglione dc4307d5ed Bug 1596918: Part 4f - Fix callers which have timing issues. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53747

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:35 +00:00
Kris Maglione 63b8ddb1c0 Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53746

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:35 +00:00
Kris Maglione 8c28f5ff8d Bug 1596918: Part 4d - Fix callers which try to return non-clonable values. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53745

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:35 +00:00
Kris Maglione bd497b1a21 Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.

Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.

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

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:34 +00:00
Kris Maglione fa3556c3fc Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:34 +00:00
Kris Maglione 910eab35d2 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-07 19:11:58 +00:00
Kris Maglione 7593e70946 Bug 1596918: Part 1e - Correctly handle query handlers throwing uncatchable exceptions. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53738

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:33 +00:00
Kris Maglione e8b0862194 Bug 1588839 - Part 3: Preserve cross-process async stacks in sendQuery/sendAsyncMessage calls. r=bzbarsky
This makes it much simpler to track down the source of message handler errors
by linking the cross-process caller chains which sent the problematic message.

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

--HG--
extra : moz-landing-system : lando
2019-12-07 18:59:23 +00:00
Kris Maglione 7ae4407d5f Bug 1588839 - Part 2: Return the actual rejection value when a sendQuery handler rejects. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D50882

--HG--
extra : moz-landing-system : lando
2019-12-07 18:59:21 +00:00
Kris Maglione a71c8e64ff Bug 1588839 - Part 1 - Add helper to allow structured cloning Error/Exception objects. r=bzbarsky
In order to be able to reasonably debug error results from things like
JSWindowActor.sendQuery, we need to be able to clone errors across process
boundaries, so that they can be propagated to the caller that initiated a
query. The standard for the structured clone algorithm does not allow cloning
errors directly, so this patch instead adds a chrome-only wrapper object which
supports structured clone writing, and on reading, automatically decodes to
the error object it wraps. Callers who wish to clone an Error or Exception
object simply need to wrap it in a ClonedErrorHolder before sending.

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

--HG--
extra : moz-landing-system : lando
2019-12-07 18:59:14 +00:00
Noemi Erli 7c520af3a9 Backed out 6 changesets (bug 1595964, bug 1596939) for causing failures in browser_application_panel_list-domain-workers.js
Backed out changeset 65c870147654 (bug 1595964)
Backed out changeset 74a982a9144a (bug 1596939)
Backed out changeset c21c15689e77 (bug 1596939)
Backed out changeset a6848f4d219d (bug 1596939)
Backed out changeset 4f538e6c6dcc (bug 1595964)
Backed out changeset d1c93f700b8c (bug 1595964)
2019-12-07 20:13:22 +02:00
Ciure Andrei cbb1fe8008 Backed out 4 changesets (bug 1588839) for causing JSWindowActor.cpp failures CLOSED TREE
Backed out changeset 7cfcd0f5da4f (bug 1588839)
Backed out changeset cde41501372a (bug 1588839)
Backed out changeset 65cc1910918c (bug 1588839)
Backed out changeset 2f8b5b48c896 (bug 1588839)
2019-12-07 19:41:36 +02:00
Kris Maglione 56a686929a Bug 1588839 - Part 3: Preserve cross-process async stacks in sendQuery/sendAsyncMessage calls. r=bzbarsky
This makes it much simpler to track down the source of message handler errors
by linking the cross-process caller chains which sent the problematic message.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 18:28:28 +00:00
Kris Maglione 42c0feff20 Bug 1588839 - Part 2: Return the actual rejection value when a sendQuery handler rejects. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D50882

--HG--
extra : moz-landing-system : lando
2019-12-07 05:32:51 +00:00
Kris Maglione 32678cd302 Bug 1588839 - Part 1 - Add helper to allow structured cloning Error/Exception objects. r=bzbarsky
In order to be able to reasonably debug error results from things like
JSWindowActor.sendQuery, we need to be able to clone errors across process
boundaries, so that they can be propagated to the caller that initiated a
query. The standard for the structured clone algorithm does not allow cloning
errors directly, so this patch instead adds a chrome-only wrapper object which
supports structured clone writing, and on reading, automatically decodes to
the error object it wraps. Callers who wish to clone an Error or Exception
object simply need to wrap it in a ClonedErrorHolder before sending.

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

--HG--
extra : moz-landing-system : lando
2019-12-07 04:43:24 +00:00
Brian Hackett d524b22764 Bug 1595964 Part 3 - Update tests for evaluatingWorker, r=asuth.
Differential Revision: https://phabricator.services.mozilla.com/D55893

--HG--
extra : moz-landing-system : lando
2019-12-07 16:14:11 +00:00
Brian Hackett 3d68c74b0e Bug 1596939 Part 1 - Service worker operations should be debuggee runnables, r=asuth.
Depends on D54288

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

--HG--
extra : moz-landing-system : lando
2019-11-22 16:28:56 +00:00
Brian Hackett 2f8d4e8dd9 Bug 1595964 Part 1 - Add nsIServiceWorkerRegistrationInfo.evaluatingWorker, r=asuth.
Differential Revision: https://phabricator.services.mozilla.com/D54286

--HG--
extra : moz-landing-system : lando
2019-12-03 16:55:28 +00:00
Geoff Lankow 7d3ac5d498 Bug 1600545 - add back some includes needed to un-bust comm-central. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D56294

--HG--
extra : moz-landing-system : lando
2019-12-07 10:26:56 +00:00
Jon Coppeard c64814f433 Bug 1600565 - Fix changes to CCRunnerFired made during previous refactoring r=mccr8
One thing I inadvertantly changed was that didDoWork gets set to true even if we don't call FireForgetSkippable and execute what was the third branch of the if statement:

https://searchfox.org/mozilla-central/rev/883d58bccf1a36465ef5ee14b62db0a9925ab85b/dom/base/nsJSEnvironment.cpp#1878-1883

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

--HG--
extra : moz-landing-system : lando
2019-12-05 18:14:12 +00:00