Closed Bug 1642647 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 23914 - Add willReadFrequently attribute to CanvasRenderingContext2DSettings

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 23914 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/23914
Details from upstream follow.

Teresa Kang <teresakang@google.com> wrote:

Add willReadFrequently attribute to CanvasRenderingContext2DSettings

As part of the performance improvement for read access, the
willReadFrequently attribute is added to
CanvasRenderingContext2DSettings. It's currently hidden behind the
feature flag NewCanvas2DAPI.

Bug:1090180
Change-Id: I0e9f542b9b45c940d7a55f9ebf5451972492dc6c
Reviewed-on: https://chromium-review.googlesource.com/2225495
WPT-Export-Revision: 55544bd1f19661ca3f6dd82c65e6f532ad2fbbf8

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 5 subtests

Status Summary

Firefox

OK : 1
FAIL: 5

Chrome

OK : 1
PASS: 5

Safari

OK : 1
FAIL: 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/canvas/element/context-attributes/getContextAttributes.html
Test context creation attributes alpha: true: FAIL (Chrome: PASS, Safari: FAIL)
Test context creation attributes alpha: false: FAIL (Chrome: PASS, Safari: FAIL)
Test default context creation attributes: FAIL (Chrome: PASS, Safari: FAIL)
Test context creation attributes willReadFrequently: true: FAIL (Chrome: PASS, Safari: FAIL)
Test context creation attributes desynchronized: false: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ca040cf6b5de
[wpt PR 23914] - Add willReadFrequently attribute to CanvasRenderingContext2DSettings, a=testonly
https://hg.mozilla.org/integration/autoland/rev/1074329452a4
[wpt PR 23914] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.