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

Unified Diff: sdk/lib/_internal/js_runtime/lib/preambles/d8.js

Issue 2979403002: Update checked-in d8 shell to version 6.2.0 (Closed)
Patch Set: Add x64 and ARM64 versions of d8 Created 3 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 | « no previous file | tests/corelib/corelib.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/js_runtime/lib/preambles/d8.js
diff --git a/sdk/lib/_internal/js_runtime/lib/preambles/d8.js b/sdk/lib/_internal/js_runtime/lib/preambles/d8.js
index be4ad33908d8824d1320d538cb7afcc6e2ad8db2..75c0c459003976edd60f515b01f5719fc2d4ab09 100644
--- a/sdk/lib/_internal/js_runtime/lib/preambles/d8.js
+++ b/sdk/lib/_internal/js_runtime/lib/preambles/d8.js
@@ -334,4 +334,9 @@ if (typeof global != "undefined") self = global; // Node.js.
array[i] = Math.random() * 256;
}
}};
+
+ // D8 Workers are not sufficiently compatible with browser Workers
+ // so pretend they don't exist.
+ // TODO(30217): Try to use D8's worker.
+ delete self.Worker;
})(self);
« no previous file with comments | « no previous file | tests/corelib/corelib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698