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

Unified Diff: src/d8.cc

Issue 917703003: [strong] no sloppy equality (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/bootstrapper.cc ('k') | src/messages.js » ('j') | src/messages.js » ('J')
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 41b5fa75fbb3d0bbfe971d54c26359d62ee5a60a..ac025aa4a6880a1b515ef078fdbd31b9ac9fe011 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -833,6 +833,10 @@ void Shell::AddHistogramSample(void* histogram, int sample) {
void Shell::InstallUtilityScript(Isolate* isolate) {
HandleScope scope(isolate);
+ // TODO(rossberg): Utility scripts do not yet obey strong mode rules.
+ bool use_strong = i::FLAG_use_strong;
+ i::FLAG_use_strong = false;
+
// If we use the utility context, we have to set the security tokens so that
// utility, evaluation and debug context can all access each other.
v8::Local<v8::Context> utility_context =
@@ -882,6 +886,8 @@ void Shell::InstallUtilityScript(Isolate* isolate) {
// Start the in-process debugger if requested.
if (i::FLAG_debugger) v8::Debug::SetDebugEventListener(HandleDebugEvent);
+
+ i::FLAG_use_strong = use_strong;
}
#endif // !V8_SHARED
« no previous file with comments | « src/bootstrapper.cc ('k') | src/messages.js » ('j') | src/messages.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698