There's a circular dependency between `UsesTiling` and `InitOMTPConfig` because
we try to disable OMTP if we will be using tiling and edge padding is enabled.
Now that edge padding is disabled everywhere except android it should be safe
to assume that if edge padding is enabled then we'll be using tiling as well
and should disable OMTP.
This commit also removes a check on `UsesTiling` from CalculateWorkerCount
as it is redundant.
MozReview-Commit-ID: 1ruWPwXfLwO
--HG--
extra : rebase_source : d489c52c728d2ff356d2413b9b1044dfa3f63135
This moves all the tiling prefs into one spot and organizes them a bit. It also fixes a common issue
with `edge-padding` being enabled on windows because it wouldn't be defined in all.js and defaulting
to enabled. Note that `worker-threads` is switched to `-1` by default here instead of just for OSX.
This should have no affect because we don't actually create the threads unless we are tiling, which
only happens right now on OSX.
MozReview-Commit-ID: D8HOs3yv7w0
--HG--
extra : rebase_source : 9b5d2d228af743ea4facd076dfa2f370ea93ebc8
We must check mIsMapped inside mChangeMutex or else we could run into a race condition where
the source surface is subsequently mapped again before the function terminates. This was
being hit on try.
MozReview-Commit-ID: 1eot3DVW8VD
--HG--
extra : rebase_source : 19f2514d9e2412ee5fe7c99844b7f64f78a7425e
Automatic update from web-platform-testsUpdate DOMPoint and DOMQuad tests
Per https://drafts.fxtf.org/geometry/#DOMPoint, DOMPoint's constructor accepts zero to four values, and DOMPointReadOnly has the exact same constructor. Additionally, DOMQuad no longer has a live bounds attribute per https://drafts.fxtf.org/geometry/#domquad, instead replacing it with getBounds() which cannot be set. Fix tests of DOMPoint and DOMQuad to reflect these changes.
Also add a historical test to make sure that DOMQuad.bounds is removed.
--
wpt-commits: 8a4c843a736c1e4a4cc22d06bc23fe1f0ffcce36
wpt-pr: 10592
Automatic update from web-platform-testsExtend the multi-global test (.any.js) infrastructure to support other scopes.
This commit is based on ideas and code by Anne van Kesteren and James Graham.
The infrastructure is extended to allow tests to opt-in to being run in shared
workers and service workers, while the default remains as window and dedicated
worker scopes. (This default may be changed in the future.)
--
wpt-commits: 75133c20534b92648603b22eaf3bf21347a6c1fe
wpt-pr: 6792
Automatic update from web-platform-testsStreams: Constructors property lookup order (#10461)
ReadableStream, WritableStream and TransformStream look up and validate
properties on their arguments. Add tests to verify that these lookups
and validations happen in the order specified by the standard.
https://github.com/whatwg/streams/pull/922 adjusts some of the ordering
of these operations. These tests correspond to that change.
A new utility file streams/resources/constructor-ordering.js contains
functions to construct objects which track property lookups and
validations and can cause them to fail.
For each constructor the constructor.js file contains a list of the
expected operations in order, and a test case to verify it.
A test in streams/transform-streams/properties.js already detected the
ordering of property accesses by the TransformStream constructor.
writableStrategy is now accessed before readableStrategy to match the
order of the constructor arguments, and so the expectations of this test
are changed to match.
--
wpt-commits: 85f9d70519e5259f01e8653a4916134227e0f178
wpt-pr: 10461
Automatic update from web-platform-testsXMLHttpRequest: align username/password test with the standard
Fixes https://github.com/whatwg/xhr/issues/191.
--
wpt-commits: 7a199e902ad9204594aac0ad9ac702fc46e55223
wpt-pr: 10419
Automatic update from web-platform-testsImplement selectable AudioParam rate
AudioParam has a new attribute, automationRate, to allow the user to choose whether
the AudioParam is "a-rate" or "k-rate". Add support for setting and getting
the attribute.
Update all AudioParams to support a-rate and k-rate when allowed.
Spec: https://webaudio.github.io/web-audio-api/#dom-audioparam-automationrate
Intent: https://groups.google.com/a/chromium.org/d/msg/blink-dev/extLjVzLw7s/9XUZvQqcBQAJ
Bug: 828947
Change-Id: Ibb9fe8bc0dedf3cfdcf33727734b5d66e5a7ca2f
Reviewed-on: https://chromium-review.googlesource.com/945076
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552965}
--
wpt-commits: b1cb30dfad415f3f519f98872afff03efb6dd81e
wpt-pr: 10490
Automatic update from web-platform-testsAllow column-width:0.
The spec recently changed from disallowing this to allowing it.
Removed a test that expected it to be disallowed, and wrote new
tests for the new expected behavior.
Bug: 832085
Change-Id: Id6fa0a311fe3f50414c68658d807b99e92acc226
Reviewed-on: https://chromium-review.googlesource.com/1023409
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552770}
--
wpt-commits: 3a2abb9733a257061505ee7b410c393cea194ee2
wpt-pr: 10586
Automatic update from web-platform-tests[wptserve] Add tests
--
[wptserve] Correct typo in documentation
--
[wptserve] Expand syntax to support fn invocation
--
[wptserve] Add substitution to calculate file hash
Additionally, update the two Web Platform Tests which previously
specified static values for the expected hash of shared resource files.
--
wpt-commits: cc236aa5904d4131ef725762a2f91f564de86615, 18ee2b46ab4c3c25053a01ded402834b65b75565, dd3f71885bd5039f7ba6f357ac2a43fc510ee23f, e0ea063afe0759e5c4928b0ca0e2c6a561ef7eaa
wpt-pr: 8735
Automatic update from web-platform-testsFix some layout tests that calls createPseudo
In my previous CL I changed createPseudo function to getPseudoElement
without updating some of the callers. This CL fixes that.
NOTRY=true
Bug: None
Change-Id: I7a1f4bcc83736234e8bec2f16656cd72c39fd51d
Reviewed-on: https://chromium-review.googlesource.com/1023974
Commit-Queue: Xida Chen <xidachen@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552709}
--
wpt-commits: c873caf7621a7376f976246eaa4921b13988e54a
wpt-pr: 10582
Automatic update from web-platform-testsDo not check type of a pseudo element in layout tests
Currently the createPseudo checks the type of a pseudo element and
that is not yet defined in the spec. This CL drops that to pass
two tests.
Bug: None
Change-Id: Ib623b5f7ad2ff9059400a12aa12c459d6a7ddcb5
Reviewed-on: https://chromium-review.googlesource.com/1018538
Commit-Queue: Xida Chen <xidachen@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552680}
--
wpt-commits: 133d71dbb9e5f8b477b214aa68cfe144efc335a0
wpt-pr: 10528
Automatic update from web-platform-testsFetch: handling bad gzip content
For https://github.com/whatwg/fetch/pull/710.
--
wpt-commits: 5ac29d88c701690eabc70dea4e467a4353d27541
wpt-pr: 10542
Automatic update from web-platform-testsCorrect serialization in css-flexbox getComputedStyle tests
2 getComputedStyle tests in the css-flexbox testsuite were failing, as
the default values of align-items and align-self were incorrect. Fix
the default values so the tests pass.
Bug: 467127
Change-Id: I4a23563d523d3da0201db591e51e1375dfa0d44f
Reviewed-on: https://chromium-review.googlesource.com/1023342
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Chris Nardi <cnardi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552670}
--
wpt-commits: 7827e00d6a2e32d5137dd48e8ea17b7fc5e493db
wpt-pr: 10564
Automatic update from web-platform-testsservice worker: Upstream Service-Worker-Allowed test to WPT.
Also add test cases for Service-Worker-Allowed header values that are
absolute URLs.
Currently Chrome accepts SWA header values that are cross-origin to the
script URL since it seems to only care about the path of the URL. It
seems strange but that seems to agree with the spec:
https://github.com/w3c/ServiceWorker/issues/1307
Bug: 688116
Change-Id: I6dca55ea8525803efd2e55bf4166c863d62d31fa
Reviewed-on: https://chromium-review.googlesource.com/1023672
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552639}
--
wpt-commits: a8a8377b1ecb700709c923f3e72b513eedb3c0c2
wpt-pr: 10569
Automatic update from web-platform-testsMerge pull request #10535 from csnardi/font-variation-settings-serialization
Flip serialization of two font-variation-settings tests
--
wpt-commits: f6d0423be24252f8d31c3f4810ad9e6392a38ea0
wpt-pr: 10535
Automatic update from web-platform-testsMerge pull request #10538 from jfkthame/patch-1
Fix a couple of typos in test messages
--
wpt-commits: 899579b71961a8baf4330f168787b87d6396dd85
wpt-pr: 10538
Automatic update from web-platform-testsTest active script, via import(), in promise jobs
Follows https://github.com/whatwg/html/pull/3163.
--
wpt-commits: 1c3621705bdd047fde1e4a2a165c49ec837ffa1c
wpt-pr: 8287