Closed Bug 1659963 Opened 4 years ago Closed 4 years ago

Enable test_bug927196.html on Fission

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 1658791
Fission Milestone M6c
Tracking Status
firefox82 --- affected

People

(Reporter: smaug, Assigned: mbrodesser-Igalia)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file, 1 obsolete file)

At least locally the test passes with Fission

Er, I didn't test xorigin .

...but still passes with --enable-xorigin-tests

Lovely, this fails on try, but not locally.

Attachment #9170913 - Attachment is obsolete: true
Blocks: 1652554
No longer blocks: fission
Severity: -- → S3
Status: NEW → ASSIGNED
Fission Milestone: --- → M6b
Priority: -- → P3
Whiteboard: [necko-triaged]
Assignee: bugs → nobody
Status: ASSIGNED → NEW

Also couldn't reproduce this locally, but it still fails on try.

Assignee: nobody → mbrodesser

The failure is reproducible locally when executing the test two times in a row (e.g., with running ./mach mochitest --enable-xorigin-tests --enable-fission --run-until-failure --keep-open=false ./dom/base/test/test_bug927196.html). Not reproducible if run without xorigin iframes and Fission, hence presumably not a test-code issue.

It fails with XMLHttpRequest should not be mozSystem (2) - got true, expected false(In reply to Mirko Brodesser (:mbrodesser) from comment #7)

The failure is reproducible locally when executing the test two times in a row (e.g., with running ./mach mochitest --enable-xorigin-tests --enable-fission --run-until-failure --keep-open=false ./dom/base/test/test_bug927196.html). Not reproducible if run without xorigin iframes and Fission, hence presumably not a test-code issue.

Thanks, Mirko for the repro. It could still be a test issue, if it is because of test making incorrect assumptions or not waiting enough, etc.
It fails with <XMLHttpRequest should not be mozSystem (2) - got true, expected false>. What could be the cause of this?

:neha: I'm looking into it.

Status: NEW → ASSIGNED

SpecialPowers.pushPermissions seems to be buggy, it doesn't always remove the pushed permissions (manually removing them using SpecialPowers.removePermission leads to passing runs of the STR described in c7).

Not necessarily part of this bug, but _delayCallbackTwice looks suspicious.

Presumably, the bug is that _applyPermissions sends and async message instead of waiting for a promise.

SimpleTest.finish() seems to call the wrong instance of SpecialPowers. At least _permissionUndoStack is empty when flushing, but it's filled in pushPermissions.

The pushPermissions/flushPermissions issue will be fixed by bug 1658791.

Depends on: 1658791

Based on the analysis in comment 12, it's a SpecialPowers issue and therefore, should be M6c.

Fission Milestone: M6b → M6c
Pushed by mbrodesser@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/14b95c9e82c4
document `SpecialPowers.removePermission`. r=kmag
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Status: RESOLVED → REOPENED
Keywords: leave-open
Resolution: FIXED → ---
Target Milestone: 82 Branch → ---
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: