Closed Bug 1550813 Opened 5 years ago Closed 5 years ago

Revise viewport-resize-event-on-load-overflowing-page.html to avoid bug 1547827

Categories

(Core :: Layout, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox68 --- wontfix
firefox69 --- fixed

People

(Reporter: botond, Assigned: botond)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

The viewport-resize-event-on-load-overflowing-page.html web platform test currently fails due to bug 1547827.

James suggested that the test could be revised to avoid this issue by using window.open and running the test in the new window instead.

Is there an example of another test that delegates its work to a helper file that I can follow?

There's [1] which just does everthing in terms of opener, but there's an alternate approach (which I can't see an example of right now) where you define the tests in the original window, define an event listener for messages, and basically just postMessage the results from the opened window.

[1] https://searchfox.org/mozilla-central/source/testing/web-platform/tests/html/browsers/browsing-the-web/history-traversal/browsing_context_name.html

I suppose Botond might want to fix this along with shipping the visual viewport API ship (it's 68), but for now I am going to set this P3 since this fix is only for the test case we can easily uplift to the 68 branch.

Priority: -- → P3
Blocks: 1552046

The test still fails, but now the failure is an issue with the feature rather
than the harness.

Assignee: nobody → botond
Pushed by bballo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/37ca86f0b9ca
Revise viewport-resize-event-on-load-overflowing-page.html to avoid bug 1547827. r=jgraham
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/16964 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: