Title: [204943] trunk/Source/WebCore
Revision
204943
Author
[email protected]
Date
2016-08-24 16:36:46 -0700 (Wed, 24 Aug 2016)

Log Message

Rebaseline bindings tests after r204923.

Unreviewed test gardening.

* bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
(WebCore::jsTestActiveDOMObjectExcitingAttr):
(WebCore::jsTestActiveDOMObjectPrototypeFunctionExcitingFunction):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (204942 => 204943)


--- trunk/Source/WebCore/ChangeLog	2016-08-24 23:27:30 UTC (rev 204942)
+++ trunk/Source/WebCore/ChangeLog	2016-08-24 23:36:46 UTC (rev 204943)
@@ -1,3 +1,13 @@
+2016-08-24  Ryan Haddad  <[email protected]>
+
+        Rebaseline bindings tests after r204923.
+
+        Unreviewed test gardening.
+
+        * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
+        (WebCore::jsTestActiveDOMObjectExcitingAttr):
+        (WebCore::jsTestActiveDOMObjectPrototypeFunctionExcitingFunction):
+
 2016-08-24  Jonathan Bedard  <[email protected]>
 
         FocusController multiple dereferenced NULL pointers

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp (204942 => 204943)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp	2016-08-24 23:27:30 UTC (rev 204942)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp	2016-08-24 23:36:46 UTC (rev 204943)
@@ -149,7 +149,7 @@
     if (UNLIKELY(!castedThis)) {
         return throwGetterTypeError(*state, "TestActiveDOMObject", "excitingAttr");
     }
-    if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped()))
+    if (!shouldAllowAccessToFrame(state, castedThis->wrapped().frame()))
         return JSValue::encode(jsUndefined());
     auto& impl = castedThis->wrapped();
     JSValue result = jsNumber(impl.excitingAttr());
@@ -189,7 +189,7 @@
     if (UNLIKELY(!castedThis))
         return throwThisTypeError(*state, "TestActiveDOMObject", "excitingFunction");
     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestActiveDOMObject::info());
-    if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped()))
+    if (!shouldAllowAccessToFrame(state, castedThis->wrapped().frame()))
         return JSValue::encode(jsUndefined());
     auto& impl = castedThis->wrapped();
     if (UNLIKELY(state->argumentCount() < 1))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to