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

87484 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 1fd1ce7882 Bug 1587922 - Remove the remnants of the showModalDialog code; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D48892

--HG--
extra : moz-landing-system : lando
2019-10-10 22:59:28 +00:00
Edgar Chen 5d70bb26af Bug 1587801 - Rewrite test_bug260264.html to use async/await; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D48848

--HG--
extra : moz-landing-system : lando
2019-10-10 15:13:01 +00:00
Edgar Chen 2ff9c5e0b4 Bug 1587801 - Rewrite test_bug260264.html to use add_task(); r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D48846

--HG--
extra : moz-landing-system : lando
2019-10-10 14:35:55 +00:00
Emilio Cobos Álvarez db6212cd4a Bug 1587599 - Remove some dead/useless code in nsAttrValue. r=bzbarsky
A forward declaration right before a definition is useless, and
ParseLazyURIValue is not implemented.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 19:02:14 +00:00
Oana Pop Rus b7d78b54e2 Backed out 3 changesets (bug 1580602) for eslint in test_setactionhandler.html on a CLOSED TREE
Backed out changeset b4a5a6bc1d56 (bug 1580602)
Backed out changeset e70e3c090791 (bug 1580602)
Backed out changeset 2c90724f42fc (bug 1580602)
2019-10-10 22:14:48 +03:00
Chun-Min Chang 133cf491bb Bug 1580602 - P3: Implement setActionHandler API. r=bz
Implement the setActionHandler interface. The API will be enabled behind
a pref.

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

Depends on D45457

--HG--
extra : histedit_source : 43cf16795b27126a96441b117c9bbfdf2aea6aa9
2019-10-09 23:59:54 +03:00
Chun-Min Chang ba9959f768 Bug 1580602 - P2: Implement MediaMetadata API. r=bz
Implement the MediaMetadata interface. The API will be enabled behind a
pref.

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

Depends on D45456

--HG--
extra : histedit_source : a572d4abe88c2b4cd8c03a0fadc6c7b30a8c8798
2019-10-09 23:59:50 +03:00
Chun-Min Chang 00c83a8573 Bug 1580602 - P1: Implement a blank MediaSession interface. r=bz
Create dummy implementations for the MediaSession interfaces. The files
are generated by running `./mach webidl-example` with necessary changes
to make it buildable.

The internal implementations are blank in this patch. They will be done
in the following patches.

Due to some spec issues, the final implementations only support some
basic operations like "play" and "pause".

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

--HG--
extra : histedit_source : 2fc6e1e63347211cad3a19354a38040760c7ce0f
2019-10-10 00:14:49 +03:00
Jan Varga 9dd55053d6 Bug 1587258 - QM: Add support for creating specialized directory locks from existing directory locks; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D48657

--HG--
extra : moz-landing-system : lando
2019-10-10 14:55:53 +00:00
Ehsan Akhgari ff268df84b Bug 1546112 - Remove the code for XMLDocument.load/async; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D48877

--HG--
extra : moz-landing-system : lando
2019-10-10 18:20:34 +00:00
Andreas Pehrson 7064471d78 Bug 1586328 - Make Extract take an aNow argument to avoid pushing a blob the very first call. r=bryce
The first call to Extract() comes from MediaEncoderInitialized() and runs before
we dispatch the task to fire "start". With a very small timeslice (even 0), the
first call to Extract() could decide to push a blob, which is against the spec.

With this patch, the caller is in control of what time Extract() thinks "now"
is. This lets the particular call from MediaEncoderInitialized() gather data
into the blob through Extract() without being at risk of pushing a blob.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 16:24:56 +00:00
Ehsan Akhgari 8d1f83f075 Bug 1587806 - Remove Document.loadBindingDocument; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D48849

--HG--
extra : moz-landing-system : lando
2019-10-10 14:21:28 +00:00
Emilio Cobos Álvarez ca0bd9ef74 Bug 1587767 - Assert that link flag handling is correct, and that NodeInfoChanged is only called on disconnected nodes. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D48830

--HG--
extra : moz-landing-system : lando
2019-10-10 15:39:20 +00:00
Emilio Cobos Álvarez 3c4c6733b5 Bug 1587797 - Simplify FlushPendingLinkUpdates. r=smaug
It's only called from a runnable nowadays.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 14:29:18 +00:00
Daniel Varga b285b016fb Backed out changeset 3a52a67311e2 (bug 1580602) to reland with part2 and part3 2019-10-10 10:22:51 +03:00
Chun-Min Chang 8f0d0a884e Bug 1580602 - P1: Implement a blank MediaSession interface. r=bzbarsky
Create dummy implementations for the MediaSession interfaces. The files
are generated by running `./mach webidl-example` with necessary changes
to make it buildable.

The internal implementations are blank in this patch. They will be done
in the following patches.

Due to some spec issues, the final implementations only support some
basic operations like "play" and "pause".

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

--HG--
extra : moz-landing-system : lando
2019-10-09 21:14:49 +00:00
John Lin 1bc3a5e9be Bug 1509316 - p4: disable HW codec in WebRTC tests. r=pehrsons,drno
Differential Revision: https://phabricator.services.mozilla.com/D47713

--HG--
extra : moz-landing-system : lando
2019-10-09 23:15:56 +00:00
John Lin a7677ba80a Bug 1509316 - p3: transfer image ownership when constructing VideoData. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D45773

--HG--
extra : moz-landing-system : lando
2019-10-09 23:08:31 +00:00
John Lin aeb8b64dbe Bug 1509316 - p1: move composite listening out of VideoData/VideoSink. r=jya,mattwoodrow
On Android, decoded buffers need to be send back to MediaCodec in order to be
rendered and/or recycled. The current mechanism introduced in bug 1299068 only
works for playback(VideoData/VideoSink) but not WebRTC(VideoFrame/VideoOutput).
Move the callback to SurfaceTextureImage because VideoData and VideoFrame both
own that when using MediaCodec, and move the notification to VideoFrameContainer
for both VideoSink and VideoOutput pass frames there for compositing.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 23:08:12 +00:00
Nazım Can Altınova 2e832289ac Bug 1512500 - Record parent page information in profiler r=gerald,nika
Differential Revision: https://phabricator.services.mozilla.com/D47426

--HG--
extra : moz-landing-system : lando
2019-10-09 21:25:19 +00:00
Nazım Can Altınova bbc7701155 Bug 1583271 - Part 2: Add the registration/unregistration parts for profiler page info r=nika
See the first patch's commit message to learn why we had to change the
PageInformation's IDs to BrowsingContextID and InnerWindowID.
Previously we were registering profiler PageInformation in the nsDocShell
methods. That was not the correct place to handle page loads correctly. That's
why we had to move the registration to WindowGlobalChild::SetDocumentURI and
WindowGlobalChild::ActorDestroy. In those functions we are sure that each
document URIs will come here only once.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 20:57:51 +00:00
Nazım Can Altınova 20fc64e558 Bug 1583271 - Part 1: Change profiler page information IDs to BrowsingContextID and InnerWindowID r=gerald,nika
We were keeping nsDocShell::mHistoryId and nsDocShell::mOSHE as keys. They
weren't quite good because:
1. While loading an iframe, they were being registered twice with the same
ids(for about:blank and the real URL) sometimes.
2. It wasn't possible to access to the parent mHistoryId and mOSHE from a child
processes if the parent is in a different process. That may not be the case for
now, but it will be after fission.
So we had to find other IDs to:
1. Determine the Tab of the frames.
2. Determine the URLs of the frames.
For the first use case, we were using nsDocShell::mHistoryId for that purpose
but that was wrong. The closest thing that we can get to a tab ID is
BrowsingContext ID because they don't change after a navigation. But iframes
have different BrowsingContext's, so we still need to create a tree to
construct a tab content. That can be either in the front-end or capture time.
For the second use case, we were using a key pair of mHistoryId and mOSHE. We
now chose to keep inner window IDs for that purpose. Inner window IDs are
unique for each navigation loads because inner window correspond to each JS
window global objects. That's why we can use that without any problem. But one
problem is that we cannot handle `history.pushState` and `history.replaceState`
changes with that change since window global objects won't change during those.
But that was the best thing we can do after fission. So this will be a small
sacrifice for us to keep that functionality working after fission.
In that patch we also remove the registration/unregistration calls. We are
going to add those calls in the next patch.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 21:25:11 +00:00
Simon Giesecke 7e3b8fe633 Bug 1558522 - Ensure that file actors created after the database was closed are expired. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D48046

--HG--
extra : moz-landing-system : lando
2019-10-09 03:21:22 +00:00
Brian Hackett 2ed60fe6f2 Bug 1580168 Part 1 - Add processID and isParent accessors to ProcessMessageManager, r=nika.
Differential Revision: https://phabricator.services.mozilla.com/D48084

--HG--
extra : moz-landing-system : lando
2019-10-09 20:49:28 +00:00
Jon Coppeard 58e4c9be34 Bug 1587378 - Remove TraceCallbacks method that takes raw JSObject pointers r=mccr8
This method turned out to only be used for tracing wrapper cached things. The wrapper cache has its own way of implementing barriers and contains a raw JSObject pointer. Changing this trace method to take an nsWrapperCache pointer (effectively a JSObjct**) enforces correct use of Heap<T> for other TraceCallbacks callers.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 14:34:16 +00:00
Nika Layzell ed104ffa03 Bug 1581925 - Part 1: Capture parent process JSWindowActor events at InProcessBrowserChildMessageManager, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D46864

--HG--
extra : moz-landing-system : lando
2019-10-07 19:35:06 +00:00
Christoph Kerschbaumer ecf163cc61 Bug 1587417: Add about:logo to allowlist of CSP assertion. r=jkt
Differential Revision: https://phabricator.services.mozilla.com/D48703

--HG--
extra : moz-landing-system : lando
2019-10-09 13:33:15 +00:00
Thomas Nguyen e66558e70c Bug 1584787 - Fix incorrect assignment when cloning document. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D47772

--HG--
extra : moz-landing-system : lando
2019-10-04 16:33:34 +00:00
Emilio Cobos Álvarez 68daa729f5 Bug 1585823 - Make ShadowRoot use consistent DOM binding wrapping, and make nsINode::WrapObject final. r=smaug
Looks like an oversight from all the way back to bug 806506.



Depends on D48538

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

--HG--
extra : moz-landing-system : lando
2019-10-09 11:53:24 +00:00
Emilio Cobos Álvarez ce8587c1bc Bug 1585823 - Remove MayNeedToLoadXBLBinding and related code. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D48538

--HG--
extra : moz-landing-system : lando
2019-10-09 11:53:20 +00:00
Marcos Cáceres fbff2e387c Bug 1312422 - Web Share Base/DOM implementation r=farre
Web Share base implementation just of DOM stuff - working together with @saschanaz.

@Baku, we would greatly appreciate your review.

-Nika, as she is traveling.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 10:57:11 +00:00
Gijs Kruitbosch f885567a48 Bug 1586220 - still treat shortcut/modifier keypresses as interaction for the purposes of GCs/timers and so on, just not for the website, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D48623

--HG--
extra : moz-landing-system : lando
2019-10-09 10:39:41 +00:00
Mirko Brodesser 97932aef0b Bug 1587069: slightly simplify `RangeBoundaryBase` constructors. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D48651

--HG--
extra : moz-landing-system : lando
2019-10-09 10:07:46 +00:00
Tim Nguyen 822add064c Bug 1513325 - Remove textbox binding. r=emilio,dao
Differential Revision: https://phabricator.services.mozilla.com/D38955

--HG--
extra : moz-landing-system : lando
2019-10-09 09:27:28 +00:00
Andreas Pehrson cea60bb690 Bug 1586387 - Don't append a device change message to a graph that is going away. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D48553

--HG--
extra : moz-landing-system : lando
2019-10-08 21:39:30 +00:00
John Dai 23aae786e0 Bug 1586779 - Enable dom/tests/mochitest/general/test_interfaces_secureContext.html for fission; r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D48523

--HG--
extra : moz-landing-system : lando
2019-10-08 19:46:50 +00:00
Brindusan Cristian ef3c975bc9 Backed out 11 changesets (bug 1578624) for build bustages. CLOSED TREE
Backed out changeset b22733eb880f (bug 1578624)
Backed out changeset cb5e15489635 (bug 1578624)
Backed out changeset f1746b2f9dec (bug 1578624)
Backed out changeset d08a099a22ff (bug 1578624)
Backed out changeset 8ebd563c72a8 (bug 1578624)
Backed out changeset d8bfec2dc9b6 (bug 1578624)
Backed out changeset 591664928bce (bug 1578624)
Backed out changeset 63f5a619b9ef (bug 1578624)
Backed out changeset ff67cc13cdf3 (bug 1578624)
Backed out changeset 43556c937a09 (bug 1578624)
Backed out changeset 49065a55694d (bug 1578624)
2019-10-09 11:50:37 +03:00
Matt Woodrow 4b70f9f830 Bug 1578624 - P11: Add a flag to ask the parent to not actually load the URI when opening a window, since we'll do it ourselves anyway. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47867

--HG--
extra : moz-landing-system : lando
2019-10-09 07:54:45 +00:00
Matt Woodrow 9d3ac3d8bc Bug 1578624 - P10: Update crash reporter's URL annotation when loading a new URI from the parent. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D45485

--HG--
extra : moz-landing-system : lando
2019-10-09 06:37:52 +00:00
Matt Woodrow 31a0796cdc Bug 1578624 - P6: Add LoadURI to BrowsingContext's webidl. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D44762

--HG--
extra : moz-landing-system : lando
2019-10-09 06:37:51 +00:00
Matt Woodrow 44c59ca2d5 Bug 1578624 - P5: Add DisplayLoadError to BrowsingContext. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D44761

--HG--
extra : moz-landing-system : lando
2019-10-09 06:58:34 +00:00
Matt Woodrow a48a476531 Bug 1578624 - P4: Add an option to set mIsNavigating on the docshell when loading using BrowsingContext. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D44760

--HG--
extra : moz-landing-system : lando
2019-10-09 06:37:50 +00:00
Matt Woodrow 2b3ffb9596 Bug 1578624 - P2: Extend nsDocShellLoadState for the extra options needed to describe front end loads. r=kmag,nika
Differential Revision: https://phabricator.services.mozilla.com/D44758

--HG--
extra : moz-landing-system : lando
2019-10-09 06:37:50 +00:00
alwu 6de4865248 Bug 1582802 - part3 : add a basic request and revoke test for audio focus. r=chunmin
We should have a basic test where do a simply request and revoke audio focus for same controller.

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

--HG--
extra : moz-landing-system : lando
2019-10-08 18:38:14 +00:00
alwu a99f11f839 Bug 1582802 - part2 : only run owing multiple audio focus test when we disable audio focus management. r=chunmin
`TestMultipleAudioFocusNums` is used to test whether we can increase the amount of the audio focus when we don't enable audio focus management. As we won't handle the audio competing in this situation, so we allow multiple controllers owing audio focus at the same time.

However, if we enable audio focus management, we would start to handle audio competing and ensure that only one controller can own audio focus at a time. As it involves multiple components, we are not able to test it by simply using `AudioFocusManager`'s APIs.

Therefore, we should have two separate tests to test the behavior of owning audio focus when enabling or disabling audio focus management.

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

--HG--
extra : moz-landing-system : lando
2019-10-08 02:48:13 +00:00
Narcis Beleuzu 8a602174c2 Backed out changeset cd0a4cb33b3c (bug 1578624) for bustages on 2bc84d119d5f . CLOSED TREE 2019-10-09 09:13:03 +03:00
Narcis Beleuzu 3429292547 Backed out 11 changesets (bug 1578624) for bustages on WindowGlobalChild.h . CLOSED TREE
Backed out changeset 478897956ee0 (bug 1578624)
Backed out changeset ab9c09164df0 (bug 1578624)
Backed out changeset f461f10efa46 (bug 1578624)
Backed out changeset 9b958693a003 (bug 1578624)
Backed out changeset 3b8220a15051 (bug 1578624)
Backed out changeset 180407dc57a8 (bug 1578624)
Backed out changeset bb11892e2171 (bug 1578624)
Backed out changeset 4f5c28244290 (bug 1578624)
Backed out changeset 6c02bbe5c1c5 (bug 1578624)
Backed out changeset 1d762fdce921 (bug 1578624)
Backed out changeset 818bc6e20c7d (bug 1578624)

--HG--
extra : histedit_source : ea22e628bf35425402009e9af274602f342a7476
2019-10-09 08:52:25 +03:00
Jean-Yves Avenard 0b3b194e29 Bug 1578624 - P12. Fix rebase error.
Differential Revision: https://phabricator.services.mozilla.com/D48638

--HG--
extra : moz-landing-system : lando
2019-10-09 05:06:42 +00:00
Matt Woodrow d2a7eac05f Bug 1578624 - P11: Add a flag to ask the parent to not actually load the URI when opening a window, since we'll do it ourselves anyway. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47867

--HG--
extra : moz-landing-system : lando
2019-10-03 23:15:19 +00:00
Matt Woodrow 439000d51c Bug 1578624 - P10: Update crash reporter's URL annotation when loading a new URI from the parent. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D45485

--HG--
extra : moz-landing-system : lando
2019-10-04 02:03:15 +00:00