When an image must be upscaled in only one dimension, we can
downscale-on-decode to a closer size than the native size. For example,
if an image is 32000x100, and we want 200x200, we can choose to decode
at 200x100. This allows drawing to scale in only one dimension, and use
less memory to store the decoded data, all the while not affecting the
display quality.
Automatic update from web-platform-testsWebCryptoAPI: Use .any.js for generateKey tests and split up slow tests (#10984)
Slow tests test 10 subtests at a time, using the `// META: variant=...`
feature.
Fixes#10794.
--
wpt-commits: b395fb03bf62cbda20a383842b8da1701080ec43
wpt-pr: 10984
Automatic update from web-platform-testswebdriver: properly switching window focus after close of window (#10957)
The test_handle_prompt_accept test for closing a window tests to see if an
alert was handled. It does so by calling the Get Alert Text end point.
However, the Get Alert Text end point requires an active, valid top-level
browsing context to have the focus. The test now switches focus back to
the previous window before checking that an alert was handled. In between
checking the alert, confirm, and prompt cases, it recreates the new window
required so it can be closed.
--
wpt-commits: 973caf595dbfc6f7b101244ba3d8871c0c5bd510
wpt-pr: 10957
Automatic update from web-platform-testsAsync Cookies: Change events in service workers.
While installing, a service worker may call
cookieStore.subscribeToChanges() to express interest in observing the
changes to the list of cookies sent in a request to a specific URL.
After the service worker becomes active, it is notified of changes to
the cookies it is interested in via "cookiechange" events, which are
dispatched to the service worker's global scope.
This CL lays the last piece in the foundation of the Async Cookies API,
which is currently gated by the Experimental Web Platform Features flag.
This CL focuses on the core functionality and plumbing. Follow-up CLs
will add more tests, fix the handling of edge cases, and improve
performance.
Bug: 729800
Change-Id: I52f2e550d7901d746ed1a973426d3181ea091147
Reviewed-on: https://chromium-review.googlesource.com/979334
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Reviewed-by: Mark Pearson <mpearson@chromium.org>
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558682}
--
wpt-commits: c16fdfb6fe53019649d14179bce3e50acdefa3b4
wpt-pr: 10946
Automatic update from web-platform-tests[wptserve] Correct domain configuration on *nix
Because Windows and UNIX-like systems differ in how they interpret the
IP address `0.0.0.0`, the hosts file contents generated for use with the
WPT server must take the platform into account.
Extend the hosts file generation logic and introduce "infrastructure
assumptions" tests to assert the inavailibility of the domain.
--
[infra] Rename nonexistent domain
Contributors have expressed confusion over the term "nonexistent origin"
to describe a domain that is not intended to exist. Rename the subdomain
to "nonexistent" to clarify its role.
--
wpt-commits: 136154864a88788cb58d6ff079e6d030cbe8c60f, 927cd2216d34dc2f9824a6899476f26b6b11dd31
wpt-pr: 10878
Automatic update from web-platform-testsRename *-expected.html to *-ref.html (#11004)
While there is no rule or lint for the naming, *-expected.html is the
convention in WebKit/Blink, and in WPT *-ref.html is the norm. (These
were the only *-expected.html, and there are 3000+ *-ref.html.)
--
wpt-commits: 7f1de072fc9eac6757d0b0691ad2194894b74a67
wpt-pr: 11004
--HG--
rename : testing/web-platform/tests/css/css-fonts/support/fonts/font-feature-settings-rendering-2-expected.html => testing/web-platform/tests/css/css-fonts/support/fonts/font-feature-settings-rendering-2-ref.html
rename : testing/web-platform/tests/fetch/corb/img-html-correctly-labeled.sub-expected.html => testing/web-platform/tests/fetch/corb/img-html-correctly-labeled.sub-ref.html
rename : testing/web-platform/tests/fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub-expected.html => testing/web-platform/tests/fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub-ref.html
rename : testing/web-platform/tests/fetch/corb/img-png-mislabeled-as-html.sub-expected.html => testing/web-platform/tests/fetch/corb/img-png-mislabeled-as-html.sub-ref.html
rename : testing/web-platform/tests/svg/extensibility/foreignObject/stacking-context-expected.html => testing/web-platform/tests/svg/extensibility/foreignObject/stacking-context-ref.html
Automatic update from web-platform-testsMerge pull request #10973 from csnardi/parsing-tests
Use getPropertyValue in parsing-testcommon.js
--
wpt-commits: b18d298125b77bb5da7b143500a24bbacea91746
wpt-pr: 10973
Automatic update from web-platform-testsMerge pull request #10991 from cvazac/cvazac/tao
Server-Timing: test TAO:* for cross-origin resource
--
wpt-commits: 8043ae8364ab296e74666dd499c0b257c03134d2
wpt-pr: 10991
Automatic update from web-platform-testsChange how invalid base URLs are tested
Fixes#8707. Supercedes #10917, which it is based on.
This keeps the tests inside urltestdata.json, but adds a new requirement on consumers of that file that they should also test their base URL parsing logic by reusing the data in a different way.
It also rearranges the various cases from 90efdbecfe3c457b36c71cf3e01a72cd5301c163 under several different headings.
--
wpt-commits: 88b75886e68ce5197019a2707fc6f1b9645a4639
wpt-pr: 10955
Automatic update from web-platform-testsTest document.write() on various documents
See https://bugzilla.mozilla.org/show_bug.cgi?id=1444872 for context.
--
wpt-commits: 1fdae86115774466c43ad13bc203eb6207b2e8ff
wpt-pr: 10209
Automatic update from web-platform-testsTeach the linter about // META: variant=
--
Stop making gsnedders glare at me
--
wpt-commits: bd57e8129ec9c06609307fb61011ddfb5c6233dc, c4eab5504321ac2b875fc5bf7a58d99056367379
wpt-pr: 10985
Automatic update from web-platform-tests[Squad] Get rid of MutableStyleRef() in list items.
Clone and reset ComputedStyle When modifying the style of anonymous
layout objects inside list items.
Bug: 813068
Change-Id: Icd0d9d93d0e64fd130cfb5ba151bce7c34bfb234
Reviewed-on: https://chromium-review.googlesource.com/1053727
Reviewed-by: cathie chen <cathiechen@tencent.com>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558257}
--
wpt-commits: b22e127b0477ecbae77b8a75173b1f93338d0af7
wpt-pr: 10979
Automatic update from web-platform-testsMake fetch_tests_from_worker return a promise that resolves when the remote tests complete.
--
wpt-commits: fcb5082b1653563d214d8ab146fe88cb95ec0cf5
wpt-pr: 10978
Automatic update from web-platform-tests[ServiceWorker] Propagate change for ServiceWorkerRegistration#updateViaCache
This CL propagates change of registration's `updateViaCache` to
corresponding registration objects in the renderer process to set their
ServiceWorkerRegistration#updateViaCache attribute.
BUG=675540
Change-Id: I6bb80dacbdd6a276f7ba8eb95f9f1e5379fbf03b
Reviewed-on: https://chromium-review.googlesource.com/1002732
Reviewed-by: Makoto Shimazu <shimazu@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558157}
--
wpt-commits: 7baa33480dbd697d3ea5ed81012daef21f655fa7
wpt-pr: 10379
Automatic update from web-platform-testsAdd support for 'x' as a unit of resolution
In https://drafts.csswg.org/css-values-4/#resolution, 'x' is defined as
a synonym for dppx. Add support for parsing 'x' as dots per px.
Intent to Implement and Ship:
https://groups.google.com/a/chromium.org/d/topic/blink-dev/FsD97U77tss
Bug: 630597, 807653
Change-Id: I70c440c89e42cd005a9c58fd89745a5603e0dee6
Reviewed-on: https://chromium-review.googlesource.com/892467
Commit-Queue: Chris Nardi <cnardi@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558119}
--
wpt-commits: 2e894defb9b5df72f6278b68403e01075249c6fe
wpt-pr: 9245
Automatic update from web-platform-testsFix XSS Auditor errors that prevent WebKit from running scripts loaded via inline.py.
Sending 'X-XSS-Protection: 0' in the response headers for the main document will opt
out of the XSS Auditor and allow inline event handlers (i.e., onmousemove) to run.
--
wpt-commits: 389b958c00a4d6b897bfce284c0c88bf451fb6b8
wpt-pr: 10968
Automatic update from web-platform-testsremove createTouch
Removes document.createTouch and related tests
createTouchList has relatively high UseCount(around 0.015%), see
https://www.chromestatus.com/metrics/feature/timeline/popularity/2368
We need to address these use cases before remove it.
Postpone createTouchList removal to M69
intent to deprecate and Remove:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/GLbUpUUnQzc
PR to touch-events spec:
https://github.com/w3c/touch-events/pull/96
Bug: 518868
Change-Id: If086b51b775e4be59320c4a1329988787ff6f870
Reviewed-on: https://chromium-review.googlesource.com/1041128
Commit-Queue: Ella Ge <eirage@chromium.org>
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Reviewed-by: Bo <boliu@chromium.org>
Reviewed-by: Rick Byers <rbyers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557907}
--
wpt-commits: 6a23e9de469476253e59744a2635d3574bc33e1d
wpt-pr: 10813
Automatic update from web-platform-testsFix ignoring changes under resources in the stability checking script (#10929)
It turns out that this uses different input for excludes than the wpt
tests-affected script. The config file input is turned into a regexp
that tries to match the entire path, so "resources" would just match a
file called "resources" and "resources/**" is needed to match the
entire path.
--
wpt-commits: 3676e24927100849228bcc2fbc1ae1832782f91f
wpt-pr: 10929
Automatic update from web-platform-testsMerge pull request #10593 from csnardi/css-transforms-computed
Correct computed value of transform
--
wpt-commits: fb62383e4e08bcd8b2e902eaa86248d14e66873a
wpt-pr: 10593
Automatic update from web-platform-testsFeature-test global scopes without events and timeouts.
--
Add a ShellTestEnvironment class.
--
wpt-commits: 9d896a92c3c99ddfa356e5db78d92e3d9e0249e7, cb9176baeb50e0ee5a010218388e8120c09bab0f
wpt-pr: 10900
Automatic update from web-platform-testsCompute files-changed better in the face of merges
This finds the first unknown parent, instead of finding the oldest
commit that only exists on the branch
--
wpt-commits: aa1a4a7efb41d849119e013d5fd73fad52929944
wpt-pr: 10950
Automatic update from web-platform-tests[LayoutNG] LayoutNG table-caption implementation
New passes fast/writing-mode/table-hit-test.html and
tables/mozilla_expected_failures/marvin* had been failing in LayoutNG
because the captions were not centered above the table, for some reason.
The rebased test fast/table/multiple-captions-display-expected.png
failed due to differences on the edges of text inside the caption.
New failure accessibility/table-caption.html fails because the js
accessibility controller can no longer see the caption as a table child,
for some reason.
Making tables/mozilla_expected_failures/bugs/bug3166-16.html pass will
need some digging. Legacy and NG before this patch centered the caption
above the table. But after this patch, it is moved left. Further,
hovering over the caption triggers a DCHECK in the hit testing stack, so
maybe we need to set an offset after all.
ng_physical_fragment.h(144)] Check failed: is_placed_.
blink::NGPhysicalFragment::Offset()
blink::NGPaintFragment::Offset()
blink::NGBoxFragmentPainter::NodeAtPoint()
blink::NGBlockFlowPainter::NodeAtPoint()
blink::LayoutNGMixin<>::NodeAtPoint()
blink::LayoutTable::NodeAtPoint()
Bug: 635619
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
Change-Id: I7fcb33e791a9f0d812674a5f7f63cb5964c02a6e
Reviewed-on: https://chromium-review.googlesource.com/1050414
Commit-Queue: David Grogan <dgrogan@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557632}
--
wpt-commits: c650b3ea9ac78640b1ec4bf7e476db95154a41e5
wpt-pr: 10910
Automatic update from web-platform-testsAccname: Remove two tests (#10956)
One test covers something governed by HTML-AAM rather than Accname.
Plus HTML-AAM doesn't currently have language for the condition in
question.
The other test covers an edge case which should be covered by Accname
but isn't. Fixing the spec for this edge case is complicated, and we
do not yet have consensus on what the correct expected results are.
Therefore, the Working Group will address this in version 1.2.
--
wpt-commits: b5baf01b6cf9ca5ca2cc1945faddc5eeb4223d98
wpt-pr: 10956
Automatic update from web-platform-testsRemove Document#selectedStylesheetSet/preferredStylesheetSet
Document#selectedStylesheetSet/preferredStylesheetSet are non-standard
methods that are only implemented by WebKit and Blink. Their standard
versions are no longer in the spec. Remove them entirely from our
implementation.
Intent to Deprecate and Remove:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/w1Bv7YZxAco
Bug: 690609
Change-Id: I796a6bc0693934eb308a4fe59b52e4a9d1269e6f
Reviewed-on: https://chromium-review.googlesource.com/1049051
Commit-Queue: Chris Nardi <cnardi@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557569}
--
wpt-commits: d1813f80c619a09d74496f2bb33187e8e33cceda
wpt-pr: 10939
Automatic update from web-platform-testsAdd browser version into run_info (and hence wptreport) (#10935)
First of all, `browser_version` is passed to `run_info`. The data flow is:
* wpt.run gets browser_version from wpt.browser during setup_wptrunner
* browser_version is passed to wptrunner.start via kwargs
* wptrunner then passes browser_version to RunInfo
Secondly, the version() methods in some browser setup classes were fixed.
And, `None` is returned by unimplemented version() instead of raising an
exception since the method is now always called.
--
wpt-commits: a87e3675f288170b8fa1d1fe90b44c8c82377856
wpt-pr: 10935
Automatic update from web-platform-testsComplete the migration from marionette-specific scripts.
Previously we removed the wrappedJSObject from
executor_marionette.js. However it turns out that this migration was
incomplete; in order to fully avoid the wrappedJSObject, we need to
ensure that we never create a sandbox on the marionette side. As a
result of this omission we were getting an error trying to call the
timeout() function, causing more EXTERNAL-TIMEOUTs and so performance
issues.
The solution is to ensure that the sandbox is None for all calls
to (content) js.
--
Add a test that should timeout to the infrastructure tests
--
wpt-commits: fce59968b2e620b098536c05c5409f7f6f6e4b66, a1b510cb7b823d741a5edf39d5fd510cf002abe8
wpt-pr: 10691