Mike Hommey
3f71b0be50
Bug 1600952 - Do not run the diff-reproducible-linux32 task on beta/release as intended in bug 1577212. r=tomprince
...
Differential Revision: https://phabricator.services.mozilla.com/D55766
--HG--
extra : moz-landing-system : lando
2019-12-04 05:29:45 +00:00
Jim Blandy
c811575ba6
Bug 1601088: Fix DebugAPI::slowPathTraceGeneratorFrame's justification for calling TraceCrossCompartmentEdge. r=loganfsmyth
...
Differential Revision: https://phabricator.services.mozilla.com/D55737
--HG--
extra : moz-landing-system : lando
2019-12-04 05:00:04 +00:00
Hiroyuki Ikezoe
63e3dd4144
Bug 1523541 - window.innerHeight returns the size for vh units when the dynamic toolbar is completely hidden. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D55071
--HG--
extra : moz-landing-system : lando
2019-12-04 04:41:08 +00:00
Hiroyuki Ikezoe
831ca102d1
Bug 1523541 - Fire a window resize event at the same time we change position:fixed %-units style values. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D55070
--HG--
extra : moz-landing-system : lando
2019-12-04 04:34:08 +00:00
Matt Woodrow
6f0f9e969f
Bug 1600211 - Forward AllPartsStopped to HttpChannelChild to ensure that we notify the listeners correctly. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D55223
--HG--
extra : moz-landing-system : lando
2019-12-04 03:19:38 +00:00
Matt Woodrow
a2c085754a
Bug 1600211 - Disable content conversion by HttpChannelChild if we have already applied it by the time we get to HttpChannelParent::OnStartRequest. r=mayhemer
...
We normally get HttpChannelParent::OnStartRequest directly from nsHttpChannel::OnStartRequest, where we disable content conversion and ask the child to do it instead.
When we install a multipart converter, we defer calling HttpChannelParent::OnStartRequest until we've decoded parts, at which point content conversion is already applied to the stream.
This detects that case, and stops the child trying to do it a second time (which fails, and breaks the content).
Differential Revision: https://phabricator.services.mozilla.com/D55222
--HG--
extra : moz-landing-system : lando
2019-12-04 03:19:26 +00:00
Matt Woodrow
969be7e03d
Bug 1600211 - Support multipart channels in DocumentLoadListener. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D55221
--HG--
extra : moz-landing-system : lando
2019-12-04 03:19:08 +00:00
Matt Woodrow
fbc0783110
Bug 1600211 - Add nsIMultiPartChannelListener as a reliable way to detect when a multi-part channel is finished and we can break reference cycles. r=mayhemer
...
We can't always know when sending a part if it'll be the last one (either because the channel is later cancelled, or because the response just sends the end boundary without warning). This was initially reported in bug 339610.
Differential Revision: https://phabricator.services.mozilla.com/D55220
--HG--
extra : moz-landing-system : lando
2019-12-04 03:18:56 +00:00
Matt Woodrow
a26e9542d2
Bug 1600211 - Send OnDataAvailable and OnStopRequest on the main-thread channel when in multi-part mode to avoid complicated races across the two channels. r=mayhemer
...
This also removes OnStartRequestSent from PHttpBackgroundChannel, since there should never be any messages sent earlier on this channel, so we can just assume the waiting state initially.
Differential Revision: https://phabricator.services.mozilla.com/D55219
--HG--
extra : moz-landing-system : lando
2019-12-04 03:18:38 +00:00
Matt Woodrow
92e976c088
Bug 1600211 - Disable some interfaces on HttpChannelChild when we're in multipart mode since nsPartChannel didn't implement these and we don't want to support them. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D55218
--HG--
extra : moz-landing-system : lando
2019-12-04 03:18:26 +00:00
Matt Woodrow
96102b54a4
Bug 1600211 - Support passsing nsIMultiPartChannel values through PHttpChannel, and conditionally expose this interface on HttpChannelChild. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D55217
--HG--
extra : moz-landing-system : lando
2019-12-04 03:18:13 +00:00
Matt Woodrow
ae112914b6
Bug 1600211 - Create a multi-part converter in nsHttpChannel if needed. r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D55216
--HG--
extra : moz-landing-system : lando
2019-12-04 03:17:55 +00:00
Matt Woodrow
acb2b568b2
Bug 1600211 - Convert DocumentLoadListener to use a Variant for recording and replaying nsIStreamListener functions. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D55215
--HG--
extra : moz-landing-system : lando
2019-12-04 03:17:43 +00:00
Gurzau Raul
87ac4a3719
Backed out 3 changesets (bug 1595218) for Windows wrench failures.
...
Backed out changeset 9fdeeb697611 (bug 1595218)
Backed out changeset d7f9a4045360 (bug 1595218)
Backed out changeset 30bb03117312 (bug 1595218)
2019-12-04 05:49:06 +02:00
Daniel Holbert
693c08b645
Bug 1593060: When measuring size of XUL in CSS grid, use the GetXULPrefSize API instead of an explicit reflow. r=mats
...
Note that the GetXULPrefSize API might still do a "::BoxReflow" under the hood,
inside its call to RefreshSizeCache.
Also: we can't use GetLogicalUsedMargin() in this special case, because the
child may not have been reflowed (which is what populates the "used margin"
frame property). So instead, we pull the margin off of the reflow state.
As noted in the code-comment alongside that call, this won't work with
percent margins, but hopefully we can just avoid those in our frontend code
that uses XUL-in-grid-items.
Also, this patch makes the grid call ReflowChild() on its grid items using
a loose guess at their position, rather than at position 0,0. This helps
popup frames figure out their size during reflow and size their children
properly.
Differential Revision: https://phabricator.services.mozilla.com/D54886
--HG--
extra : moz-landing-system : lando
2019-12-04 03:37:09 +00:00
Bogdan Tara
2449adc92a
Backed out 3 changesets (bug 1561911) for /streams/readable-streams/* failures
...
Backed out changeset 38d79445e3c1 (bug 1561911)
Backed out changeset 885ddf6cbc22 (bug 1561911)
Backed out changeset b4e45bf8c0c4 (bug 1561911)
2019-12-04 05:33:29 +02:00
Bogdan Tara
fcaf331b4c
Backed out 3 changesets (bug 1584337) for test_distribution.js failures
...
Backed out changeset 95e0180f6a40 (bug 1584337)
Backed out changeset 23769d9ca53e (bug 1584337)
Backed out changeset 49372ad53bc0 (bug 1584337)
2019-12-04 04:54:11 +02:00
Glenn Watson
6e5ebeba2a
Bug 1597559 - Fix tile opacity getting out of sync with compositor surface. r=sotaro
...
Differential Revision: https://phabricator.services.mozilla.com/D55761
--HG--
extra : moz-landing-system : lando
2019-12-04 02:10:17 +00:00
Marc Streckfuss
2625fe32a5
Bug 1353652 - Fix unified builds r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D55281
--HG--
extra : moz-landing-system : lando
2019-12-03 14:03:01 +00:00
Drew Willcoxon
f1e3a8f030
Bug 1596258 - Add browser.experiments.urlbar.checkForBrowserUpdate and getBrowserUpdateStatus. r=mak,mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D54397
--HG--
rename : browser/components/extensions/test/browser/.eslintrc.js => browser/components/urlbar/tests/ext/browser/.eslintrc.js
rename : browser/components/extensions/test/browser/.eslintrc.js => browser/components/urlbar/tests/ext/browser/update/.eslintrc.js
extra : moz-landing-system : lando
2019-12-03 22:10:20 +00:00
Tooru Fujisawa
d514f1eca9
Bug 1561911 - Part 3: Set closedPromise.[[PromiseIsHandled]] to true in ReadableStreamError. r=jwalden
...
Implemented 3.5.6. ReadableStreamError step 10.
Depends on D55614
Differential Revision: https://phabricator.services.mozilla.com/D55615
--HG--
extra : moz-landing-system : lando
2019-12-03 23:19:07 +00:00
Tooru Fujisawa
cca12b6b29
Bug 1561911 - Part 2: Add SetPromiseIsHandled. r=jwalden
...
`SetPromiseIsHandled` performs "Set promise.[[PromiseIsHandled]] to true.", with
removing unhandled rejection.
Fixed the following steps to use `SetPromiseIsHandled`:
* 3.8.4. ReadableStreamReaderGenericInitialize Step 6.c
* 3.8.5. ReadableStreamReaderGenericRelease step 5
* 4.4.13. WritableStreamRejectCloseAndClosedPromiseIfNeeded step 4.b
* 4.5.3. new WritableStreamDefaultWriter step 7.b
* 4.5.3. new WritableStreamDefaultWriter step 9.d
* 4.5.3. new WritableStreamDefaultWriter step 9.f
* 4.6.5. WritableStreamDefaultWriterEnsureClosedPromiseRejected step 3
* 4.6.6. WritableStreamDefaultWriterEnsureReadyPromiseRejected step 3
Depends on D55613
Differential Revision: https://phabricator.services.mozilla.com/D55614
--HG--
extra : moz-landing-system : lando
2019-12-03 22:27:26 +00:00
Tooru Fujisawa
30a1e09849
Bug 1561911 - Part 1: Update ReadableStreamReaderGenericInitialize steps. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D55613
--HG--
extra : moz-landing-system : lando
2019-12-03 22:25:23 +00:00
Jeff Muizelaar
e0a1db5447
Bug 1595388. Use mDrawTarget->Rect() instead of Size(). r=mstange
...
Using Rect() will work properly when mDrawTarget does not have 0,0
origin. It also makes the code's intention more clear.
Differential Revision: https://phabricator.services.mozilla.com/D55337
--HG--
extra : moz-landing-system : lando
2019-12-04 01:45:52 +00:00
Gurzau Raul
4246729646
Backed out 2 changesets (bug 1599662) for multiple reftest failures e.g. downscale-moz-icon-1.html on a CLOSED TREE.
...
Backed out changeset 1a5918cfe128 (bug 1599662)
Backed out changeset a7b980e65413 (bug 1599662)
2019-12-04 03:54:27 +02:00
Matt Woodrow
0e188f2ae7
Bug 1598516 - Don't run extension iframes in their own process. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D55605
--HG--
extra : moz-landing-system : lando
2019-12-03 23:55:52 +00:00
Matt Woodrow
3ee04fdcbb
Bug 1598516 - Make Quitter extension retry sending the quit message in case the background script wasn't ready yet. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D55604
--HG--
extra : moz-landing-system : lando
2019-12-03 23:55:34 +00:00
Matt Woodrow
dc7b5810bc
Bug 1598516 - Remove isLocalAboutURI since all about: URIs are local. r=Gijs
...
With DocumentChannel, the 'URI' of the channel that we proxy for RemoteWebProgress doesn't have the resolved URI, and reports the about: version instead.
All about: URIs are local these days, so we can just check for that scheme directly, and simplify the code.
Differential Revision: https://phabricator.services.mozilla.com/D54251
--HG--
extra : moz-landing-system : lando
2019-12-03 23:55:21 +00:00
Matt Woodrow
ff5771a51f
Bug 1598516 - Add DocumentChannel MOZ_LOGs. r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D54250
--HG--
extra : moz-landing-system : lando
2019-12-03 23:55:04 +00:00
Matt Woodrow
b3c2394593
Bug 1598516 - Don't crash if NS_NewChannelInternal fails. r=mayhemer
...
Looks like this can sometimes fail with moz-extension URIs, so we shouldn't crash
Differential Revision: https://phabricator.services.mozilla.com/D54249
--HG--
extra : moz-landing-system : lando
2019-12-03 23:54:51 +00:00
Matt Woodrow
8e26f946f6
Bug 1598516 - Handle malformed uri load error with an error page. r=kmag
...
Previously this error occurred synchronously during AsyncOpen, and we handled it there.
With DocumentChannel we don't find out until it's handled in the parent, so the error is returned to the docshell via a failed status on the request.
Differential Revision: https://phabricator.services.mozilla.com/D54248
--HG--
extra : moz-landing-system : lando
2019-12-03 23:54:33 +00:00
Matt Woodrow
713f0b20e6
Bug 1598516 - Expose a RemoteWindowContext on ParentChannelListener. r=mayhemer,kmag
...
Without DocumentChannel, nsExtProtocolChannel::OpenURL calls into nsExternalHelperAppService::LoadURI in the content process.
We then manually forward this to the parent process over PContent, create a RemoteWindowContext around the browser parent, and then call LoadURI again.
With DocumemntChannel, the nsExtProtocolChannel already lives in the parent, so we just need to provide a RemoteWindowContext directly (that the code accesses via GetInterface on the callbacks).
Differential Revision: https://phabricator.services.mozilla.com/D54247
--HG--
extra : moz-landing-system : lando
2019-12-03 23:54:21 +00:00
Matt Woodrow
cfa26243a8
Bug 1598516 - Enable DocumentChannel for all protocols, except for list of known issues. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D54246
--HG--
extra : moz-landing-system : lando
2019-12-03 23:54:08 +00:00
Michael Cooper
8aff3b2307
Bug 1584337 p3 - Clear Normandy enrollment IDs when Telemetry is disabled r=Gijs,chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D54329
--HG--
extra : moz-landing-system : lando
2019-12-04 00:35:30 +00:00
Michael Cooper
e00ccbb96a
Bug 1584337 p2 - Convert Normandy preference experiment tests to use common test factory r=glasserc
...
Differential Revision: https://phabricator.services.mozilla.com/D54328
--HG--
extra : moz-landing-system : lando
2019-12-04 00:34:57 +00:00
Michael Cooper
7937f6be36
Bug 1584337 p1 - Send an event when Telemetry is opted-out of. r=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D54327
--HG--
extra : moz-landing-system : lando
2019-12-04 00:34:39 +00:00
Harry Twyford
35c4199231
Bug 1599784 - Enable update1 prefs by default. r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D55179
--HG--
extra : moz-landing-system : lando
2019-12-03 21:27:58 +00:00
Gurzau Raul
558a79c450
Backed out changeset 18f07982ab28 (bug 1600007) for failing at browser_policy_bookmarks.js on a CLOSED TREE.
2019-12-04 02:32:38 +02:00
Gurzau Raul
9510cd391a
Backed out 4 changesets (bug 1595800) for failing at browser_orientationchange_event.js on a CLOSED TREE.
...
Backed out changeset c78cb9bbddb9 (bug 1595800)
Backed out changeset 558449ce7d0a (bug 1595800)
Backed out changeset ef7f9e251137 (bug 1595800)
Backed out changeset 2167343f5bd3 (bug 1595800)
2019-12-04 02:27:04 +02:00
Matt Woodrow
d3ff9be887
Bug 1599662 - Invalidate the frame when we initialize rendering for a BrowserParent, since this might allocate a new layers id that would be cached on a display item. r=tnikkel
...
Depends on D55568
Differential Revision: https://phabricator.services.mozilla.com/D55740
--HG--
extra : moz-landing-system : lando
2019-12-03 22:38:45 +00:00
Matt Woodrow
8ca80cd1af
Bug 1599662 - Add process switching to the reftest harness so that we can get better coverage for fission. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D55568
--HG--
extra : moz-landing-system : lando
2019-12-03 22:18:45 +00:00
Nathan Froyd
c4d5bb1a19
Bug 1600963 - remove some duplicate includes from ContentPrincipal.cpp; r=mccr8
...
Depends on D55689
Differential Revision: https://phabricator.services.mozilla.com/D55690
--HG--
extra : moz-landing-system : lando
2019-12-03 17:30:26 +00:00
Nathan Froyd
655d31fb03
Bug 1600963 - build fields directly in the returned array; r=mccr8
...
This change means fewer temporary objects, particularly `nsCString` objects.
Depends on D55688
Differential Revision: https://phabricator.services.mozilla.com/D55689
--HG--
extra : moz-landing-system : lando
2019-12-03 17:37:43 +00:00
Nathan Froyd
03bf239fb9
Bug 1600963 - don't lookup keys twice in the serialized JSON; r=mccr8
...
Depends on D55687
Differential Revision: https://phabricator.services.mozilla.com/D55688
--HG--
extra : moz-landing-system : lando
2019-12-03 17:52:40 +00:00
Nathan Froyd
feb4f82205
Bug 1600963 - reduce size of principal KeyVals; r=mccr8
...
By declaring the individual enum types to fit in a `uint8_t`, and
rearranging the templated `KeyValT` struct, we can pack `KeyValT`
to save a word of storage.
Differential Revision: https://phabricator.services.mozilla.com/D55687
--HG--
extra : moz-landing-system : lando
2019-12-03 22:20:03 +00:00
Nathan Froyd
3c6e6ca1c9
Bug 1600963 - reduce boilerplate for serialized keys in principals; r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D55686
--HG--
extra : moz-landing-system : lando
2019-12-03 17:30:09 +00:00
Nihanth Subramanya
874e5c0f9e
Bug 1600783 - Test doh-rollout addon's local storage migration. r=mixedpuppy,maxxcrawford
...
Differential Revision: https://phabricator.services.mozilla.com/D55558
--HG--
extra : moz-landing-system : lando
2019-12-03 23:45:14 +00:00
Bogdan Tara
b52a7b4150
Backed out 3 changesets (bug 1584337) for ES lint failure on AddonRollouts.jsm CLOSED TREE
...
Backed out changeset 6184eb81bdd2 (bug 1584337)
Backed out changeset 145190b22a4e (bug 1584337)
Backed out changeset 66b7bf28611d (bug 1584337)
2019-12-04 01:38:41 +02:00
Nihanth Subramanya
674d6130b6
Bug 1600390 - Cache the values of the CSP prefs in the ExtensionPolicyService. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D55374
--HG--
extra : moz-landing-system : lando
2019-12-03 23:24:42 +00:00
Liang-Heng Chen
48ab7adc77
Bug 1597622
- disable ASRouter.triggerHandler under kiosk mode; r=andreio
...
Differential Revision: https://phabricator.services.mozilla.com/D55666
--HG--
extra : moz-landing-system : lando
2019-12-03 22:57:24 +00:00