Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Unified Diff: test/mjsunit/regress/regress-4279.js

Issue 1231473002: d8 workers: fix race on quit() with context_mutex_ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix V8_SHARED and omit_quit Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/d8.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-4279.js
diff --git a/test/mjsunit/regress/regress-crbug-501711.js b/test/mjsunit/regress/regress-4279.js
similarity index 64%
copy from test/mjsunit/regress/regress-crbug-501711.js
copy to test/mjsunit/regress/regress-4279.js
index f8eda6e8d8e26f41b79e05af891b0f5446b5cd37..64ef967d8941cf384125b7bfbe2a04dd88fddd59 100644
--- a/test/mjsunit/regress/regress-crbug-501711.js
+++ b/test/mjsunit/regress/regress-4279.js
@@ -2,13 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --stack-size=100
-
-function f() {
+if (this.Worker && this.quit) {
try {
- f();
- } catch(e) {
- Realm.create();
- }
+ new Function(new Worker("55"));
+ } catch(err) {}
+
+ quit();
}
-f();
« no previous file with comments | « src/d8.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698