Closed
Bug 1215391
Opened 11 years ago
Closed 9 years ago
Support executing JS code in DOM workers
Categories
(Remote Protocol :: Marionette, defect)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: asuth, Unassigned)
References
Details
Increasingly, Firefox OS apps are putting the bulk of their logic in (DOM) Workers. Since they are already tested using marionette (via JS Marionette), it would be beneficial for the backend to be able to use the JS Debugger APIs to allow executing script in a JS context.
It seems like this hasn't been discussed previously, and I'm not clear quite where to discuss it, so I'm raising it here, but am happy to discuss the use-case on an appropriate list somewhere, but would like this bug for tracking. I checked out the following spots in my survey, but could have missed some:
- Nothing in this component.
- Nothing on the dev-quality list: https://groups.google.com/forum/#!searchin/mozilla.dev.quality/worker
- The WebDriver spec (https://w3c.github.io/webdriver/webdriver-spec.html) does not seem to cover workers, nor has their apparently been any discussion on the related list (http://www.w3.org/testing/browser/) or any bugs (https://www.w3.org/Bugs/Public/buglist.cgi?component=WebDriver&list_id=60217&product=Browser%20Test%2FTools%20WG).
Given that this might be serious scope creep and an implementation complexity for WebDriver, I was thinking we might implement this as an extension and then if we find it useful for Firefox OS and JS Marionette, we push for standardization.
| Reporter | ||
Comment 1•11 years ago
|
||
Forgot to mention: Because most Firefox OS apps use CSP (https://w3c.github.io/webappsec-csp/2/) that strongly restricts the JS that can be executed (and desire that behavior), the apps themselves can't easily fake this by using importScripts() and Blob URIs or other dynamic evaluation cleverness.
Comment 2•9 years ago
|
||
JS Marionette is no longer supported so closing
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•3 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•