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

95314 Коммитов

Автор SHA1 Сообщение Дата
Olli Pettay b4c699ff11 Bug 1658280 - nsISHEntry.scrollRestorationIsManual setter for session-history-in-parent, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D86547
2020-08-13 23:17:48 +00:00
Olli Pettay 33a7c472fa Bug 1657757 - nsISHEntry.title setter for session-history-in-parent, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D86275
2020-08-13 23:38:36 +00:00
Kris Maglione 05de051e4a Bug 1650257: Also set NewWindowBCIsTop annotation in parent. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D87111
2020-08-14 19:16:45 +00:00
Matt Woodrow 31280579ce Bug 1656818 - Remove unnecessary copy from CanvasRenderingContext2D::DrawWindow. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D86894
2020-08-14 01:25:12 +00:00
Bogdan Tara 694be205aa Backed out 4 changesets (bug 1658878) for blob related leaks CLOSED TREE
Backed out changeset 0288ef9ab65b (bug 1658878)
Backed out changeset a5af0e097560 (bug 1658878)
Backed out changeset 33c4b81f99a1 (bug 1658878)
Backed out changeset 16a33c7b4ff3 (bug 1658878)
2020-08-14 22:41:05 +03:00
Andrea Marchesini a4f8193237 Bug 1658878 - Isolate BlobURLs per agent-cluster - cleanup remove method, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D87059
2020-08-14 17:39:26 +00:00
Andrea Marchesini 8d8dfa8e36 Bug 1658878 - Isolate BlobURLs per agent-cluster - pref, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86968
2020-08-14 17:39:14 +00:00
Andrea Marchesini 3ba2ef34df Bug 1658878 - Isolate BlobURLs per agent-cluster - tests, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86915
2020-08-14 16:59:42 +00:00
Andrea Marchesini 91ce718928 Bug 1658878 - Isolate BlobURLs per agent-cluster, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86914
2020-08-14 16:59:44 +00:00
Olli Pettay cadcd14bc8 Bug 1656996 - Ensure cross-process session history navigations update child process side index and length, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D85789
2020-08-14 13:05:25 +00:00
Mihai Alexandru Michis 33c1daa575 Backed out 4 changesets (bug 1658878) for causing failures in browser_blobURLIsolation.js
CLOSED TREE

Backed out changeset f69f80e5659f (bug 1658878)
Backed out changeset 20401a2adaa6 (bug 1658878)
Backed out changeset a8620aecc29f (bug 1658878)
Backed out changeset 3609760c1e5d (bug 1658878)
2020-08-14 19:55:25 +03:00
Mihai Alexandru Michis fb644eda26 Backed out changeset 5838f8b581ed (bug 1647536) for causing failures in browser_active_mediasession_among_tabs.js
CLOSED TREE
2020-08-14 19:42:51 +03:00
Emilio Cobos Álvarez 4af1306128 Bug 1658469 - Don't clone UA widgets for printing. r=smaug
We run the widget initialization code regardless on bind, and some of it
doesn't deal with shadow roots being already populated.

Differential Revision: https://phabricator.services.mozilla.com/D86952
2020-08-14 16:27:49 +00:00
Kris Maglione 9bbcae0e83 Bug 1658214: Only construct JS-implemented objects if inner window is current. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D86614
2020-08-14 16:02:25 +00:00
Andrea Marchesini 0920dd26fe Bug 1658878 - Isolate BlobURLs per agent-cluster - cleanup remove method, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D87059
2020-08-14 15:57:45 +00:00
Andrea Marchesini 2175d60f4a Bug 1658878 - Isolate BlobURLs per agent-cluster - pref, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86968
2020-08-14 15:57:02 +00:00
Andrea Marchesini b40d7a83c4 Bug 1658878 - Isolate BlobURLs per agent-cluster - tests, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86915
2020-08-14 15:57:02 +00:00
Andrea Marchesini 5c2811edd6 Bug 1658878 - Isolate BlobURLs per agent-cluster, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86914
2020-08-14 10:41:22 +00:00
Mihai Alexandru Michis 96d8ee8908 Backed out changeset 6b495a62f535 (bug 1658594) for causing failures in test_cors_mixedcontent.html
CLOSED TREE
2020-08-14 18:43:43 +03:00
Chris Fronk 8770c8a332 Bug 1647536 - Support ref counted pointers in nsDeque r=froydnj
Adds a new specialization of nsDeque, nsRefPtrDeque for use with
reference counted pointers.

Differential Revision: https://phabricator.services.mozilla.com/D84766
2020-08-14 15:19:48 +00:00
Randell Jesup d5ce42c5b4 Bug 1654926: don't add dead processes to the preallocated process cache r=nika
Differential Revision: https://phabricator.services.mozilla.com/D84755
2020-08-14 14:53:41 +00:00
julianwels e1d3e25de2 Bug 1658594: Simplified HTTPS-Only checks for CORS and mixed content r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D86820
2020-08-14 14:49:02 +00:00
Edgar Chen 6256b5b4f1 Bug 1653457 - Enable dom/events/test/test_bug1581192.html on fission and cross-origin; r=smaug DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D87066
2020-08-14 14:14:32 +00:00
Edgar Chen a491e273c6 Bug 1653457 - Enable dom/events/test/pointerevents/test_touch_action.html on fission and cross-origin; r=smaug DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D87065
2020-08-14 14:08:22 +00:00
Adam Vandolder c9aad0c1b1 Bug 1435826 - Add pref for private methods. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D86556
2020-08-14 14:11:02 +00:00
Kagami Sascha Rosylight 3742a0a9e0 Bug 1659028 - Move IsDisabled() from nsGeneralHTMLElement to Element r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D87022
2020-08-14 08:36:36 +00:00
Mike Hommey 72d73d8d4e Bug 1659077 - Don't use -suffixed symbols on arm64 mac. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D87060
2020-08-14 11:30:46 +00:00
Farooq AR 939092e602 Bug 1387355 - EventSource: ignore IDs with U+0000. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D85610
2020-08-13 07:54:15 +00:00
Mihai Alexandru Michis 073a6cee86 Bug 1654657 - Fix bustages caused by the backout of Bug 1200896 and conflicting changes to NotifyFullScreenChangedForMediaElement. a=bustage-fix
CLOSED TREE
2020-08-14 09:36:29 +03:00
Mihai Alexandru Michis fc1c9759fc Backed out 3 changesets (Bug 1200896) for causing Bug 1659042.
CLOSED TREE

Backed out changeset 17df14f0b129 (bug 1200896)
Backed out changeset 5d9e9bd12cd2 (bug 1200896)
Backed out changeset 7f016de8d52f (bug 1200896)
2020-08-14 09:06:45 +03:00
Christoph Kerschbaumer 085e06de67 Bug 1658265: HTTPS-Only - Simplify LogMessage and exempt certain loads from being logged to the console. r=JulianWels
Differential Revision: https://phabricator.services.mozilla.com/D86918
2020-08-14 00:22:59 +00:00
alwu 5a98feea06 Bug 1658075 - part2 : use testing functions from 'MediaControlService'. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D86621
2020-08-14 01:31:49 +00:00
alwu 923ecc4e6a Bug 1658075 - part1 : move testing functions to new namespace 'MediaControlService'. r=smaug,chunmin
Create a new namespace `MediaControlService` to use those helper functions which is used to get the main controller related status.

Then, move those functions from `ChromeUtils` to `MediaControlService`, which give us two benefit. The first is that we can remove redudant test-only enum `MediaSessionPlaybackTestState`, the second is a pref-required work for bug1656398, to fix the build order error when exposing `MediaSessionPlaybackState` in the media controller's webidl.

Differential Revision: https://phabricator.services.mozilla.com/D86620
2020-08-14 01:32:10 +00:00
alwu 324562e846 Bug 1657682 - part3 : add a test case for page with empty title. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D86248
2020-08-14 01:32:11 +00:00
alwu fa8a664764 Bug 1657682 - part2 : use a fixed sentence for default title. r=chunmin
Considering the possibility to have l10n, the default title should be fixed.

Differential Revision: https://phabricator.services.mozilla.com/D86247
2020-08-13 18:44:22 +00:00
alwu a86c49b257 Bug 1657682 - part1 : default title should not be empty. r=chunmin
When document's title is empty, we would use the default title as well in order to prevent showing nothing on the virtual control interface.

Differential Revision: https://phabricator.services.mozilla.com/D86246
2020-08-14 01:44:28 +00:00
alwu 917df3ddbb Bug 1656642 - part2 : prevent to start controller for non-playable media even if it enters fullscreen/PIP mode. r=chunmin
When a media without src or with error enters fullscreen or PIP mode, we don't want to control it. Therefore, we shouldn't start the listener for it.

In addition, updating PIP/fullscreen state no matter the listener starts or not. See following example.

1. Play a media and it enter PIP/fullscreen (it would update `state=true`)
2. abort the current src (that would stop the listener)
3. leave PIP/fullscreen (in this case, we don't have src, so the listener won't start, but we still need to update the `state` to `false`)

Differential Revision: https://phabricator.services.mozilla.com/D85785
2020-08-13 19:16:18 +00:00
alwu 4b67a9b41d Bug 1656642 - part1 : add test to ensure no src media and media with error won't activate media controller even if they enters PIP or fullscreen. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D85784
2020-08-07 05:17:35 +00:00
alwu 9fd2c32518 Bug 1654657 - part8 : add test cases to ensure non-eligible media can be controlled when it enters fullscreen or PIP mode. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D85640
2020-08-06 21:37:07 +00:00
alwu 31d53cc484 Bug 1654657 - part7 : add test cases for choosing main controller. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D85639
2020-08-07 05:07:07 +00:00
alwu ddc630d8b2 Bug 1654657 - part6 : refine the logic of requesting main controller. r=chunmin
Implement `ForceToBecomeMainControllerIfNeeded()` to refine the process of activating controller and requesting to become a main controller.

Differential Revision: https://phabricator.services.mozilla.com/D85518
2020-08-06 21:37:02 +00:00
alwu b57d06ab50 Bug 1654657 - part5 : request to become a main controller when controller enters fullscreen. r=chunmin
Rename `NotifyControllerBeingUsedInPictureInPictureMode()` to `RequestUpdateMainController()` and call that method when a controller enters fullscreen.

Differential Revision: https://phabricator.services.mozilla.com/D85517
2020-08-06 21:37:00 +00:00
alwu a731020d84 Bug 1654657 - part4 : test 'NotifyMediaFullScreenState()' in gTest. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D85516
2020-08-06 21:36:53 +00:00
alwu 1355eeaea6 Bug 1654657 - part3 : remove unused function 'IsInPictureInPictureMode()'. r=chunmin
After applying D85514, no one is using this function, so we can remove it.

Differential Revision: https://phabricator.services.mozilla.com/D85515
2020-08-06 21:36:50 +00:00
alwu 1fac39ad53 Bug 1654657 - part2 : treat media controller being used in fullscreen as same as the one being used in PIP mode. r=chunmin
Treat media controller being used in fullscreen as same as the one being used in PIP mode, so it won't be replaced by other normal controller if it's already a main controller.

Comparing with a normal controller, a controller being used in PIP/fullscreen should have a higher priority to become a main controller.

In addition, renaming `IsMediaBeingUsedInPIPModeOrFullScreen()` to `IsBeingUsedInPIPModeOrFullscreen()`.

Differential Revision: https://phabricator.services.mozilla.com/D85514
2020-08-13 22:13:53 +00:00
alwu 5643c8a32f Bug 1654657 - part1 : update fullscreen change in media element. r=chunmin
Calling `NotifyMediaFullScreenState()` is related with updating state on media controller, which is only used for media element. So it'd  be better to move that into media element.

Differential Revision: https://phabricator.services.mozilla.com/D85513
2020-08-14 01:23:28 +00:00
Noemi Erli 9858638fe8 Backed out 2 changesets (bug 1657757, bug 1658280) for causing build bustages in nsDocShell.cpp CLOSED TREE
Backed out changeset 0f03a74f24a5 (bug 1658280)
Backed out changeset 3aaeea6bd201 (bug 1657757)
2020-08-14 02:12:48 +03:00
Noemi Erli b7c6d9d228 Backed out changeset 404955e976d6 (bug 1658454) for causing build bustages in nsDocShell.cpp CLOSED TREE 2020-08-14 01:30:50 +03:00
Csoregi Natalia 36ac6c5cca Backed out 2 changesets (bug 1656997, bug 1656996) for fission failures on browser_preferences_usage.js. CLOSED TREE
Backed out changeset c3aaa4f191e6 (bug 1656997)
Backed out changeset e41977f9608f (bug 1656996)
2020-08-14 00:47:56 +03:00
Olli Pettay 510e721d9e Bug 1658454 - nsISHEntry.cacheKey setter for session-history-in-parent, r=peterv
SessionHistoryEntry::MaybeSynchronizeSharedStateToInfo call is a tad controversial, but
something like that is needed for the cases when the actual value lives in the SHEntrySharedParentState.

Differential Revision: https://phabricator.services.mozilla.com/D86640
2020-08-13 19:18:29 +00:00