This reuses the same code path that was added in bug 1461299 for NAC, but for
generated content as well. DestroyAnonymousContent notifies to the ESM.
Also, remove the NativeAnonymousContentRemoved bit about <svg:use> since it's no
longer NAC.
Differential Revision: https://phabricator.services.mozilla.com/D5575
I think conceptually we should flush layout instead of frames and do it
unconditionally, but everyone agrees on not doing that, and it can be really
slow, so will raise it to the CSSWG and get this spec'd.
See the test-case in bug 1458816, which tracks that.
I don't want to uplift this, but I think it's worth landing.
Differential Revision: https://phabricator.services.mozilla.com/D5562
It can flush the parent document from MediaQueryList::RecomputeMatches, which
can destroy our pres context.
I think that flush is wrong btw, it should probably either flush layout so the
viewport size is correct, or just not flush (we should make MediaList::Matches
take a document now that we don't need a pres context to match media queries,
but that requires a bit more refactoring).
Differential Revision: https://phabricator.services.mozilla.com/D5524
This moves large parts of the geckodriver README to
firefox-source-docs.m.o so that we avoid duplicating content.
This move also makes sense in the context that we will not continue
to release from GitHub for ever.
Automatic update from web-platform-testsImplement DTMF [[ToneBuffer]] in the blink layer
This CL makes the Blink layer keep a copy of the tone buffer
and update it on insertDTMF and ontonechange events only; this
makes it possible to expose the state of the tone buffer at the
time the event is fired to the Javascript callback.
It removes a queueing step inside the DTMF sender, because
that queueing step destroyed the consistency.
Bug: chromium:816475
Change-Id: I5aa68396299a67d6cea1e8a17d364f553514c291
Reviewed-on: https://chromium-review.googlesource.com/1213084
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Commit-Queue: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589910}
--
wpt-commits: e25d48a3cd5af4b30b9e2deb3201edfece436830
wpt-pr: 12895
Automatic update from web-platform-tests[testharness.js] Reject non-thenable values (#12898)
Previously, any test defined via the `promise_test` API would fail
immediately if its body returned the value `undefined`. The test would
*not* fail if it returned any other value. Because the motivation for
using `promise_test` is to track resolution with a "thenable" value
(i.e. an object with a "then" method), this was overly permissive and
allowed contributors to write tests which spuriously passed [1].
Update testharness.js to enforce more stringent criteria on the value
return by `promise_test` bodies: that it is a "thenable" value. This
change is incompatible with an exiting functional test, but it does not
effect any tests in WPT (as verified by a survey using both the Chrome
and Firefox browsers). Update the functional test accordingly.
[1] cca6b6845678d9b5f792b886f3f7045d1d2cf0a7
--
wpt-commits: 86579034357501943927f3dc4abf75d76c477383
wpt-pr: 12898
Automatic update from web-platform-testsCSS: serialize linearRGB and sRGB in lower case
CSS keywords serialize in lower case.
https://drafts.csswg.org/cssom/#serializing-css-values
"To serialize a CSS component value depends on the component, as follows:
keyword
The keyword converted to ASCII lowercase."
BUG=882014
Change-Id: Ibdfb7f3bf64f26bc4841bbf012668d9071d4473c
Reviewed-on: https://chromium-review.googlesource.com/1213563
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#589769}
--
wpt-commits: 1c486739d0b8932b4a23ce5ed16936f87fb3b062
wpt-pr: 12903
Automatic update from web-platform-testsFire XHR abort event from a task
A test for this new behavior is included as
external/wpt/xhr/abort-after-stop.htm.
This also means that XHR abort and readystatechange events from
navigation is no longer fired. Because of that,
external/wpt/xhr/open-url-multi-window-4.htm now times out rather than
fails on an assertion, aligning with Firefox. A TestExpectations entry
has been added with a bug that tracks fixing this test in spec or
upstream in WPT. A few other test expectations were updated as well to
account for this.
http/tests/navigation/reentrant-xhr-onabort-crash-during-commit.html no
longer works as intended, as abort event is no longer fired
synchronously (and thus does not expose the same crash surface). It is
replaced with an EventSource-based test that functions the same way as
XHR before this CL. Note, currently EventSource's error event suffers
from the same problem as XHR's abort event, and the class might undergo
the same change as this in the future. We will look into an alternative
for this test when that change is done.
Bug: 879620, 881180
Change-Id: I5a91047086d06347794656f92511a53c22401b5e
Reviewed-on: https://chromium-review.googlesource.com/1208672
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Commit-Queue: Timothy Gu <timothygu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589634}
--
wpt-commits: 070b8cc14e896cb7d18e0043dbbf9e4c563d9fc0
wpt-pr: 12865
Automatic update from web-platform-tests
Add WebDriver executor for wptrunner
This adds edge_webdriver, chrome_webdriver, and safari_webdriver as products.
Co-authored-by: Geoffrey Sneddon <me@gsnedders.com>
--
Fix get_test_window in SeleniumExecutor to use the window_id arg
--
Clarify comment
--
wpt-commits: 9506c250d037996259a8521aeb0d4855913cd078, 82f2a37af56857585cb2bf868ef89eeba7e9b698, 59bed3508ceae6bd16e31971c3d0448d13a5113b
wpt-pr: 12380
Automatic update from web-platform-testsSlightly improve AudioBuffer resampling
Use simple linear extrapolation to resample the data when we reach the
end of the buffer. Previously, the last sample would just be repeated
enough times.
Manually verified that the test passes on Firefox (nightly) and fails
on Chrome without this CL.
Bug: 881119
Test: the-audiobuffersourcenode-interface/buffer-resampling.html
Change-Id: I1eb6ee089aa5477e03ff7184eb974f769b739528
Reviewed-on: https://chromium-review.googlesource.com/1211910
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589529}
--
wpt-commits: 8764370989723f3166cb8aeee5506e93833aa146
wpt-pr: 12887
Automatic update from web-platform-tests[css-contain] check the effects of containment on baseline alignment (#12868)
* [css-contain] check the effects of containment on baseline alignment
Tests for https://github.com/w3c/csswg-drafts/issues/2995
Only the layout and size variant are needed to catch know bugs (in
chrome) at the time of implementation, and mistakes on paint or style
would be surprising, but it doesn't hurt to be exhaustive.
--
wpt-commits: 844cecae1ea48d364c5dfb723695354256c13666
wpt-pr: 12868
Automatic update from web-platform-testsHTML: test how <legend align> does not map to text-align
See https://github.com/whatwg/html/pull/3934
--
wpt-commits: 7fc2450b557f563772fcab4f58c8be7a0ac4d0f1
wpt-pr: 12811
Automatic update from web-platform-testsImprove test coverage of registered properties in paint worklets.
The most important use case for css-properties-values-api is having typed
(and possibly interpolated) custom properties in paint worklets.
So naturally, this is the *least* well tested use case in WPT. This CL
improves that by adding tests for most of the syntax types. The test works
as a kind of "ref" test, which compares the output of CSSStyleValue.parse
/parseAll with the value observed inside the worklet.
<transform-function> and <transform-list> are not supported yet, so they
will come later.
Interpolations should also be tested, but that belongs in a separate test.
Bug: 641877
Change-Id: I4bd310ecd61a2a8989df9c4a5c818cdc7c179b3a
Reviewed-on: https://chromium-review.googlesource.com/1209711
Commit-Queue: Anders Ruud <andruud@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589461}
--
wpt-commits: e5f7af549a9fe9c35191ad3f1ffaa3b02ed47795
wpt-pr: 12881