Update bindings test results after r192903.
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Dec 2015 22:27:04 +0000 (22:27 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Dec 2015 22:27:04 +0000 (22:27 +0000)
* bindings/scripts/test/JS/JSTestEventConstructor.cpp:
(WebCore::JSTestEventConstructorConstructor::construct):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@192915 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp

index 96be578..047f498 100644 (file)
@@ -1,3 +1,10 @@
+2015-12-01  Alexey Proskuryakov  <ap@apple.com>
+
+        Update bindings test results after r192903.
+
+        * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
+        (WebCore::JSTestEventConstructorConstructor::construct):
+
 2015-12-01  Yusuke Suzuki  <utatane.tea@gmail.com>
 
         [ES6] Implement LLInt/Baseline Support for ES6 Generators and enable this feature
index 8df92d9..35048b5 100644 (file)
@@ -70,9 +70,8 @@ template<> EncodedJSValue JSC_HOST_CALL JSTestEventConstructorConstructor::const
 {
     auto* jsConstructor = jsCast<JSTestEventConstructorConstructor*>(state->callee());
 
-    ScriptExecutionContext* stateutionContext = jsConstructor->scriptExecutionContext();
-    if (!stateutionContext)
-        return throwVMError(state, createReferenceError(state, "Constructor associated stateution context is unavailable"));
+    if (!jsConstructor->scriptExecutionContext())
+        return throwVMError(state, createReferenceError(state, "Constructor associated execution context is unavailable"));
 
     if (UNLIKELY(state->argumentCount() < 1))
         return throwVMError(state, createNotEnoughArgumentsError(state));