Closed
Bug 1624259
Opened 4 years ago
Closed 1 year ago
With "returnbyValue" set Runtime.evaluate and Runtime.callFunctionOn have to fail for any object containing a Symbol
Categories
(Remote Protocol :: CDP, defect, P3)
Remote Protocol
CDP
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1786299
People
(Reporter: whimboo, Unassigned)
References
Details
In Chrome:
0:03.60 pid:52025 2020-03-23T08:34:50.108Z puppeteer:protocol SEND ► {"sessionId":"117329F896C0C8000DD9BD75DB65E0A9","method":"Runtime.callFunctionOn","params":{"functionDeclaration":"() => [Symbol('foo4')]\n//# sourceURL=__puppeteer_evaluation_script__\n","executionContextId":1,"arguments":[],"returnByValue":true,"awaitPromise":true,"userGesture":true},"id":18}
0:03.60 pid:52025 2020-03-23T08:34:50.109Z puppeteer:protocol ◀ RECV {"error":{"code":-32000,"message":"Object couldn't be returned by value"},"id":18,"sessionId":"117329F896C0C8000DD9BD75DB65E0A9"}
in Firefox:
0:04.88 pid:52390 1584952680314 RemoteAgent TRACE (connection {6a3ff284-7beb-7d4e-9448-482fbece8f54})-> {"sessionId":1,"method":"Runtime.callFunctionOn","params":{"functionDeclaration":"() => [Symbol('foo4')]\n//# sourceURL=__puppeteer_evaluation_script__\n","executionContextId":1,"arguments":[],"returnByValue":true,"awaitPromise":true,"userGesture":true},"id":18}
0:04.89 pid:52390 1584952680316 RemoteAgent TRACE <-(connection {6a3ff284-7beb-7d4e-9448-482fbece8f54}) {"sessionId":1,"id":18,"result":{"result":{"type":"object","value":[null],"description":""}}}
Comment 1•4 years ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3
(Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3
(normal.)
Severity: normal → S3
Assignee | ||
Updated•3 years ago
|
Component: CDP: Runtime → CDP
Reporter | ||
Comment 2•1 year ago
|
||
This will be fixed as part of the work on bug 1786299.
You need to log in
before you can comment on or make changes to this bug.
Description
•