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

Unified Diff: src/d8.cc

Issue 1219563002: Fix cluster-fuzz found regression in d8 Workers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add regression test Created 5 years, 6 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 | « no previous file | test/mjsunit/regress/regress-crbug-504727.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.cc
diff --git a/src/d8.cc b/src/d8.cc
index e165aa47e020e377c713872c552d255ca7acf2f4..5022d93e11ce5f5fc76ba74f2e89e4d0b9b9fbe7 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -1706,7 +1706,7 @@ void Worker::ExecuteInThread() {
// First run the script
Handle<String> file_name = String::NewFromUtf8(isolate, "unnamed");
Handle<String> source = String::NewFromUtf8(isolate, script_);
- if (Shell::ExecuteString(isolate, source, file_name, true, true)) {
+ if (Shell::ExecuteString(isolate, source, file_name, false, true)) {
// Get the message handler
Handle<Value> onmessage =
global->Get(String::NewFromUtf8(isolate, "onmessage"));
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-crbug-504727.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698