2015-08-19 21:53:01 +00:00
|
|
|
// Copyright 2015 the V8 project authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
if (this.Worker) {
|
2018-09-19 23:30:04 +00:00
|
|
|
var worker = new Worker("onmessage = function(){}", {type: 'string'});
|
2015-12-04 10:38:25 +00:00
|
|
|
var buf = new ArrayBuffer();
|
2015-08-19 21:53:01 +00:00
|
|
|
worker.postMessage(buf, [buf]);
|
|
|
|
}
|