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

90152 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione 6dfb63c750 Bug 1582832: Part 3 - Correctly handle windowless BCs created for printing. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D61006

--HG--
extra : moz-landing-system : lando
2020-02-06 19:08:06 +00:00
Kris Maglione 44fded86b2 Bug 1582832: Part 2 - Don't attach a BrowsingContext before a FrameLoader is initialized. r=nika
There are cases where the initial BrowsingContext that we create for a
FrameLoader will never have a DocShell created for it. In the particular case
when the frame it belongs to is part of an inactive document, trying to
eagerly attach the BrowsingContext ends up attaching it as an active child of
its parent BrowsingContext, when it should be either cached or detached. Which
causes no end of problems.

This patch delays attaching the BrowsingContext until the FrameLoader is
initialized, which solves most of these problems.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 19:08:04 +00:00
Kris Maglione 1722817403 Bug 1582832: Part 1 - Make FrameLoader owner rather than DocShell responsible for discarding a BC. r=nika
There are all sorts of lifecycle issues which arise from making DocShell
responsible for discarding BrowsingContexts. In this particular bug, we tend
to run into them in cases where we create a BrowsingContext for a FrameLoader,
and then never create a DocShell for it, leading to it never being destroyed.
But there are myriad other issues as well.

This patch moves the responsibility for BrowsingContext lifecycle management
to the FrameLoader/FrameLoaderOwner, rather than the DocShell, which makes
things more consistent, and more closely aligns with spec-defined behavior.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 19:07:56 +00:00
Boris Zbarsky eb44d8db75 Bug 1612529. document.open should clear form state from the SHEntry. r=smaug
Otherwise we're using state from the pre-open document for whatever content is
being written, which is not likely to be right.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 17:49:44 +00:00
Boris Zbarsky 646b3f7e6a Backed out changeset ec4e3e080c1c because it introduces linting failures.
MANUAL PUSH: fast backout
2020-02-06 12:44:12 -05:00
Boris Zbarsky accf242db9 Bug 1612529. document.open should clear form state from the SHEntry. r=smaug
Otherwise we're using state from the pre-open document for whatever content is
being written, which is not likely to be right.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 17:29:20 +00:00
Christian Holler 6b86d4786b Bug 1606813 - Disable broken test_tcp_control_channel.js. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D61848

--HG--
extra : moz-landing-system : lando
2020-02-06 17:01:09 +00:00
Brad Werth b02c5d2f93 Bug 1523853: Change a mousewheel test to wait on the outcome, not the trigger. r=kats
This change improves the intermittency of the test, but does not provably
eliminate it. The code comment in the relevant section gives the rationale.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 15:16:05 +00:00
Emilio Cobos Álvarez 69c87f6cb2 Bug 1613349 - Rename nsINode::DeleteProperty to RemoveProperty. r=smaug
And the related methods as well.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 16:06:49 +00:00
Emilio Cobos Álvarez 86ca3370c2 Bug 1613349 - Rename nsINode::UnsetProperty to nsINode::TakeProperty. r=smaug
For consistency with the previous change for layout.

Depends on D61755

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

--HG--
extra : moz-landing-system : lando
2020-02-05 22:26:20 +00:00
Byron Campen [:bwc] d3821d2343 Bug 1591199: Test suppressions for some of the android-hw jobs. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D61265

--HG--
extra : moz-landing-system : lando
2020-02-06 15:51:53 +00:00
Byron Campen [:bwc] 4d3a18f5ff Bug 1591199: Use correct time-base for rtcp stats comparison. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D59519

--HG--
extra : moz-landing-system : lando
2020-02-06 15:50:45 +00:00
Byron Campen [:bwc] a029828313 Bug 1591199: Reduce redundant code. r=mjf,smaug
Differential Revision: https://phabricator.services.mozilla.com/D56404

--HG--
extra : moz-landing-system : lando
2020-02-06 15:50:03 +00:00
Byron Campen [:bwc] fb466ae3cb Bug 1591199: Queue updates to pending/current descriptions. r=mjf,jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D56403

--HG--
extra : moz-landing-system : lando
2020-02-06 15:49:50 +00:00
Byron Campen [:bwc] 22ce5b76ec Bug 1591199: In these mochitests, reset the ICE candidate handler _before_ making changes that will restart ICE gathering. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D56401

--HG--
extra : moz-landing-system : lando
2020-02-06 15:49:24 +00:00
Byron Campen [:bwc] 4d1b83e582 Bug 1591199: Make this test-case less racy, and a little more modern. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D56400

--HG--
extra : moz-landing-system : lando
2020-02-06 15:49:17 +00:00
Byron Campen [:bwc] 8ff7879082 Bug 1591199: In the mochitest harness, shut off trickle candidates before sRD(rollback) to prevent them from slipping through afterward. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D56399

--HG--
extra : moz-landing-system : lando
2020-02-06 15:49:09 +00:00
Byron Campen [:bwc] a5258e0655 Bug 1591199: Update tests to no longer expect a signalingstatechange event when the PC is closed. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D56398

--HG--
extra : moz-landing-system : lando
2020-02-06 15:49:07 +00:00
Byron Campen [:bwc] cc8b304d22 Bug 1591199: Task queueing fixes in c++ r=jib
Differential Revision: https://phabricator.services.mozilla.com/D56395

--HG--
extra : moz-landing-system : lando
2020-02-06 15:49:05 +00:00
Andrea Marchesini c0a0edd822 Bug 1612570 - Add promise support to worklet, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61406

--HG--
extra : moz-landing-system : lando
2020-02-06 13:54:19 +00:00
Andrea Marchesini f41dda9dcc Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 13 - No assertion in nsGlobalWindowInner::CrossOriginIsolated, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61595

--HG--
extra : moz-landing-system : lando
2020-02-06 13:53:42 +00:00
Andrea Marchesini 9cdc95bae1 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 10 - split test_postMessages.html, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61503

--HG--
rename : dom/base/test/test_postMessages.html => dom/base/test/common_postMessages.js
rename : dom/base/test/test_postMessages.html => dom/base/test/test_postMessages_broadcastChannel.html
rename : dom/base/test/test_postMessages.html => dom/base/test/test_postMessages_messagePort.html
rename : dom/base/test/test_postMessages.html => dom/base/test/test_postMessages_window.html
rename : dom/base/test/test_postMessages.html => dom/base/test/test_postMessages_workers.html
extra : moz-landing-system : lando
2020-02-06 13:52:03 +00:00
Andrea Marchesini 9f5349f07e Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 9 - tests for messageerrors, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61307

--HG--
extra : moz-landing-system : lando
2020-02-06 13:51:30 +00:00
Andrea Marchesini d59cd20bc8 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 8 - usage of IsSharedMemoryAllowed, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61278

--HG--
extra : moz-landing-system : lando
2020-02-06 13:51:07 +00:00
Andrea Marchesini 1edd5d228f Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 7 - nsIGlobalObject::IsSharedMemoryAllowed(), r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61277

--HG--
extra : moz-landing-system : lando
2020-02-06 13:50:11 +00:00
Andrea Marchesini 8220fd1ad9 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 6 - CloneDataPolicy.allowSharedMemoryObjects(), r=sfink,smaug
Differential Revision: https://phabricator.services.mozilla.com/D61276

--HG--
extra : moz-landing-system : lando
2020-02-06 13:49:28 +00:00
Andrea Marchesini 5ee8116920 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 5 - more tests, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61187

--HG--
extra : moz-landing-system : lando
2020-02-06 13:48:30 +00:00
Andrea Marchesini 3ea0389cd5 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 4 - tests, r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D61137

--HG--
extra : moz-landing-system : lando
2020-02-06 13:47:47 +00:00
Andrea Marchesini 8b2679f24b Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 3 - update the scope after a writing, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61183

--HG--
extra : moz-landing-system : lando
2020-02-06 13:47:08 +00:00
Andrea Marchesini b13b3b72d2 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 2 - CloneDataPolicy in writing, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61182

--HG--
extra : moz-landing-system : lando
2020-02-06 13:46:25 +00:00
Andrea Marchesini 175bac3a30 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 1, r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D61136

--HG--
extra : moz-landing-system : lando
2020-02-06 13:45:47 +00:00
Narcis Beleuzu f7c0c56918 Backed out changeset 5d69fddf45db (bug 1612570) for failing dom/worklet/tests/test_promise.html after bug 1611855 got backed out. CLOSED TREE
--HG--
extra : amend_source : acbba0ec52bc1fe7a262380dc790ff8f3c4bc838
2020-02-06 14:37:36 +02:00
Narcis Beleuzu d259fe38d8 Backed out 13 changesets (bug 1611855) for wpt failures on /audioworklet-postmessage-sharedarraybuffer.https.html . CLOSED TREE
Backed out changeset 2b661d588f96 (bug 1611855)
Backed out changeset 16094fc92bc9 (bug 1611855)
Backed out changeset 3f89bbcaff92 (bug 1611855)
Backed out changeset a906501b6d92 (bug 1611855)
Backed out changeset 54738b88425d (bug 1611855)
Backed out changeset d27de910a6c0 (bug 1611855)
Backed out changeset 261902f6336d (bug 1611855)
Backed out changeset 380d83b61e62 (bug 1611855)
Backed out changeset 39aac60ebf5e (bug 1611855)
Backed out changeset 5ea099787376 (bug 1611855)
Backed out changeset d0f58871f838 (bug 1611855)
Backed out changeset e1be102310a9 (bug 1611855)
Backed out changeset 633357835540 (bug 1611855)

--HG--
rename : dom/base/test/test_postMessages_workers.html => dom/base/test/test_postMessages.html
2020-02-06 12:31:36 +02:00
Edgar Chen 61c05e98b7 Bug 1613383 - Remove dom/events/test/pointerevents/test_empty_file.html; r=masayuki
This dummy test was added in bug 1000870 where all tests in the manifest had a
support-files attribute, then we hit bug 1150091. Currently, there are other
tests that get assigned DEFAULT, so we could just remove this dummy test.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 03:33:27 +00:00
Paul Adenot 47ac808688 Bug 1569809 - Update AudioWorkletNodeOptions.processorOptions to not be nullable. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D61715

--HG--
extra : moz-landing-system : lando
2020-02-05 19:20:09 +00:00
Paul Adenot 227468453f Bug 1569809 - Remove AudioNodeOptions from the ctor of AudioWorkletProcessor. r=baku
This was changed in https://github.com/WebAudio/web-audio-api/issues/2044

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

--HG--
extra : moz-landing-system : lando
2020-02-05 19:21:15 +00:00
Andrea Marchesini 7a5ddf5fb4 Bug 1612570 - Add promise support to worklet, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61406

--HG--
extra : moz-landing-system : lando
2020-02-05 22:16:21 +00:00
Andrea Marchesini 6e181f9551 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 13 - No assertion in nsGlobalWindowInner::CrossOriginIsolated, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61595

--HG--
extra : moz-landing-system : lando
2020-02-05 22:16:21 +00:00
Andrea Marchesini d6faf548b2 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 10 - split test_postMessages.html, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61503

--HG--
rename : dom/base/test/test_postMessages.html => dom/base/test/common_postMessages.js
rename : dom/base/test/test_postMessages.html => dom/base/test/test_postMessages_broadcastChannel.html
rename : dom/base/test/test_postMessages.html => dom/base/test/test_postMessages_messagePort.html
rename : dom/base/test/test_postMessages.html => dom/base/test/test_postMessages_window.html
rename : dom/base/test/test_postMessages.html => dom/base/test/test_postMessages_workers.html
extra : moz-landing-system : lando
2020-02-05 22:10:52 +00:00
Andrea Marchesini 328568c1cf Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 9 - tests for messageerrors, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61307

--HG--
extra : moz-landing-system : lando
2020-02-05 22:16:21 +00:00
Andrea Marchesini 26f3b64e1d Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 8 - usage of IsSharedMemoryAllowed, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61278

--HG--
extra : moz-landing-system : lando
2020-02-05 22:10:17 +00:00
Andrea Marchesini db7085724d Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 7 - nsIGlobalObject::IsSharedMemoryAllowed(), r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61277

--HG--
extra : moz-landing-system : lando
2020-02-05 22:09:44 +00:00
Andrea Marchesini f110ab6849 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 6 - CloneDataPolicy.allowSharedMemoryObjects(), r=sfink,smaug
Differential Revision: https://phabricator.services.mozilla.com/D61276

--HG--
extra : moz-landing-system : lando
2020-02-05 22:19:21 +00:00
Andrea Marchesini e23b403e32 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 5 - more tests, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61187

--HG--
extra : moz-landing-system : lando
2020-02-05 22:08:46 +00:00
Andrea Marchesini f8ed0cd543 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 4 - tests, r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D61137

--HG--
extra : moz-landing-system : lando
2020-02-05 22:08:41 +00:00
Andrea Marchesini 94658a20fe Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 3 - update the scope after a writing, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61183

--HG--
extra : moz-landing-system : lando
2020-02-05 22:08:39 +00:00
Andrea Marchesini 87b1a8a547 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 2 - CloneDataPolicy in writing, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61182

--HG--
extra : moz-landing-system : lando
2020-02-05 22:07:34 +00:00
Andrea Marchesini 2106c7dcda Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 1, r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D61136

--HG--
extra : moz-landing-system : lando
2020-02-05 22:07:04 +00:00
Toshihito Kikuchi 32af0d4b6b Bug 1606898 - Allow RDD process to collect the third-party-module ping. r=aklotz
`Telemetry::CanRecordReleaseData()` always returns false in the RDD process.  This
behavior prevents the RDD process from collecting the third-party-module ping.
This patch moves `CanRecordReleaseData()` to `RDDChild::Init()`.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 05:53:19 +00:00
Sylvestre Ledru a3339f89c0 Bug 1613395 - Disable gcc -Wattributes on some thirdparty media code r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D61698

--HG--
extra : moz-landing-system : lando
2020-02-05 18:39:58 +00:00