Closed Bug 1752948 Opened 4 years ago Closed 3 years ago

[wpt-sync] Sync PR 32628 - Add tentative WPT tests for render-blocked APIs

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox99 fixed)

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Xiaocheng Hu <xiaochengh@chromium.org> wrote:

Add tentative WPT tests for render-blocked APIs

This patch adds more tentative WPT tests to assert that when
rendering is blocked [1], the following steps in update the
rendering [2] are not run:

  • Flush autofocus candidates
  • Resize steps
  • Scroll steps
  • Evaluate media queries and report changes
  • Update animations and send events
  • Fullscreen steps
  • Animation frame callbacks
  • Intersection observer updates

Ideally, we should also verify that the canvas context lost steps are
not run, but we currently can't consistently reproduce canvas context
losts in WPT, so this is not verified.

[1] Proposed at https://github.com/whatwg/html/pull/7474
[2] https://html.spec.whatwg.org/multipage/webappapis.html#update-the-rendering

Bug: 1271296
Change-Id: I67efd34cbb1db32be0b59e637cbb26689b89a51e

Reviewed-on: https://chromium-review.googlesource.com/3425981
WPT-Export-Revision: 18d3b999db5c2b79d823d9d49b95e8f4045c1478

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f4aa43f7d28f [wpt PR 32628] - Add tentative WPT tests for render-blocked APIs, a=testonly
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cccc803467c0 [wpt PR 32628] - Add tentative WPT tests for render-blocked APIs, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.