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
v8-...@googlegroups.com
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 v8-dev+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/v8-dev/67622e10-dde4-44d9-9551-690ccef95a40n%40googlegroups.com.
Google Germany GmbH
Erika-Mann-Straße 33
80636 München
Geschäftsführer: Paul Manicle, Liana Sebastian.
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Diese E-Mail ist vertraulich. Falls sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde.
This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.