Initial implementation of `scripting.executeScript()`
Categories
(WebExtensions :: General, enhancement, P2)
Tracking
(firefox96 fixed)
| Tracking | Status | |
|---|---|---|
| firefox96 | --- | fixed |
People
(Reporter: willdurand, Assigned: willdurand)
References
(Blocks 1 open bug)
Details
(Whiteboard: [mv3-m2])
Attachments
(1 file)
Let's start by shipping the json schema and a working MVP of the scripting.executeScript() API.
| Assignee | ||
Comment 1•4 years ago
|
||
The implementation does not support the following features yet:
target.allFrames: because I expect some changes in the tabs API to
be able to "link" aframeIdto aresult. That can be done in a
further iteration- execution world (main vs isolated): because that can also be added
later filescan accept more than one file but we only execute the first
one for now...
| Assignee | ||
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Backed out for causing mochitest plain leaks
Backout link: https://hg.mozilla.org/integration/autoland/rev/38fdb8f041f1dea3228f5f87eb4437a99cf38134
Push with failures: https://treeherder.mozilla.org/jobs?repo=autoland&selectedTaskRun=JBmPUnuTQs-nHQhkRIgRuQ.0&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=69dee748c290020ad8ad0b4c40615d29494dbbad
Failure log: https://treeherder.mozilla.org/logviewer?job_id=358215833&repo=autoland&lineNumber=6787
Updated•4 years ago
|
Updated•4 years ago
|
| Assignee | ||
Comment 5•4 years ago
|
||
The test failures were not related to this patch, although the added test file revealed the bug. I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1741600 for that actual bug and skipped the test in debug mode for now.
Comment 6•4 years ago
|
||
| bugherder | ||
Updated•4 years ago
|
Description
•