Hi all,
Noticed some strange behavior with Worker() in d8 for the options
parameter. These are acceptable:
let worker = new Worker("test.js")
let worker = new Worker(test, { type: 'function' }) //Where test is some js
function
The option of type function does not exist according to MDN Worker() docs,
type values are supposed to be module or classic.
Yet this throws and invalid argument error:
let worker = new Worker("workingTest.js", {'name': 'test'});
In particular I am interested in getting the name field in the options
parameter working because Emscripten's multithreading implementation uses
it. Any advice on this would be appreciated.
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/v8-dev/67622e10-dde4-44d9-9551-690ccef95a40n%40googlegroups.com.