DBC:

var w = new Worker('path/to/script.js');

This looks like it would require separate .js files, which would make it hard to use this feature in mjsunit tests. (Yes we could support it, but we'd have to
add special-case hackery to blacklist those files from being treated like
standalone test cases.)
How about passing a source string (representing the contents of the assumed
file) instead of a file name? Other than that, staying close to the Web API
sounds good.

w.postMessage({thisParam: shouldBeTransferredAsJson}, [ab1, ab2]);
w.terminate();



https://codereview.chromium.org/1185643004/

--
--
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to