Closed Bug 1572932 Opened 5 years ago Closed 9 months ago

nested-context-navigations-iframe.html passes by accident

Categories

(Core :: DOM: Performance, defect, P3)

defect

Tracking

()

RESOLVED FIXED
117 Branch
Fission Milestone Future
Tracking Status
firefox117 --- fixed

People

(Reporter: smaug, Assigned: smaug)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

nested-context-navigations-iframe.html's history.back() tests work only because they use https://searchfox.org/mozilla-central/source/testing/web-platform/tests/resource-timing/resources/navigate_back.html which does back() within a load event listener, which means in Gecko the current session history entry is replaced by a new load.

Bug 1563587 makes history.back() asynchronous, and the test starts to fail.
But the test fails already now if one uses setTimout
window.onload = function() { setTimeout("history.back();")}

The test passes with or without the timeout in other browsers which already have
asynchronous history.back()

aha, only on some platform

See Also: → 1575437

Yes, that is what I'm planning to do, just update the expectations. The actual bug has been there before Bug 1563587.

Flags: needinfo?(bugs)

I have no plans to fix this particular bug atm, just let the test pass or fail. So the .ini change shouldn't happen in this bug.

So far I haven't figured out how to mark a test intermittently passing/failing.
expected: [PASS, FAIL] in .ini doesn't work.
I guess I just disable

Priority: -- → P3
Regressions: 1601805
Fission Milestone: --- → M6c

Not related to Fission.
See comment 8.

Fission Milestone: M6c → ---
Flags: needinfo?(bugs)
Fission Milestone: --- → Future
Component: Performance → DOM: Performance

If I read the description correctly, the test should pass with asynchronous history.back()? I am not sure what the original state of the test is, but looks like it's passing now https://wpt.fyi/results/resource-timing/nested-context-navigations-iframe.html?label=master&product=chrome%5Bexperimental%5D&product=edge&product=firefox%5Bexperimental%5D&product=safari%5Bexperimental%5D&aligned ?

Do you think this bug is still relevant Olli?

Severity: normal → S3

The severity field for this bug is relatively low, S3. However, the bug has 20 votes.
:fdoty, could you consider increasing the bug severity?

For more information, please visit auto_nag documentation.

Flags: needinfo?(fdoty)
Flags: needinfo?(fdoty)

The test has been changed after this bug was filed. Pushing to try without the .ini file to see whether this passes everywhere.
At least the test passes locally on linux.

Flags: needinfo?(smaug)
Assignee: nobody → smaug
Status: NEW → ASSIGNED
Attachment #9341502 - Attachment description: WIP: Bug 1572932 - enable subtests in nested-context-navigations-iframe.html, r=peterv → Bug 1572932 - enable subtests in nested-context-navigations-iframe.html, r=peterv
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5b3ec632a18a
enable subtests in nested-context-navigations-iframe.html, r=peterv
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: