Add specs for web workers.

This commit is contained in:
Cheng Zhao 2014-07-09 15:55:01 +08:00
parent 7b93a19e9b
commit d81a34d3dd
3 changed files with 28 additions and 0 deletions

3
spec/fixtures/workers/worker.js vendored Normal file
View file

@ -0,0 +1,3 @@
this.onmessage = function(msg) {
this.postMessage(msg.data);
}