Commit Graph

689597 Commits

Author SHA1 Message Date
sotaro
9fbc3e628e Bug 1605777 - Clear WrappingTextureSourceYCbCrBasic::mTexture correctly r=nical
Differential Revision: https://phabricator.services.mozilla.com/D60639

--HG--
extra : moz-landing-system : lando
2020-01-23 11:11:46 +00:00
Bogdan Tara
f1e0a083bc Backed out 2 changesets (bug 1611486) for bustages complaining about mouse_cursor_monitor.h and desktop_and_cursor_composer.h CLOSED TREE
Backed out changeset 881eb2c2d312 (bug 1611486)
Backed out changeset 50c7ba45875b (bug 1611486)
2020-01-28 00:48:40 +02:00
Nico Grunbaum
b76919a7e5 Bug 1611486 - P2 - Cherry-pick webrct desktop sharing X hang fixes;r=dminor
c380e97ee6

Depends on D61000

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

--HG--
extra : moz-landing-system : lando
2020-01-24 18:52:30 +00:00
Nico Grunbaum
0f2770c78b Bug 1611486 - P1 - Cherry-pick webrct desktop sharing X hang fixes;r=dminor
4b47dd39a7

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

--HG--
extra : moz-landing-system : lando
2020-01-24 19:01:49 +00:00
David Major
7987e54c54 Bug 1610974 - Use designated initializers consistently in LookAndFeelInt r=hiro
To avoid a clang-10 failure with `error: mixture of designated and non-designated initializers in the same initializer list is a C99 extension [-Werror,-Wc99-designator]`

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

--HG--
extra : moz-landing-system : lando
2020-01-27 21:22:55 +00:00
Cosmin Sabou
2cf80d119a Bug 1611200 - Update expectation on mac and win for shared-worker-import-blob-url.any.html. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D61134

--HG--
extra : moz-landing-system : lando
2020-01-27 21:33:21 +00:00
Sebastian Hengst
54564d325b Bug 1611449 - Alter order of expecations for MediaRecorder-no-sink.https.html and MediaRecorder-peerconnection.https.html on release_or_beta. r=jgraham
Rule for Beta and Release on Android must be declared before general Android
one because first matching rule gets applied.

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

--HG--
extra : moz-landing-system : lando
2020-01-27 21:33:03 +00:00
Mats Palmgren
59bb4e4cda Bug 1611724 - [css-grid] Add NS_FRAME_CONTAINS_RELATIVE_BSIZE to grid items with content first baseline alignment to ensure lines are marked dirty in a IsBResize reflow. r=dholbert
To make this condition true to be clear:
https://searchfox.org/mozilla-central/rev/aa684c0c76136be80af4c6e429bce81dea55c429/layout/generic/nsBlockFrame.cpp#2478-2479

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

--HG--
extra : moz-landing-system : lando
2020-01-27 19:45:13 +00:00
Cosmin Sabou
1cb591d666 Bug 1611299 - Update metadata. a=test-only
--HG--
extra : rebase_source : 024bf563c79e648d6d80b0abee4c6a96882d7856
2020-01-27 20:53:45 +02:00
Dimi Lee
3f336cb71f Bug 1599046 - P4. Report content blocking log to console while running in the parent process r=Ehsan
Depends on D57630

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

--HG--
extra : moz-landing-system : lando
2020-01-27 19:23:05 +00:00
Dimi Lee
d58587be36 Bug 1599046 - P3. Remove unused IPC method in nsIParentChannel.idl. r=timhuang,Ehsan
The following methods are removed:
1. notifyChannelClassifierProtectionDisabled
2. notifyCookieAllowed
3. notifyCookieBlocked

Depends on D56875

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

--HG--
extra : moz-landing-system : lando
2020-01-27 10:39:38 +00:00
Dimi Lee
6b66f4ad81 Bug 1599046 - P2. Remove calling NotifyOnContentBlocking in the child process r=timhuang,Ehsan
This patch does the followings:
1. Remove NotifyOnContentBlocking in WindowOuter and all the call sites.
   This is because all the content blocking event handling is moved to the parent.

2. Replace UrlClassifierCommon::NotifyChannelBlocked with AntiTrackingCommon:::NotifyContentBlockingEventInParent.
   This is because we don't need to pass the request to the child anymore, which was implemented in NotifyChannelBlocked previously.

3. Add NotifyContentBlockingEvent* utility functions to AntiTrackingCommon.cpp.

4. Update AntiTrackingCommon::NotifyBlockingDecision, when it is called in the parent,
   do not send requests to the child, notify the parent directly

Depends on D56874

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

--HG--
extra : moz-landing-system : lando
2020-01-27 10:39:43 +00:00
Dimi Lee
f9ac16c330 Bug 1599046 - P1. Remove ContentBlockingLog from the child r=timhuang,Ehsan
At this point, there is no consumer that uses ContentBlockingLog stored
in the child. This patch removes the following code:
1. Removing nsGlobalWindowOuter::NotifyContentBlockingEvent
2. Removing nsDocLoader::OnContentBlockingEvent
3. Removing contentBlockingEvent in nsISecureBrowserUI.idl
4. Removing mContentBlockingLog from Document.cpp and APIs related to it.

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

--HG--
extra : moz-landing-system : lando
2020-01-27 10:39:41 +00:00
Brindusan Cristian
61ffa1f5ad Backed out changeset b1dd19cb645b (bug 1606928) for build bustages at favicons/google-com.ico. CLOSED TREE 2020-01-27 19:11:44 +02:00
Matthew Gregan
a362a200e2 Bug 1611658 - Unship libcubeb's C PulseAudio backend in favour of Rust. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D61080

--HG--
extra : moz-landing-system : lando
2020-01-26 11:09:27 +00:00
Harry Twyford
aa565bccad Bug 1606928 - Modify the Top Sites API to store a favicon for “Tippy Top Sites". r=Mardak
This patch uses the favicons as actually served by the sites. I tried to get 32x32 versions where possible, but a few are smaller and larger. There's also a mix of .ico and .png. I think the inconsistency is acceptable, and even desirable, seeing as these are the actual icons that would appear in the UrlbarView should they appear in the user's frecency results.

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

--HG--
extra : moz-landing-system : lando
2020-01-27 16:33:41 +00:00
Julian Descottes
19c8bdd3d8 Bug 1611099 - Do not set frame.tooltip when creating the devtools BrowserToolbox frame r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D60984

--HG--
extra : moz-landing-system : lando
2020-01-27 16:07:37 +00:00
Patrick Brosset
43d56a2a68 Bug 1611007 - Adjust the wording for the position inactiveCSS label r=jdescottes,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D60815

--HG--
extra : moz-landing-system : lando
2020-01-23 11:10:35 +00:00
moz-wptsync-bot
4a126ea0c9 Bug 1611299 - [wpt-sync] Update web-platform-tests to d5103044974ae41deb6e099649d7520c374aa36b, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: d5103044974ae41deb6e099649d7520c374aa36b
wpt-type: landing
2020-01-27 15:36:08 +00:00
Stephen McGruer
a4cc661d7c Bug 1611245 [wpt PR 21392] - Replace some assert_throws('Something', stuff) calls with assert_throws_dom, a=testonly
Automatic update from web-platform-tests
Replace some assert_throws('Something', stuff) calls with assert_throws_dom. (#21392)

This diff was generated by running:

  find . -type f -print0 | xargs -0 perl -pi -e "BEGIN { \$/ = undef; } s/assert_throws\(([ \n]*'[A-Za-z_]*') *(, *.)/assert_throws_dom(\1\2/gs"

in bash (doesn't work in tcsh, due to the $ inside "").

This does affect indentation poorly in cases when the first arg was on the same
line as the assert_throws, there was a newline after the ',' after the first
arg, and the following args were lined up with the first arg.  Fixing that,
especially when there are multiple lines after the first arg, is not trivial
with a regexp.

Co-authored-by: Boris Zbarsky <bzbarsky@mit.edu>

--

wpt-commits: d5103044974ae41deb6e099649d7520c374aa36b
wpt-pr: 21392
2020-01-27 15:36:07 +00:00
Boris Zbarsky
c764d185f0 Bug 1611189 [wpt PR 21380] - Replace some more "assert_throws(new FooError(), stuff)" calls with a…, a=testonly
Automatic update from web-platform-tests
Replace some more "assert_throws(new FooError(), stuff)" calls with assert_throws_js or assert_throws_dom. (#21380)

This diff was generated by running:

  find . -type f -print0 | xargs -0 perl -pi -e 'BEGIN { $/ = undef; } s/assert_throws\(([ \n]*)new ([A-Za-z]*Error) *\(\) *(, *.)/assert_throws_js(\1\2\3/gs'

on the relevant files and then:

1) Manually fixing up "assert_throws_js(SyntaxError, ...)" to be 'assert_throws_dom("SyntaxError", ...).

2) Changing kv-storage/interface.https.html to get TypeError from the same global as the object it's testing.

Note: these are the files which had changes to them reverted as part
of landing <https://github.com/web-platform-tests/wpt/pull/21354>.
The two manual fixups there address the issues that led to the revert.
--

wpt-commits: 9940584f86638e9e558928d0a5fc7266f1848cec
wpt-pr: 21380
2020-01-27 15:36:07 +00:00
moz-wptsync-bot
53c129d581 Bug 1611178 [wpt PR 21377] - Update wpt metadata, a=testonly
wpt-pr: 21377
wpt-type: metadata
2020-01-27 15:36:06 +00:00
Stephen McGruer
2c75ae426a Bug 1611178 [wpt PR 21377] - Replace some assert_throws("Something", stuff) calls with assert_throws_dom, a=testonly
Automatic update from web-platform-tests
Replace some assert_throws("Something", stuff) calls with assert_throws_dom. (#21377)

This diff was generated by running:

  find . -type f -print0 | xargs -0 perl -pi -e 'BEGIN { $/ = undef; } s/assert_throws\(([ \n]*"[A-Za-z_]*") *(, *.)/assert_throws_dom(\1\2/gs'

followed by a fix to
xhr/resources/send-after-setting-document-domain-window-helper.js to make
xhr/send-after-setting-document-domain.htm pass.

This does affect indentation poorly in cases when the first arg was on the same
line as the assert_throws, there was a newline after the ',' after the first
arg, and the following args were lined up with the first arg.  Fixing that,
especially when there are multiple lines after the first arg, is not trivial
with a regexp.

Co-authored-by: Boris Zbarsky <bzbarsky@mit.edu>

--

wpt-commits: 3696f2233a37437896505b7187968aa605be9255
wpt-pr: 21377
2020-01-27 15:36:06 +00:00
Stephen McGruer
04a33015dc Bug 1611239 [wpt PR 21390] - Replace some "assert_throws({'name': 'domerror'}, stuff)" with assert_throws_dom, a=testonly
Automatic update from web-platform-tests
Replace some "assert_throws({'name': 'domerror'}, stuff)" with assert_throws_dom. (#21390)

This diff was generated by running:

  find . -type f -print0 | xargs -0 perl -pi -e "BEGIN { \$/ = undef; } s/assert_throws\(([ \n]*)\{ *[\"']?name[\"']? *: *(['\"](?:InvalidStateError|SyntaxError|NotSupportedError|DataError|SecurityError)[\"']) *\} *(, *.)/assert_throws_dom(\1\2\3/gs"

in bash (doesn't work in tcsh, due to the $ inside "").

Co-authored-by: Boris Zbarsky <bzbarsky@mit.edu>

--

wpt-commits: a20f9f34f30dea66683c656b9a6561a8d4b474a0
wpt-pr: 21390
2020-01-27 15:36:05 +00:00
J.C. Jones
9646d48122 Bug 1601427 [wpt PR 20619] - Add nsatragno to webauthn reviewers list, a=testonly
Automatic update from web-platform-tests
Add nsatragno to webauthn reviewers list

--

wpt-commits: bf9b18d3a7de81ce0308af1c74c47d811083ca29
wpt-pr: 20619
2020-01-27 15:36:05 +00:00
Boris Zbarsky
19cbec173e Bug 1611228 [wpt PR 21385] - Remove assert_throws use in html tests., a=testonly
Automatic update from web-platform-tests
Remove assert_throws use in html tests. (#21385)

--

wpt-commits: 93ee31309acd4081e5da8f4f020664f9cecb90f3
wpt-pr: 21385
2020-01-27 15:36:04 +00:00
Boris Zbarsky
a208bd2617 Bug 1611230 [wpt PR 21386] - Remove assert_throws use in FileAPI tests., a=testonly
Automatic update from web-platform-tests
Remove assert_throws use in FileAPI tests. (#21386)

--

wpt-commits: a9c0cab763ec38a6b8f10a106f87d944d5588c02
wpt-pr: 21386
2020-01-27 15:36:04 +00:00
Boris Zbarsky
7a9e5b19de Bug 1611223 [wpt PR 21382] - Remove assert_throws use in custom elements tests, a=testonly
Automatic update from web-platform-tests
Remove assert_throws use in custom elements tests (#21382)

--

wpt-commits: a2175cc3a07e1de1e9d09df99a09ab60e954d9dc
wpt-pr: 21382
2020-01-27 15:36:03 +00:00
Stephen McGruer
ab39343110 Bug 1611180 [wpt PR 21378] - Replace some "assert_throws(FooError(), stuff)" calls with assert_throws_js, a=testonly
Automatic update from web-platform-tests
Replace some "assert_throws(FooError(), stuff)" calls with assert_throws_js. (#21378)

This diff was generated by running:

  find . -type f -print0 | xargs -0 perl -pi -e 'BEGIN { $/ = undef; } s/assert_throws\(([ \n]*)([A-Za-z]*Error) *\(\) *(, *.)/assert_throws_js(\1\2\3/gs'

and then:

1) Manually editing dom/nodes/Element-matches.js to get the TypeError
constructor from the element's global.

2) Manually editing dom/nodes/ParentNode-querySelector-All.js to get the
TypeError constructor from root's global, whether "root" is a Document or some
other kind of node.

Co-authored-by: Boris Zbarsky <bzbarsky@mit.edu>

--

wpt-commits: f06523527a0735d23879f4e687d6efc095f780b7
wpt-pr: 21378
2020-01-27 15:36:03 +00:00
moz-wptsync-bot
aece359253 Bug 1607389 [wpt PR 21062] - Update wpt metadata, a=testonly
wpt-pr: 21062
wpt-type: metadata
2020-01-27 15:36:02 +00:00
Patrick Shaughnessy
d22a06981b Bug 1607389 [wpt PR 21062] - Add PutForwards to implemented attributes that lacked it, a=testonly
Automatic update from web-platform-tests
PutForwards cleanup

--

wpt-commits: b637a4b36e1a7aab6eaeb82b1247267e2217bbb2
wpt-pr: 21062
2020-01-27 15:36:02 +00:00
moz-wptsync-bot
ab00a0eae1 Bug 1610669 [wpt PR 21326] - Update wpt metadata, a=testonly
wpt-pr: 21326
wpt-type: metadata
2020-01-27 15:36:02 +00:00
Nicolás Peña Moreno
69a3ed6939 Bug 1610669 [wpt PR 21326] - Use assert_precondition in ElementTiming/LargestContentfulPaint, a=testonly
Automatic update from web-platform-tests
Use assert_precondition in ElementTiming/LargestContentfulPaint

This CL replaces assert_unreached for assert_precondition for the API
existence checks in the ElementTiming and LargestContentfulPaint WPTs.

Change-Id: Icd2ff3e045835cf4c46a370a384455143a717308
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2013863
Reviewed-by: Tom McKee <tommckee@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#734494}

--

wpt-commits: bd2c0495a860571b7467989e89dd51ebad4f9562
wpt-pr: 21326
2020-01-27 15:36:01 +00:00
moz-wptsync-bot
01ec94f3a7 Bug 1611039 [wpt PR 21362] - Update wpt metadata, a=testonly
wpt-pr: 21362
wpt-type: metadata
2020-01-27 15:36:01 +00:00
Xiaocheng Hu
f46e77a8db Bug 1611039 [wpt PR 21362] - Add tests of the recalculation of 'ch' in pseudo elements, a=testonly
Automatic update from web-platform-tests
Add tests of the recalculation of 'ch' in pseudo elements

Length unit 'ch' should be recalculated after loading a web font. This
patch is a followup of crrev.com/c/1972815 to ensure that it's also
recalculated in pseudo elements.

Bug: 441925
Change-Id: Ie62dba854aa9d1beb6b9a734f31760abf1acd040
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2016198
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#734495}

--

wpt-commits: 025c749a21b0fd0c9bd758cc33c7ff3e122073de
wpt-pr: 21362
2020-01-27 15:36:00 +00:00
moz-wptsync-bot
26b068f978 Bug 1611182 [wpt PR 21379] - Update wpt metadata, a=testonly
wpt-pr: 21379
wpt-type: metadata
2020-01-27 15:36:00 +00:00
Stephen McGruer
f7f47fe879 Bug 1611182 [wpt PR 21379] - Replace some "assert_throws({'name': 'jserror'}, stuff)" with assert_throws_js, a=testonly
Automatic update from web-platform-tests
Replace some "assert_throws({'name': 'jserror'}, stuff)" with assert_throws_js. (#21379)

This diff was generated by running:

  find . -type f -print0 | xargs -0 perl -pi -e "BEGIN { \$/ = undef; } s/assert_throws\(([ \n]*)\{ *[\"']?name[\"']? *: *['\"](TypeError|Error)[\"'] *\} *(, *.)/assert_throws_js(\1\2\3/gs"

in bash (doesn't work in tcsh, due to the $ inside "") and then manually
changing service-workers/service-worker/ServiceWorkerGlobalScope/resources/extendable-message-event-constructor-worker.js
to use assert_throws_exactly in a few places where we want to verify that
specific exception values are propagated out.

Co-authored-by: Boris Zbarsky <bzbarsky@mit.edu>

--

wpt-commits: b0daaa6b86c3dc2f9c16aa362136655c0db7308b
wpt-pr: 21379
2020-01-27 15:35:59 +00:00
moz-wptsync-bot
4e56a7f644 Bug 1610743 [wpt PR 21333] - Update wpt metadata, a=testonly
wpt-pr: 21333
wpt-type: metadata
2020-01-27 15:35:59 +00:00
Blink WPT Bot
0f0587ee96 Bug 1610743 [wpt PR 21333] - SharedWorker: Add meta.url WPT for SharedWorker with type 'module', a=testonly
Automatic update from web-platform-tests
SharedWorker: Add meta.url WPT for SharedWorker with type 'module' (#21333)

This CL adds a web platform test for checking the behavior of
|import.meta.url| in SharedWorker when the script type is set to module.

Bug: 824646
Change-Id: Ifaa34e238fe0a432137c5e8213e81610249b7e79
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2014355
Commit-Queue: Eriko Kurimoto <elkurin@google.com>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#734387}
--

wpt-commits: 380eb46722a1945770c4df9bd00ea0ea77868d0b
wpt-pr: 21333
2020-01-27 15:35:58 +00:00
moz-wptsync-bot
139a8192ec Bug 1610592 [wpt PR 21311] - Update wpt metadata, a=testonly
wpt-pr: 21311
wpt-type: metadata
2020-01-27 15:35:58 +00:00
Lucas Gadani
59dc8d554b Bug 1610592 [wpt PR 21311] - CSP: Enforce XFO when CSP doesn't contain frame-ancestors., a=testonly
Automatic update from web-platform-tests
CSP: Enforce XFO when CSP doesn't contain frame-ancestors.

Bug: 1040877
Change-Id: I378a501abc21687b34ce017c53ecbd63dbe28e41
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2012806
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Commit-Queue: Lucas Gadani <lfg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#734476}

--

wpt-commits: 968f265e04a9379a6647546df9bd9a367cd9e242
wpt-pr: 21311
2020-01-27 15:35:57 +00:00
Stephen McGruer
c67612824c Bug 1610938 [wpt PR 21354] - Replace some "assert_throws(new FooError(), stuff)" calls with assert_throws_js, a=testonly
Automatic update from web-platform-tests
Replace some "assert_throws(new FooError(), stuff)" calls with assert_throws_js. (#21354)

This diff was generated by running:

  find . -type f -print0 | xargs -0 perl -pi -e 'BEGIN { $/ = undef; } s/assert_throws\(([ \n]*)new ([A-Za-z]*Error) *\(\) *(, *.)/assert_throws_js(\1\2\3/gs'

and then:

1) Manually adjusting fullscreen/rendering/fullscreen-pseudo-class-support.html
to test for the right sort of exceptions ("SyntaxError" DOMException, not a JS
SyntaxError).

2) Manually adjusting performance-timeline/po-observe-type.any.js to test for
the right sort of exceptions ("SyntaxError" DOMException, not a JS
SyntaxError).

3) Manually adjusting performance-timeline/po-observe.any.js to test for
the right sort of exceptions ("SyntaxError" DOMException, not a JS
SyntaxError).

4) Manually adjusting user-timing/mark_exceptions.html to test for the right
sort of exceptions ("SyntaxError" DOMException, not a JS SyntaxError).

5) Manually adjusting user-timing/measure_syntax_err.any.js to test for the right
sort of exceptions ("SyntaxError" DOMException, not a JS SyntaxError).

6) Manually adjusting domxpath/lexical-structure.html to test for a
"SyntaxError" DOMException, since that's what all browsers throw and there is no
clear spec for this.

7) Manually adjusting workers/constructors/Worker/Worker-constructor.html to
test for the right sort of exceptions ("SyntaxError" DOMException, not a JS
SyntaxError).

8) Backing out the changes to resources/idlharness.js because some tests pass
objects from a different window to it, and we end up with the wrong TypeError
constructor in those cases.

This does affect indentation poorly in cases when the first arg was on the same
line as the assert_throws, there was a newline after the ',' after the first
arg, and the following args were lined up with the first arg.  Fixing that,
especially when there are multiple lines after the first arg, is not trivial
with a regexp.

Co-authored-by: Boris Zbarsky <bzbarsky@mit.edu>
Co-authored-by: Stephen McGruer <smcgruer@chromium.org>

--

wpt-commits: 2c5c3c4c27d27a419c1fdba3e9879c2d22037074
wpt-pr: 21354
2020-01-27 15:35:57 +00:00
moz-wptsync-bot
36da211367 Bug 1610860 [wpt PR 21344] - Update wpt metadata, a=testonly
wpt-pr: 21344
wpt-type: metadata
2020-01-27 15:35:56 +00:00
Pâris Meuleman
5481bc673d Bug 1610860 [wpt PR 21344] - Change COEP tests relying on onload events for network errors to timeouts, a=testonly
Automatic update from web-platform-tests
Change COEP tests relying on onload events for network errors to use a timeout instead (#21344)

--

wpt-commits: 2f39e90ef46a0aeaf2ac7e769f0478bb5882dfed
wpt-pr: 21344
2020-01-27 15:35:56 +00:00
Ian Kilpatrick
ec7c6e8a40 Bug 1610547 [wpt PR 21308] - [FlexNG] Use previous constraint space for layout roots., a=testonly
Automatic update from web-platform-tests
[FlexNG] Use previous constraint space for layout roots.

Devtools had an issue where elements were sized at 0px height.
This was caused by the relayout boundary logic not working correctly.

In Devtools these elements had layout and size containment triggering
ObjectIsRelayoutBoundary() to return true.

The call to NGConstraintSpace::CreateFromLayoutObject for this flex-item
was incorrect as it wasn't using the stretched size (as we don't
set HasOverrideLogicalWidth(), etc).

This refactors the various callers of
NGConstraintSpace::CreateFromLayoutObject and create a new method
UpdateInFlowBlockLayout which contains the previously (duplicated)
logic.

This new method will try and use the previous constraint space (if
it is a layout root), instead of creating it.

Bug: 845235
Change-Id: I52ddb9d58ae010305b980657bb434a30d5b7fbbb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2010983
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#734420}

--

wpt-commits: fb09ccb613400a3a0327967063cb1117cea96468
wpt-pr: 21308
2020-01-27 15:35:55 +00:00
Blink WPT Bot
8239cc35d4 Bug 1611005 [wpt PR 21360] - [WPT/referrer-policy] Add generated files: split 4K tests, a=testonly
Automatic update from web-platform-tests
[WPT/referrer-policy] Add generated files: split 4K tests (#21360)

This CL updates generated files, reflecting changes in
https://chromium-review.googlesource.com/c/chromium/src/+/1991066.

Bug: 906850
Change-Id: I4dc79a2afc93e7a22c8c1cf83250d05876cc6103
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1993003
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Cr-Commit-Position: refs/heads/master@{#734229}

Co-authored-by: hiroshige-g <hiroshige@google.com>

--

wpt-commits: 8b14c263b71a7ef4e4bd104afbbe064fedf02e7a
wpt-pr: 21360
2020-01-27 15:35:55 +00:00
ziransun
38c9be0905 Bug 1610854 [wpt PR 21343] - Python3: replace usage of 'xrange' with 'six.moves.range', a=testonly
Automatic update from web-platform-tests
Python3: replace usage of 'xrange' with 'six.moves.range' (#21343)

--

wpt-commits: e2c33e25126008057a41966463f064cc3d08a580
wpt-pr: 21343
2020-01-27 15:35:54 +00:00
Stephen McGruer
85fa8653eb Bug 1610862 [wpt PR 21346] - Add more reviewers to tools/META.yml, a=testonly
Automatic update from web-platform-tests
Add more reviewers to tools/META.yml (#21346)

--

wpt-commits: 3eef88a45f57eac659b9f4ea8c1b56031cae8842
wpt-pr: 21346
2020-01-27 15:35:54 +00:00
moz-wptsync-bot
c8214c95a1 Bug 1611057 [wpt PR 21365] - Update wpt metadata, a=testonly
wpt-pr: 21365
wpt-type: metadata
2020-01-27 15:35:53 +00:00
Blink WPT Bot
5a590ee48f Bug 1611057 [wpt PR 21365] - SharedWorker: Fix the wrong WPT undefined-arguments.html, a=testonly
Automatic update from web-platform-tests
SharedWorker: Fix the wrong WPT undefined-arguments.html (#21365)

The worker's name must be |''| in this test.

According to the spec, the default value of WorkerOptions (which is the
second argument of SharedWorker) is set as follows:
dictionary WorkerOptions {
  WorkerType type = "classic";
  RequestCredentials credentials = "same-origin";
  DOMString name = "";
};

spec:https://html.spec.whatwg.org/multipage/workers.html#workeroptions
Here, name property is set to an empty string.
Therefore, the worker's name must be an empty string when the second
argument is |undefined|.
Bug:907749
Change-Id: I5bc9c5afcf76beae1e3924661b2ea65fad5efe1d
--

wpt-commits: 49cf4238f4f963392a17d5b9a81e347a1bfd3aa9
wpt-pr: 21365
2020-01-27 15:35:53 +00:00