Open Bug 1581721 Opened 6 years ago Updated 4 years ago

Support devtools.inspectedWindow.eval frameURL option.

Categories

(WebExtensions :: Compatibility, enhancement, P5)

enhancement

Tracking

(Not tracked)

People

(Reporter: twisniewski, Unassigned)

Details

Right now, elements in third-party iframes which are being inspected in the devtools ($0) cannot be accessed/modified unless the devtools context is that third-party iframe. Unfortunately, devtools.inspectedWindow.eval does not support the frameURL option [1], making it impossible to do the same in an add-on.

This (for instance) makes it impossible for the Testcase Reducer addon to reduce a testcase for an element in a third-party iframe, as it cannot pass a reference to the frame or even mark the element in some way for the iframe context to know it is the element that is$0.

[1] https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/devtools.inspectedWindow/eval#Parameters

Priority: -- → P2
Severity: normal → N/A
Priority: P2 → P5
You need to log in before you can comment on or make changes to this bug.