Index: Source/bindings/core/v8/V8ScriptRunner.cpp |
diff --git a/Source/bindings/core/v8/V8ScriptRunner.cpp b/Source/bindings/core/v8/V8ScriptRunner.cpp |
index 4c4ebae2ef8b418c5028ec4b2d3ba1af219b4d10..30bb3486e7c4b7f00cf8638a17098b7110f056c0 100644 |
--- a/Source/bindings/core/v8/V8ScriptRunner.cpp |
+++ b/Source/bindings/core/v8/V8ScriptRunner.cpp |
@@ -389,8 +389,6 @@ v8::Local<v8::Value> V8ScriptRunner::runCompiledScript(v8::Isolate* isolate, v8: |
if (V8RecursionScope::recursionLevel(isolate) >= kMaxRecursionDepth) |
return throwStackOverflowExceptionIfNeeded(isolate); |
- RELEASE_ASSERT(!context->isIteratingOverObservers()); |
- |
// Run the script and keep track of the current recursion depth. |
v8::Local<v8::Value> result; |
{ |
@@ -439,8 +437,6 @@ v8::Local<v8::Value> V8ScriptRunner::callFunction(v8::Handle<v8::Function> funct |
if (V8RecursionScope::recursionLevel(isolate) >= kMaxRecursionDepth) |
return throwStackOverflowExceptionIfNeeded(isolate); |
- RELEASE_ASSERT(!context->isIteratingOverObservers()); |
- |
if (ScriptForbiddenScope::isScriptForbidden()) |
return v8::Local<v8::Value>(); |
V8RecursionScope recursionScope(isolate); |