Closed Bug 1625410 Opened 4 years ago Closed 4 years ago

Intermittent Mn-fis SecurityError: Permission denied to access property "windowUtils" on cross-origin object (chrome://marionette/content/listener.js, line 378)

Categories

(Remote Protocol :: Marionette, defect, P1)

Version 3
defect

Tracking

(Fission Milestone:M6c, firefox82 fixed)

RESOLVED FIXED
82 Branch
Fission Milestone M6c
Tracking Status
firefox82 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

This is similar to bug 1518468 but doesn't affect the reftest part of Marionette. Not sure if it can be fixed at the same time, but if not we should have this filed for tracking the Fission work.

https://searchfox.org/mozilla-central/rev/b712398b7fae54ef377a558d6f16dede7a7f8530/testing/marionette/listener.js#378

 observe(subject, topic) {
    const win = curContainer.frame;
    const winID = subject.QueryInterface(Ci.nsISupportsPRUint64).data;
    const curWinID = win.windowUtils.outerWindowID;
    [..]
Blocks: 1625413
Blocks: 1540367
No longer blocks: 1540367

(In reply to Henrik Skupin (:whimboo) [⌚️UTC+2] from comment #0)

This is similar to bug 1518468 but doesn't affect the reftest part of Marionette. Not sure if it can be fixed at the same time, but if not we should have this filed for tracking the Fission work.

In that case, I'll track this bug for Fission's Nightly miletone (M6).

Fission Milestone: --- → M6a

The priority flag is not set for this bug.
:whimboo, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(hskupin)
Flags: needinfo?(hskupin)
Priority: -- → P3

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3

Note that right now we don't make use of the browsing context id for identifying the various frames in content but the outer window id. With my upcoming changes on bug 1519335 we will switch to browsing contexts. So I assume this might help to get this bug fixed?

Depends on: 1519335
Summary: JavaScript error: chrome://marionette/content/listener.js, line 378: SecurityError: Permission denied to access property "windowUtils" on cross-origin object → SecurityError: Permission denied to access property "windowUtils" on cross-origin object (chrome://marionette/content/listener.js, line 378)
Blocks: 1644235
Summary: SecurityError: Permission denied to access property "windowUtils" on cross-origin object (chrome://marionette/content/listener.js, line 378) → Intermittent Mn-fis SecurityError: Permission denied to access property "windowUtils" on cross-origin object (chrome://marionette/content/listener.js, line 378)
Assignee: nobody → mjzffr
Status: NEW → ASSIGNED
Priority: P3 → P1

Actually the code referred to here is all in navigation and will be removed with my work over on bug 1612831. I hope to have this done soon.

Assignee: mjzffr → hskupin
Depends on: 1612831

Since this depends on bug 1612831 which is tracked for M6b, I'm moving this also to the same milestone.

Fission Milestone: M6a → M6b
Fission Milestone: M6b → M6c
Whiteboard: [marionette-fission-mvp]

This code is no longer present on mozilla-central. Marking as fixed by bug 1612831.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Whiteboard: [marionette-fission-mvp]
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.