As noted this changes behavior, but it's unclear per
https://github.com/w3c/csswg-drafts/issues/2328 what behavior is correct, and
our behavior is inconsistent depending on whether there's any percentage
involved.
This matches other browsers so it's pretty low risk I'd say.
The test starts passing without changes to the test, but given the CSSWG issue I
made the test not rely on the optimization.
Differential Revision: https://phabricator.services.mozilla.com/D43754
--HG--
extra : moz-landing-system : lando
Report both failures and skipped test counts.
(Also incidentally fixes platform name reporting of fission tests.)
Differential Revision: https://phabricator.services.mozilla.com/D44074
--HG--
extra : moz-landing-system : lando
In the old setup, a lookup with an nsAString key would implicitly construct an
AtomOrString, which would assign the key to an nsString. This would lead to
copies and heap-allocations if the key was an autostring, which it typically is
when coming from bindings.
This fix improves the performance of the new window-named-property-get.html pref
reftest by about 20-30%, and improves the new getElementById-1.html test by 2-3x.
Differential Revision: https://phabricator.services.mozilla.com/D44015
--HG--
extra : moz-landing-system : lando
Hooks up slow script reporting to the ContentDelegate. Allowing slow script prompts to be implemented.
Differential Revision: https://phabricator.services.mozilla.com/D41970
--HG--
extra : moz-landing-system : lando
If there are no stored logins, the Cancel button is hidden.
If there are visible stored logins, clicking the Cancel button will exit and move to the first login in the list.
If there are no visible stored logins, clicking the Cancel button will reset the search filter, exit, and move to the first login in the list.
This patch also fixes a race condition where we could end up with multiple observer notifications if about:logins was loaded multiple times very quickly.
Differential Revision: https://phabricator.services.mozilla.com/D43544
--HG--
extra : moz-landing-system : lando
Only SeekToNextFrame cares about promises, but prior to this patch the common
method HTMLMediaElement::Seek() would always return a promise.
When the caller was not SeekToNextFrame (e.g., SetCurrentTime, FastSeek), the
promise would end up *not* being exposed. When later rejected, we would catch
this and write an error to the js console.
This patch lifts the handling of the promise out of Seek() and into
SeekToNextFrame() so that we avoid creating promises that would not get exposed
to js.
Differential Revision: https://phabricator.services.mozilla.com/D42511
--HG--
extra : moz-landing-system : lando
Automatic update from web-platform-tests
HTML: tests for cases where a <base target> shouldn't apply
--
wpt-commits: dbb4e0ccfd0a97f80becd851371fb5a205aef7ec
wpt-pr: 17419
Automatic update from web-platform-tests
[Azure Pipelines] reduce cadence of stable Safari runs to daily (#18699)
It's now running more frequently than Chrome and Firefox:
https://wpt.fyi/runs?labels=master,stable&products=chrome,firefox,safari
These extra runs aren't very valuable, so let's reduce resource use.
--
wpt-commits: aeb8906800378e1222781005ff4f59b5695939fa
wpt-pr: 18699
Automatic update from web-platform-tests
Fix the WebDriver executor to actually delete the session
webdriver.quit doesn't exist, but webdriver.end does
--
Add more debug info when we timeout and when killing WebDriver
--
wpt-commits: beb4659e42c41f98f21ecc22c7ed501c2b9f37f9, d746cd6ed1ec1caa0b7469d55dd3fa1a4a9305d9
wpt-pr: 18642
Automatic update from web-platform-tests
[EventTiming] Replace onload tests
The onload-related tests were meant to test the performance timeline buffering
behavior. But now that Event Timing is not exposed on the timeline, those tests
don't really make much sense. Instead, a test is added to test that the
timestamps corresponding to two 'consecutive' clickAndBlockMain() calls behave
as one would expect.
Bug: 987236
Change-Id: Icc798fe1e0684a52992a83ba4de931481e1ded2a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1766762
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690738}
--
wpt-commits: a06073285c93394247f8a01c032f5abffa1d3f10
wpt-pr: 18620
Automatic update from web-platform-tests
Run DOM IDL tests in workers and convert to `idl_test` (#18688)
Because of the use of variants it's unfortunately not possible to
merge this into a single test, but the duplication is not very
significant. Note that the use of `document.createEvent("Event")`
would make a merged test have non-trivial conditional setup too.
--
wpt-commits: 53cca8d2a406fb06028b4e6eac25d648da02f801
wpt-pr: 18688
Automatic update from web-platform-tests
Convert some tests to use `idl_test` (#18677)
--
wpt-commits: a593c50f4371977e6df58ccbffedbdca8b3910f4
wpt-pr: 18677
Automatic update from web-platform-tests
Port a small collection of basic interpolation tests to WPT
These are mostly unrelated properties, but are also simple test cases.
Bug: 900581
Change-Id: I2353dbcb6ee733f9c0a9289b46eae4e00ade7c98
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1771576
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690597}
--
wpt-commits: 86e33a2375adc1d8c4249b01e92c4af3fc175b9b
wpt-pr: 18675
Automatic update from web-platform-tests
Fix send-redirect-bogus-sync.htm when run locally
The wpt xhr/send-redirect-bogus.sync.htm will timeout when run in a
network where a host named "z" exists but is not responding.
Change the hostname used in the test to "z." which reduces the risk that
it will resolve.
Change-Id: Ia368e6adaa850fa550788a9b26e422b3f32752b8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1768505
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Commit-Queue: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690586}
--
wpt-commits: 481a2b6ee5ff1764ad031646e52044aae6ff311c
wpt-pr: 18679
Automatic update from web-platform-tests
[ChromeDriver] Creates new ChromeDriver SetPermission command
Adds W3C WebDriver extension, SetPermission, to support simple
permissions.
Design doc: go/chromedriver-permissions-ext
of the spec, the tests do not test much, so new tests were added to
run_py_tests to enfore certain behaviors.
Tested: Passing W3C permissions tests. Due to the relaxed definition
Bug: chromedriver:2212
Change-Id: Ie61cc4c0e18c714f93ac7ab918d0cec0e4210e1e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1666438
Reviewed-by: Balazs Engedy <engedy@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: Caleb Rouleau <crouleau@chromium.org>
Reviewed-by: John Chen <johnchen@chromium.org>
Commit-Queue: Rohan Pavone <rohpavone@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690496}
--
wpt-commits: f4a5e48093eeafe085fbae92253acd2c967ced4d
wpt-pr: 18429
Automatic update from web-platform-tests
[WPT/referrer-policy] Fix races around history.back()
Because history.back() works asynchronously,
there are races between history.back() and subsequent
promise_test()s.
For exmample:
1. The first 4K-length-referrer subtest finishes and history.back() is called.
2. The second subtest starts, and replaceState() is called.
3. The change to `location` caused by hisotory.back() in Step 1
comes into effect.
4. The second subtest finishes -- at this time, `location` is the
original Document URL
(not '.../AAAA....AAA' set by replaceState() in Step 2)
and thus history.back() has no effects.
This CL fixes the race by waiting for `popstate` events that should
be fired at the end of async tasks of history.back().
This CL reverts the changes to `referrer-policy-test-case.sub.js` in
https://github.com/web-platform-tests/wpt/pull/184018b46cbf469
and waits for popstate instead, because single asyncResolve() isn't sufficient
to fix the race condition described above.
Bug: 906850
Change-Id: I21e7b8dd6001a13230fd8dca4d1693ae956958ed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717268
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690280}
--
wpt-commits: edd8fe11e357990cf3dafff83504c4f4a605028c
wpt-pr: 18055