Commit Graph

668837 Commits

Author SHA1 Message Date
Mattias Buelens
a32eb0fa05 Bug 1576880 [wpt PR 18693] - Add tests for WritableStream.close(), a=testonly
Automatic update from web-platform-tests
Add tests for WritableStream.close() (#18693)

* Add tests for WritableStream.close()
--

wpt-commits: 0ba0c4c07c8d2c23efdcc84dfc9043a3fdccbf19
wpt-pr: 18693
2019-09-03 14:23:04 +00:00
moz-wptsync-bot
ec9322092a Bug 1576838 [wpt PR 18687] - Update wpt metadata, a=testonly
wpt-pr: 18687
wpt-type: metadata
2019-09-03 14:23:04 +00:00
Eric Willigers
a37a32e1f3 Bug 1576838 [wpt PR 18687] - CSS: Consolidate block/inline tests for scroll-margin, scroll-padding, a=testonly
Automatic update from web-platform-tests
CSS: Consolidate block/inline tests for scroll-margin, scroll-padding

Tests for scroll-padding-inline-start, scroll-padding-block-start,
scroll-padding-inline-end, scroll-padding-block-end now appear
together.

Tests for scroll-margin-block-start, scroll-margin-inline-start,
scroll-margin-block-end, scroll-margin-inline-end now appear
together.

Added tests that calc(auto) is rejected.

Change-Id: I06759db50dd21e2654df494255a4e41233cdcae6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1771486
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690905}

--

wpt-commits: b690813a7231b0891fed00e7397b441b58ef0cb8
wpt-pr: 18687
2019-09-03 14:23:04 +00:00
Marijn Kruisselbrink
58b7245605 Bug 1577004 [wpt PR 18707] - Mark media-source/idlharness test as slow, a=testonly
Automatic update from web-platform-tests
Mark media-source/idlharness test as slow

The test often times out on the waterfall.

Tbr: chcunningham@chromium.org
Change-Id: I47cc2c795f0ff4163e952d1cce971388b7a67760
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1773524
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Reviewed-by: Chrome Cunningham <chcunningham@chromium.org>
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690852}

--

wpt-commits: 9e76bf3a36549abc01a511a309b8aeec0975fe6d
wpt-pr: 18707
2019-09-03 14:23:03 +00:00
Philip Jägenstedt
a25ba9e5e3 Bug 1577010 [wpt PR 18708] - Explain the split between the two idlharness tests in dom/, a=testonly
Automatic update from web-platform-tests
Explain the split between the two idlharness tests in dom/ (#18708)

--

wpt-commits: 9ae3cc7e3f5420538b709a91149f4f811bc4bb42
wpt-pr: 18708
2019-09-03 14:23:03 +00:00
Philip Jägenstedt
4d5c2e879d Bug 1574901 [wpt PR 18541] - Replace setTimeout with step_timeout in inert/ tests, a=testonly
Automatic update from web-platform-tests
Replace setTimeout with step_timeout in inert/ tests (#18541)

This avoids the need to silence the lint.
--

wpt-commits: baa77c77ae1328ce146dcb699588141e2ed6bf80
wpt-pr: 18541
2019-09-03 14:23:02 +00:00
moz-wptsync-bot
d4b7831fc5 Bug 1576934 [wpt PR 18698] - Update wpt metadata, a=testonly
wpt-pr: 18698
wpt-type: metadata
2019-09-03 14:23:02 +00:00
Stephen McGruer
a2a9d2b54d Bug 1576934 [wpt PR 18698] - Port some css-multicol interpolation tests to WPT, a=testonly
Automatic update from web-platform-tests
Port some css-multicol interpolation tests to WPT

Bug: 900581
Change-Id: Ia92d41788e13e7fb496b3e426d54622320f137cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1769306
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690821}

--

wpt-commits: 570e38494412ed8f4d845670b0bf9f1cccde90c6
wpt-pr: 18698
2019-09-03 14:23:01 +00:00
Changwan Ryu
1cbd68a4f2 Bug 1576992 [wpt PR 18706] - Add instructions for running WPT for Android WebView, a=testonly
Automatic update from web-platform-tests
Add instructions for running WPT for Android WebView

--

wpt-commits: cac6775cd42a8de951489d8a94a455904e47a802
wpt-pr: 18706
2019-09-03 14:23:01 +00:00
Philip Jägenstedt
10389fd8a0 Bug 1576905 [wpt PR 18694] - Remove unused audio/video element instances, a=testonly
Automatic update from web-platform-tests
Remove unused audio/video element instances (#18694)

See https://github.com/web-platform-tests/wpt/pull/18677#discussion_r317936313
--

wpt-commits: 677dac9ac6c5d0afe9bf10b09f66972a6e4ae2ae
wpt-pr: 18694
2019-09-03 14:23:00 +00:00
moz-wptsync-bot
982980e78f Bug 1576954 [wpt PR 18701] - Update wpt metadata, a=testonly
wpt-pr: 18701
wpt-type: metadata
2019-09-03 14:23:00 +00:00
Stephen McGruer
f06a91bc26 Bug 1576954 [wpt PR 18701] - Port css-shapes interpolation tests to WPT, a=testonly
Automatic update from web-platform-tests
Port css-shapes interpolation tests to WPT

Bug: 900581
Change-Id: Ieda118b47ebb266e7e52db20055de6664ad171bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1773183
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690785}

--

wpt-commits: 49b0aca116ecce1db83f1bbd4574a10555224315
wpt-pr: 18701
2019-09-03 14:23:00 +00:00
Itiel
9bb55ae4d8 Bug 1578092 - Fix about:addons "Contribute" button background icon position for RTL r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D44317

--HG--
extra : moz-landing-system : lando
2019-09-03 04:29:13 +00:00
Masayuki Nakano
816dbbb57d Bug 1574852 - part 41: Move HTMLEditRules::InsertBRIfNeeded(nsINode&) to HTMLEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D44178

--HG--
extra : moz-landing-system : lando
2019-09-02 03:17:14 +00:00
Masayuki Nakano
08108eda15 Bug 1574852 - part 40: Move HTMLEditRules::InsertPaddingBRElementForEmptyLastLineIfNeeded() to HTMLEditor r=m_kato
And this fixes the caller which has not guaranteed the lifetime of the
start container.

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

--HG--
extra : moz-landing-system : lando
2019-09-02 03:16:26 +00:00
Masayuki Nakano
1155464d4c Bug 1574852 - part 39: Move HTMLEditRules::InsertBRIfNeeded() to HTMLEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D44174

--HG--
extra : moz-landing-system : lando
2019-09-02 01:47:14 +00:00
Dorel Luca
f8f63b82ff Merge mozilla-central to autoland 2019-09-03 07:07:09 +03:00
Dorel Luca
15fefbe415 Merge mozilla-inbound to mozilla-central. a=merge 2019-09-03 07:03:04 +03:00
Andrew Halberstadt
8c97bc7a17 Bug 1577908 - [mach] Disable suggested command execution until Python 3 migration is finished, r=glandium
The mach driver will now run all misspelled commands with Python 3. That means
we can't automatically execute the suggested command anymore, as it may need to
run against Python 2.

Ideally we could figure out a way to check the command against the 'mach'
whitelist, but until then, let's just disable automatic execution. Worst case
scenario we can turn it back on after the migration has finished.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 03:46:16 +00:00
Jean-Yves Avenard
1c657f7d19 Bug 1556489 - P25. Make nsIIdentChannel support conditional for nsBaseChannel. r=mayhemer
So that we can restrict QI(nsIIdentChannel) to nsIHttpChannel and DocumentChannelChild objects only.

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

MANUAL PUSH: multiple authors stack
2019-09-03 10:20:16 +10:00
Matt Woodrow
e93ff775a3 Bug 1556489 - P24. Update test to handle extra onStateChange events fired when using DocumentChannel. r=kmag
DocumentChannel issues an extra onStateChange at the start when it switched over to the real channel.

Differential Revision: https://phabricator.services.mozilla.com/D43203
2019-09-03 10:19:54 +10:00
Jean-Yves Avenard
5749840f21 Bug 1556489 - P23 - Only create new ClientSource objects in the content, but use the recreated info from redirects in the parent. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D42260
2019-09-03 10:19:53 +10:00
Jean-Yves Avenard
ff8e5e92fd Bug 1556489 - P22 - Manually add history entries for all DocumentChannel redirects, since these aren't exposed to the content process as channel redirects. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D42259
2019-09-03 10:19:53 +10:00
Matt Woodrow
4151ea2a94 Bug 1556489 - P21 - Cache the original referrer before url classification has been applied to send back to the content process, since the docshell expects to find the original. r=mayhemer,tnguyen
Differential Revision: https://phabricator.services.mozilla.com/D42258
2019-09-03 10:19:52 +10:00
Jean-Yves Avenard
9cdcb33634 Bug 1556489 - P20 - Remove unused method. r=mayhemer 2019-09-03 10:19:52 +10:00
Jean-Yves Avenard
d65c5e0309 Bug 1556489 - P19. Fix devtools stack traces. r=honza,ochameau
DevTools rely on events when a new HttpChannel is opened, it needs to know when a DocumentChannel is.

Differential Revision: https://phabricator.services.mozilla.com/D40975
2019-09-03 10:19:46 +10:00
Matt Woodrow
1b5f7c772a Bug 1556489 - P18. Add DocumentChannel and hook it up. r=nika,mayhemer
DocumentChannel acts as a replacement for HttpChannel where redirects are now entirely handled in the DocumentChannelParent. The ContentChild will receive the final nsIChannel once all redirects have been handled.

Differential Revision: https://phabricator.services.mozilla.com/D37490
2019-09-03 10:19:38 +10:00
Matt Woodrow
20e71d4c8a Bug 1556489 - P16. Add AddClientChannelHelperInParent helper method. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D40973
2019-09-03 10:19:37 +10:00
Jean-Yves Avenard
f0b40a38d7 Bug 1556489 - P15. Move methods into dedicated nsI* interface. r=mayhemer
This allows in the future for the nsHttpChannel to deal with things others than the HttpChannelParent.

Differential Revision: https://phabricator.services.mozilla.com/D40972
2019-09-03 10:19:37 +10:00
Matt Woodrow
8a54afbb4c Bug 1556489 - P14. No longer pass nsILoadInfo to TriggerCrossProcessRedirect. r=mayhemer
We can deduct it from the nsIChannel argument already. In the future, the httpParent may be either HttpChannelParent or DocumentChannelParent.

Differential Revision: https://phabricator.services.mozilla.com/D40971
2019-09-03 10:19:36 +10:00
Matt Woodrow
aa250bb0c7 Bug 1556489 - P13. Use LoadInfo redirect chain to determine when a channel has redirected and we should skip uri fixup. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D40970
2019-09-03 10:19:36 +10:00
Matt Woodrow
747652aa04 Bug 1556489 - P12. Move code into static utility method. r=nika
We will need access to this method in a following change.

Differential Revision: https://phabricator.services.mozilla.com/D40969
2019-09-03 10:19:35 +10:00
Jean-Yves Avenard
b43fd91ea2 Bug 1556489 - P11. Add nIIdentChannel interface. r=mayhemer
The devtools listens to http-on-opening-request event which is expected to receive a nsIHttpChannel. However future changes will make it that it's not always a nsIHttpChannel that can fire such event.

As such we create an intermediary interface nsIIdentChannel and move the subset generating such event in nsIHttpChannel there.

Differential Revision: https://phabricator.services.mozilla.com/D40968
2019-09-03 10:19:34 +10:00
Matt Woodrow
b1aa62197e Bug 1556489 - P10. Pass PostData and Headers at DocShell creation time. r=nika,farre
Differential Revision: https://phabricator.services.mozilla.com/D40967
2019-09-03 10:19:27 +10:00
Matt Woodrow
c69966609c Bug 1556489 - P9. Make method static. r=nika,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D40966
2019-09-03 10:19:20 +10:00
Matt Woodrow
e579f452c1 Bug 1556489 - P8. Add CSPService::ConsultCSPForRedirect. r=mayhemer,ckerschb
We extract the code from CSPService::AsyncOnChannelRedirect so that we can use it in a follow-up change.

Differential Revision: https://phabricator.services.mozilla.com/D40965
2019-09-03 10:19:12 +10:00
Matt Woodrow
a209298de2 Bug 1556489 - P7. Make LoadInfoArgsToLoadInfo works with LoadInfo class. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D40964
2019-09-03 10:19:11 +10:00
Jean-Yves Avenard
0c52caf2b2 Bug 1556489 - P6. Simplify use of namespace. r=mayhemer
This is a cosmetic only change.

Differential Revision: https://phabricator.services.mozilla.com/D40963
2019-09-03 10:19:10 +10:00
Matt Woodrow
50cb731c68 Bug 1556489 - P5. Fix constness. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D40962
2019-09-03 10:19:09 +10:00
Jean-Yves Avenard
e76aa88e15 Bug 1556489 - P4. Add ability to set Document object on LoadInfo. r=mayhemer,ckerschb
This will be required to access the Performance object from future DocumentChannel.

Differential Revision: https://phabricator.services.mozilla.com/D41133
2019-09-03 10:18:58 +10:00
Jean-Yves Avenard
a23b70b74e Bug 1556489 - P3. Move logic on when to return the PerformanceStorage into nsILoadInfo. r=mayhemer
This more closely follow the code as earlier documented. To remove all ambiguities, the idl documentation was amended.

Differential Revision: https://phabricator.services.mozilla.com/D40961
2019-09-03 09:50:05 +10:00
Jean-Yves Avenard
de650bb217 Bug 1556489 - P2. Use ReplacementChannelConfig across HttpChannelParent and ContentChild. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D40960
2019-09-03 09:49:46 +10:00
Jean-Yves Avenard
cc07990908 Bug 1556489 - P1. Introduce ReplacementChannelConfig. r=mayhemer
This class allows to encapsulate all the information required in order to create a new HttpChannel object following a redirect.

Differential Revision: https://phabricator.services.mozilla.com/D40959
2019-09-03 09:47:17 +10:00
Paul Bone
8a2eddc0bb Bug 1568740 - (part 8) Add a test r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D39993

--HG--
extra : moz-landing-system : lando
2019-09-02 23:27:46 +00:00
Paul Bone
36d429dcf0 Bug 1568740 - (part 7) Factor out a common assertion r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D39473

--HG--
extra : moz-landing-system : lando
2019-09-02 23:27:44 +00:00
Paul Bone
96ef0a81b6 Bug 1568740 - (part 6) Remove Nursery::chunkCountLimit() r=jonco
This method & the chunkCountLimit_ variable are unnecessary. The maximum
permitted nursery size is tracked in the GCSchedulingTunables class.

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

--HG--
extra : moz-landing-system : lando
2019-09-02 23:27:42 +00:00
Paul Bone
922e62d24f Bug 1568740 - (part 5) Rename a variable r=jonco
The new variable, 'newMinNurseryBytes' is more in-line with the other
'newMaxNurseryBytes'.

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

--HG--
extra : moz-landing-system : lando
2019-09-02 23:27:40 +00:00
Paul Bone
11f4038648 Bug 1568740 - (part 4) Use Nursery::roundSize() whenever setting the nursery size r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D39283

--HG--
extra : moz-landing-system : lando
2019-09-02 23:26:02 +00:00
Paul Bone
7f2d26150f Bug 1568740 - (part 3) Nursery::roundSize should be a static member r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D39282

--HG--
extra : moz-landing-system : lando
2019-09-02 23:25:50 +00:00
Paul Bone
d6c8514e15 Bug 1568740 - (part 2) Calculate the nursery's maximum size in bytes r=jonco
We used to calculate the nursery's maximum size in chunks, and track the
maximum number of chunks permitted. This could lead to some unexpected
behaviour with a larger nursery than requested. Calculating it in bytes is
simpler, avoids this problem, and is more in-line with other calculations.

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

--HG--
extra : moz-landing-system : lando
2019-09-02 23:25:37 +00:00