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

87237 Коммитов

Автор SHA1 Сообщение Дата
Johann Hofmann 204f15a778 Bug 1584543 - Make checks for in-content functionality depend on documentURI instead of principal URI. r=ckerschb,Gijs
This is a necessary change that was done for Fluent access in bug 1573276. In almost all cases,
we want to rely on the principal for making security decisions, but the principal does not
store the original URI in cases where an about: page was sandboxed (it becomes a null principal URI),
and thus we need to use the documentURI here.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 12:14:22 +00:00
Tom Tung 2ced189e16 Bug 1577311 - Close the stream if there is a failure during the creation; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D47118

--HG--
extra : moz-landing-system : lando
2019-09-27 21:25:54 +00:00
Jean-Yves Avenard b9de3db7d3 Bug 1584721 - P4. Recycle all ShmemBuffer including for video. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D47556

--HG--
extra : moz-landing-system : lando
2019-10-01 11:28:06 +00:00
Jean-Yves Avenard 14f81f507b Bug 1584721 - P3. Add ability to make ShmemPool dynamic in size. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D47555

--HG--
extra : moz-landing-system : lando
2019-10-01 11:24:49 +00:00
Jean-Yves Avenard 8c0b43cefc Bug 1584721 - P2. Remove the need to explicitly inform child/parent that a Shmem is no longer in use. r=mjf
We can deduct it from the workflow itself.

Also fix potential Shmem leak.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 11:23:25 +00:00
Jean-Yves Avenard 707bb24c13 Bug 1584721 - P1. Add ability to create unsafe shmem with ShmemPool. r=mjf
By default, the remote process takes ownership of a shmem when it's sent over ipc.
Using "unsafe" shmem allows any processes to read/write/deallocate such shmem.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 11:23:22 +00:00
Kershaw Chang 6d782a5e1e Bug 1546185 - Also check mEventDispatchingSuspended to see if we are in sync event loop r=baku
Only useing `mFlagSyncLooping` to check if the current code is in sync event loop is not enough. The crashtest in this patch shows that `mFlagSyncLooping` is set to false in OnStopReequets while we are still in sync event loop.
`mEventDispatchingSuspended` is set to true right before calling `SpinEventLoopUntil` and set to false after, so we should also use it to check if `SpinEventLoopUntil` is finished.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 11:31:43 +00:00
Matt Woodrow f5fb83af9f Bug 1578690 - Only create a new promise in EnsureSource if we didn't already have one. r=perry
Differential Revision: https://phabricator.services.mozilla.com/D47672

--HG--
extra : moz-landing-system : lando
2019-10-01 07:08:53 +00:00
Gabriele Svelto 10d41866a5 Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D47678

--HG--
extra : moz-landing-system : lando
2019-09-30 22:06:47 +00:00
Christoph Kerschbaumer 28f91efa92 Bug 1584992: Make upgrade-insecure-requests work with fission enabled. r=jkt
Differential Revision: https://phabricator.services.mozilla.com/D47650

--HG--
extra : moz-landing-system : lando
2019-09-30 21:33:28 +00:00
Geoff Brown dee3092cdc Bug 1575185 - Skip test_permissions.html on fission; r=mccr8
Avoid high frequency intermittent failure on fission.

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

--HG--
extra : moz-landing-system : lando
2019-09-30 22:40:35 +00:00
Geoff Brown 9726503ed6 Bug 1584471 - Skip test_sanitize_domain.html on fission; r=mccr8
Skip frequently crashing test on fission (it was already marked as failing).

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

--HG--
extra : moz-landing-system : lando
2019-09-30 22:40:35 +00:00
Emma Malysz fffa5382c1 Bug 1385952, Remove usage of Preferences.jsm from PushService and PushServiceWebsocket in order to load preferences before becoming idle r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D45608

--HG--
extra : moz-landing-system : lando
2019-09-27 20:43:48 +00:00
Brian Grinstead 1e13189ecb Bug 1584303 - Replace <xul:textbox> with <html:input> in dom/ipc/test.xul;r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D47330

--HG--
extra : moz-landing-system : lando
2019-09-30 19:31:56 +00:00
Mats Palmgren b15d020bef Bug 1581106 part 3 - [css-grid-2] Implement 'repeat(auto-fill, <line-names>)' in subgridded axis. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D46895

--HG--
extra : moz-landing-system : lando
2019-09-30 17:32:52 +00:00
Geoff Brown d964f2d601 Bug 1584290 - Enable many reftests on Android; r=geckoview-reviewers,snorp
Most of these tests have been disabled for a long time; they run well
in the current test environment.

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

--HG--
extra : moz-landing-system : lando
2019-09-30 16:34:16 +00:00
Michael Froman 0821463d17 Bug 1583986 - add pref to control ffvpx mp3 decoding so we can turn it off if needed. r=bwc,jya
Differential Revision: https://phabricator.services.mozilla.com/D47499

--HG--
extra : moz-landing-system : lando
2019-09-30 14:29:08 +00:00
Cosmin Sabou d695c6d470 Bug 1584967 - Delete fail-if annotation for browser_disableAppcache.js on fission cause now it passes. r=jkt
Differential Revision: https://phabricator.services.mozilla.com/D47604

--HG--
extra : moz-landing-system : lando
2019-09-30 14:12:54 +00:00
Gijs Kruitbosch 9d3748031f Bug 1345830 - don't treat modified / shortcut-like key presses as user input, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D47603

--HG--
extra : moz-landing-system : lando
2019-09-30 14:14:55 +00:00
Cosmin Sabou 18831da819 Backed out changeset 494c7364c544 (bug 1584204) for causing build bustages on nsContentPolicy.cpp. CLOSED TREE 2019-09-30 17:01:30 +03:00
Sebastian Streich 138ad22a77 Bug 1584204 Remove requestingLocation from nsContentPolicy.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D47255

--HG--
extra : moz-landing-system : lando
2019-09-30 13:42:23 +00:00
Cosmin Sabou cb6b4f7b5b Bug 1533759 - Disable test_window_open_close.html on windows64 debug. r=bc
Differential Revision: https://phabricator.services.mozilla.com/D47570

--HG--
extra : moz-landing-system : lando
2019-09-30 13:10:06 +00:00
Gijs Kruitbosch f61b265942 Bug 1255318 - take drop events as indication of user activity, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D47591

--HG--
extra : moz-landing-system : lando
2019-09-30 13:33:59 +00:00
Xidorn Quan 13b7698796 Bug 1567355 - Admit that exiting fullscreen can fail on macOS. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D47525

--HG--
extra : moz-landing-system : lando
2019-09-30 12:35:45 +00:00
Coroiu Cristina 8d842b4aa4 Backed out changeset bda8ceea80d0 (bug 1584204) for build bustage at build/src/dom/base/nsContentPolicy.cpp on a CLOSED TREE 2019-09-30 15:09:45 +03:00
Sebastian Streich 34ccf8ab30 Bug 1584204 Remove requestingLocation from nsContentPolicy.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D47255

--HG--
extra : moz-landing-system : lando
2019-09-30 10:46:27 +00:00
Sebastian Streich c494962b4b Bug 1583932 - Remove aRequestOrigin from nsCSPContext::ShouldLoad r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D47125

--HG--
extra : moz-landing-system : lando
2019-09-30 10:38:32 +00:00
Coroiu Cristina f2d35f8cd3 Backed out 2 changesets (bug 1581067) for xpcshell failures at dom/cache/test/xpcshell/test_empty_directories.js on a CLOSED TREE
Backed out changeset e7a90d8f615d (bug 1581067)
Backed out changeset b7c882c1e3d3 (bug 1581067)
2019-09-30 14:35:01 +03:00
Tom Tung 69798165a4 Bug 1581067 - P4 - Add a test to verify the result; r=asuth
Depends on D47451

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

--HG--
extra : moz-landing-system : lando
2019-09-29 09:39:50 +00:00
Tom Tung 476305dcb0 Bug 1581067 - P3 - Suppress the error reuslt for open stream; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D47451

--HG--
extra : moz-landing-system : lando
2019-09-29 09:30:10 +00:00
Tom Tung 90165c5421 Bug 1584746 - Ignore the failure if file is not exist; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D47539

--HG--
extra : moz-landing-system : lando
2019-09-30 08:06:05 +00:00
Simon Giesecke 470b2174a1 Bug 1168606 - Allow current key to be provided with PBackgroundIDBCursor::Continue. r=ttung,asuth
The key is assumed to be unset for now.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 10:11:41 +00:00
Simon Giesecke bd2e4939bc Bug 1168606 - Remove duplication in uses of IDB_LOG_MARK. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D46576

--HG--
extra : moz-landing-system : lando
2019-09-27 10:11:45 +00:00
Alex Chronopoulos 628dbc7c0a Bug 1584560 - On default settings use the actual device channel count. r=padenot
In `MediaEngineWebRTCMicrophoneSource::EvaluateSettings`, on default settings, the `prefs.mChannels` is updated accordingly. However, it is not used for the calculation of the `FlattenedConstraints`. As a result, the channel count is 0, which is converted to 1, and not the actual device channel count as it should. Thus, the `prefs.mChannels` is used in the calculation of the `FlattenedConstraints`.

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

--HG--
extra : moz-landing-system : lando
2019-09-30 09:15:42 +00:00
Yaron Tausky 6214b585a0 Bug 1577107 - Avoid following the prototype chain r=janv
With this commit we no longer follow the value's prototype chain when
creating index updates in IndexedDB.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 13:36:25 +00:00
DimiL bb84e08de3 Bug 1580416 - P1. Use a different fragment method when the URI is a pairwiseWhitelistedURI. r=Ehsan
This patch does the following to support matching a whitelisted URI when
its domain is eTLD+1:

1. add an URIType to indicate whether a URI is generated by
   UrlClassifierCommoon::CreatePairwiseWhiteListURI(), which crafts a
   whitelist URL like "toplevel.page/?resource=third.party.domain"

2. call LookupCache::GetLookupWhitelistFragments() if URIType is
   nsIUrlClassifierFeature::pairwiseWhitelistedURI before initiating
   a lookup.

3. implement LookupCache::GetLookupWhitelistFragments() which creates
   an additional fragment by removing the leading component of
   third.party.domain

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

--HG--
extra : moz-landing-system : lando
2019-09-27 13:22:18 +00:00
Masayuki Nakano b3450ef1e7 Bug 1583766 - Consider `IMEContentObserver` to send selection change notification when its sender sends a text change notification r=m_kato
The previous change is wrong because the sender shouldn't send selection change
notification if `IMEContentObserver` does not receive text change notifications
nor selection change notifications.

This patch reverts the change in the if block of previous change and instead
sets `IMEContentObserver::mNeedsToNotifyIMEOfSelectionChange` to `true` if
the sender sends a text change notification.  (Note that even if there is
another text change with a mutation event listener, we need to send selection
change notification later so that this must be the right approach.)

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

--HG--
extra : moz-landing-system : lando
2019-09-30 03:59:09 +00:00
longsonr 5d5b232ad8 Bug 1584852 - Convert SVGZoomAndPan to mixin r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D47561

--HG--
extra : moz-landing-system : lando
2019-09-30 02:50:41 +00:00
Jonathan Kingston d6d3522a16 Bug 1237782 - Remove http override and add appcache pref r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44472

--HG--
extra : moz-landing-system : lando
2019-09-30 00:55:02 +00:00
Cosmin Sabou 14938bad3b Backed out 10 changesets (bug 1550108) for causing build bustages on StartupCache.cpp.
Backed out changeset cbadfa2bbd7e (bug 1550108)
Backed out changeset 2560f0ab6ebf (bug 1550108)
Backed out changeset 0a1fa8d8bb3c (bug 1550108)
Backed out changeset 62416909cf67 (bug 1550108)
Backed out changeset 60991713b1e2 (bug 1550108)
Backed out changeset f950e30afd90 (bug 1550108)
Backed out changeset e63d0a1fec38 (bug 1550108)
Backed out changeset 7a009d42e7e7 (bug 1550108)
Backed out changeset 395affa4c205 (bug 1550108)
Backed out changeset 0fd41e9dbd2a (bug 1550108)

--HG--
rename : mfbt/lz4/lz4.c => mfbt/lz4.c
rename : mfbt/lz4/lz4.h => mfbt/lz4.h
2019-09-29 01:14:31 +03:00
Doug Thayer cf2166a011 Bug 1550108 - Eliminate large buffer copies from StartupCache r=froydnj
The signatures were updated in the previous patch to hand us the raw,
uncopied buffers. This just adjusts the callsites to match.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 18:17:13 +00:00
Doug Thayer 076597dbc2 Bug 1550108 - Split out Input/OutputBuffer into their own file r=froydnj
This just splits out the InputBuffer and OutputBuffer helper classes
to make it cleaner for the StartupCache to include them.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 22:15:35 +00:00
Doug Thayer 5f9554635c Bug 1550108 - Avoid decompressing entries just to check if they exist r=kmag
This will not behave exactly the same if we had previously written bad
data for the entry that would fail to decompress. I imagine this is rare
enough, and the consequences are not severe enough, that this should be
fine.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 22:15:01 +00:00
Jean-Yves Avenard 37332976c1 Bug 1582353 - P3. Promisify RDD/GPU remote decoder. r=mattwoodrow,mjf
Differential Revision: https://phabricator.services.mozilla.com/D47040

--HG--
extra : moz-landing-system : lando
2019-09-28 12:17:44 +00:00
Jean-Yves Avenard da5a007438 Bug 1582353 - P2. Remove unused variable. r=mattwoodrow
The MediaResult object isn't used; no need to set a crash timestamp on it.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 08:36:30 +00:00
Jean-Yves Avenard 301e1cb659 Bug 1582353 - P1. Add MediaResult serializer. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D47038

--HG--
extra : moz-landing-system : lando
2019-09-26 14:51:56 +00:00
Tim Nguyen 5c78a8e3de Bug 1582530 - Fix remaining cases that were relying on blockification. r=dao,dholbert
Differential Revision: https://phabricator.services.mozilla.com/D46676

--HG--
extra : moz-landing-system : lando
2019-09-28 00:20:32 +00:00
Boris Zbarsky 44c015a4b0 Bug 1584431 part 4. Use the new length-aware versions of JS_StringEqualsAscii and JS_FlatStringEqualsAscii where possible. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D47393

--HG--
extra : moz-landing-system : lando
2019-09-27 21:25:23 +00:00
Steve Fink 50cb5abc66 Bug 1583684 - Fix some rooting hazards in DOM bindings r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D47020

--HG--
extra : moz-landing-system : lando
2019-09-26 23:50:14 +00:00
Dorel Luca 759e72860c Backed out 2 changesets (bug 1582530) for Creshtest failures in ayout/generic/ReflowInput.cpp. CLOSED TREE
Backed out changeset 536e78fea3de (bug 1582530)
Backed out changeset ae88c31cf531 (bug 1582530)

--HG--
extra : amend_source : cd6928208a1916e72a8f14952adc85f5e5e2c47d
2019-09-28 00:31:24 +03:00