Title: [205208] trunk/Source/_javascript_Core
Revision
205208
Author
[email protected]
Date
2016-08-30 16:01:13 -0700 (Tue, 30 Aug 2016)

Log Message

Unreviewed, fix build after r205205.

* runtime/ObjectConstructor.cpp:
(JSC::objectConstructorSetPrototypeOf):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (205207 => 205208)


--- trunk/Source/_javascript_Core/ChangeLog	2016-08-30 22:59:12 UTC (rev 205207)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-08-30 23:01:13 UTC (rev 205208)
@@ -1,5 +1,12 @@
 2016-08-30  Chris Dumez  <[email protected]>
 
+        Unreviewed, fix build after r205205.
+
+        * runtime/ObjectConstructor.cpp:
+        (JSC::objectConstructorSetPrototypeOf):
+
+2016-08-30  Chris Dumez  <[email protected]>
+
         Object.setPrototypeOf() should throw when used on a cross-origin Window / Location object
         https://bugs.webkit.org/show_bug.cgi?id=161396
 

Modified: trunk/Source/_javascript_Core/runtime/ObjectConstructor.cpp (205207 => 205208)


--- trunk/Source/_javascript_Core/runtime/ObjectConstructor.cpp	2016-08-30 22:59:12 UTC (rev 205207)
+++ trunk/Source/_javascript_Core/runtime/ObjectConstructor.cpp	2016-08-30 23:01:13 UTC (rev 205208)
@@ -233,7 +233,7 @@
         return JSValue::encode(objectValue);
 
     if (!checkProtoSetterAccessAllowed(exec, object)) {
-        throwTypeError(exec, ASCIILiteral("Permission denied"));
+        throwTypeError(exec, scope, ASCIILiteral("Permission denied"));
         return JSValue::encode(objectValue);
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to