2024-04-18 07:06:43 +02:00
|
|
|
// Copyright 2024 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.
|
2025-04-29 08:03:15 +02:00
|
|
|
//
|
|
|
|
// Flags: --shared-heap --harmony
|
2024-04-18 07:06:43 +02:00
|
|
|
|
2025-04-29 08:03:15 +02:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
let workerScript = `onmessage = function() {}`;
|
|
|
|
let worker = new Worker(workerScript, {type: 'string'});
|