Closed
Bug 1138331
Opened 11 years ago
Closed 11 years ago
marionette should be able to return javascript object
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: atsai, Unassigned)
References
()
Details
execute_script and execute_async_script should be able to return javascript object. Currently, it will encounter "JavaScript Error: Too much recursion" if we are trying to force package object such as https://developer.mozilla.org/en-US/docs/Web/API/BluetoothAdapter.
Comment 1•11 years ago
|
||
Marionette can only return objects that can be serialised via json.stringify(). If you want to be able to serialise complex objects like this, perhaps we can move this bug over to DOM or spidermonkey?
Flags: needinfo?(atsai)
| Reporter | ||
Comment 2•11 years ago
|
||
You are right. After further investigating, it should be a problem of the specific component that is unable to return particular object. I'll file a bug to that component. thanks for clarifying.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(atsai)
Resolution: --- → INVALID
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
•