Closed Bug 1736574 Opened 3 years ago Closed 2 years ago

Support `target.allFrames` in `scripting.executeScript()`

Categories

(WebExtensions :: General, enhancement, P2)

enhancement
Points:
5

Tracking

(firefox98 fixed)

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: willdurand, Assigned: willdurand)

References

(Blocks 1 open bug)

Details

(Whiteboard: [mv3-m2])

Attachments

(1 file, 1 obsolete file)

See: https://developer.chrome.com/docs/extensions/reference/scripting/#type-InjectionTarget.

The scripting.executeScript() function returns objects of type InjectionResult. Each object has a frameId in addition to the actual result of the execution. In order to support the allFrames option, we need to keep the frame IDs along with the results when we call the tabs API.

Severity: -- → N/A
Blocks: 1735474
No longer depends on: 1735474
Type: task → enhancement
Attachment #9247289 - Attachment is obsolete: true
Points: --- → 5
Attachment #9254310 - Attachment description: WIP: Bug 1736574 - Support `target.allFrames` in `scripting.executeScript()`. r?robwu! → Bug 1736574 - Support `target.allFrames` in `scripting.executeScript()`. r?robwu!
Attachment #9254310 - Attachment description: Bug 1736574 - Support `target.allFrames` in `scripting.executeScript()`. r?robwu! → WIP: Bug 1736574 - Support `target.allFrames` in `scripting.executeScript()`. r?robwu!
Attachment #9254310 - Attachment description: WIP: Bug 1736574 - Support `target.allFrames` in `scripting.executeScript()`. r?robwu! → Bug 1736574 - Support `target.allFrames` in `scripting.executeScript()`. r?robwu!
See Also: → 1454342
Blocks: 1751154
Pushed by wdurand@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/96b55fca7211
Support `target.allFrames` in `scripting.executeScript()`. r=robwu
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
Regressions: 1751640
Regressions: 1751962
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: