Title: [199159] trunk
Revision
199159
Author
wei...@apple.com
Date
2016-04-07 10:12:26 -0700 (Thu, 07 Apr 2016)

Log Message

window.Crypto is missing
<rdar://problem/25584034>
https://bugs.webkit.org/show_bug.cgi?id=156307

Reviewed by Joseph Pecoraro.

Source/WebCore:

Expose the Crypto constructor on the window object.

* page/Crypto.idl:

LayoutTests:

* js/dom/global-constructors-attributes-expected.txt:
* platform/efl/js/dom/global-constructors-attributes-expected.txt:
* platform/gtk/js/dom/global-constructors-attributes-expected.txt:
* platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
* platform/mac/js/dom/global-constructors-attributes-expected.txt:
* platform/win/js/dom/global-constructors-attributes-expected.txt:
Update for the new Crypto constructor.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (199158 => 199159)


--- trunk/LayoutTests/ChangeLog	2016-04-07 16:37:42 UTC (rev 199158)
+++ trunk/LayoutTests/ChangeLog	2016-04-07 17:12:26 UTC (rev 199159)
@@ -1,3 +1,19 @@
+2016-04-06  Sam Weinig  <s...@webkit.org>
+
+        window.Crypto is missing
+        <rdar://problem/25584034>
+        https://bugs.webkit.org/show_bug.cgi?id=156307
+
+        Reviewed by Joseph Pecoraro.
+
+        * js/dom/global-constructors-attributes-expected.txt:
+        * platform/efl/js/dom/global-constructors-attributes-expected.txt:
+        * platform/gtk/js/dom/global-constructors-attributes-expected.txt:
+        * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
+        * platform/mac/js/dom/global-constructors-attributes-expected.txt:
+        * platform/win/js/dom/global-constructors-attributes-expected.txt:
+        Update for the new Crypto constructor.
+
 2016-04-07  Zalan Bujtas  <za...@apple.com>
 
         REGRESSION (197987): Ingredient lists on smittenkitchen.com are full justified instead of left justified.

Modified: trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt (199158 => 199159)


--- trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt	2016-04-07 16:37:42 UTC (rev 199158)
+++ trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt	2016-04-07 17:12:26 UTC (rev 199159)
@@ -258,6 +258,11 @@
 PASS Object.getOwnPropertyDescriptor(global, 'Counter').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'Counter').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'Counter').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').value is Crypto
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'CustomEvent').value is CustomEvent
 PASS Object.getOwnPropertyDescriptor(global, 'CustomEvent').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'CustomEvent').hasOwnProperty('set') is false

Modified: trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt (199158 => 199159)


--- trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt	2016-04-07 16:37:42 UTC (rev 199158)
+++ trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt	2016-04-07 17:12:26 UTC (rev 199159)
@@ -253,6 +253,11 @@
 PASS Object.getOwnPropertyDescriptor(global, 'Counter').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'Counter').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'Counter').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').value is Crypto
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'CustomEvent').value is CustomEvent
 PASS Object.getOwnPropertyDescriptor(global, 'CustomEvent').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'CustomEvent').hasOwnProperty('set') is false

Modified: trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt (199158 => 199159)


--- trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt	2016-04-07 16:37:42 UTC (rev 199158)
+++ trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt	2016-04-07 17:12:26 UTC (rev 199159)
@@ -253,6 +253,11 @@
 PASS Object.getOwnPropertyDescriptor(global, 'Counter').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'Counter').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'Counter').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').value is Crypto
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'CustomEvent').value is CustomEvent
 PASS Object.getOwnPropertyDescriptor(global, 'CustomEvent').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'CustomEvent').hasOwnProperty('set') is false

Modified: trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt (199158 => 199159)


--- trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt	2016-04-07 16:37:42 UTC (rev 199158)
+++ trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt	2016-04-07 17:12:26 UTC (rev 199159)
@@ -273,6 +273,11 @@
 PASS Object.getOwnPropertyDescriptor(global, 'Counter').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'Counter').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'Counter').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').value is Crypto
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'CustomEvent').value is CustomEvent
 PASS Object.getOwnPropertyDescriptor(global, 'CustomEvent').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'CustomEvent').hasOwnProperty('set') is false

Modified: trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt (199158 => 199159)


--- trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt	2016-04-07 16:37:42 UTC (rev 199158)
+++ trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt	2016-04-07 17:12:26 UTC (rev 199159)
@@ -273,6 +273,11 @@
 PASS Object.getOwnPropertyDescriptor(global, 'Counter').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'Counter').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'Counter').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').value is Crypto
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'CustomEvent').value is CustomEvent
 PASS Object.getOwnPropertyDescriptor(global, 'CustomEvent').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'CustomEvent').hasOwnProperty('set') is false

Modified: trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt (199158 => 199159)


--- trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt	2016-04-07 16:37:42 UTC (rev 199158)
+++ trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt	2016-04-07 17:12:26 UTC (rev 199159)
@@ -188,6 +188,11 @@
 PASS Object.getOwnPropertyDescriptor(global, 'Counter').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'Counter').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'Counter').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').value is Crypto
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'Crypto').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'CustomEvent').value is CustomEvent
 PASS Object.getOwnPropertyDescriptor(global, 'CustomEvent').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'CustomEvent').hasOwnProperty('set') is false

Modified: trunk/Source/WebCore/ChangeLog (199158 => 199159)


--- trunk/Source/WebCore/ChangeLog	2016-04-07 16:37:42 UTC (rev 199158)
+++ trunk/Source/WebCore/ChangeLog	2016-04-07 17:12:26 UTC (rev 199159)
@@ -1,3 +1,15 @@
+2016-04-06  Sam Weinig  <s...@webkit.org>
+
+        window.Crypto is missing
+        <rdar://problem/25584034>
+        https://bugs.webkit.org/show_bug.cgi?id=156307
+
+        Reviewed by Joseph Pecoraro.
+
+        Expose the Crypto constructor on the window object.
+
+        * page/Crypto.idl:
+
 2016-04-07  Fujii Hironori  <hironori.fu...@jp.sony.com>
 
         [CMake][Win] WEBKIT_WRAP_SOURCELIST is not applied in WebCore project

Modified: trunk/Source/WebCore/page/Crypto.idl (199158 => 199159)


--- trunk/Source/WebCore/page/Crypto.idl	2016-04-07 16:37:42 UTC (rev 199158)
+++ trunk/Source/WebCore/page/Crypto.idl	2016-04-07 17:12:26 UTC (rev 199159)
@@ -28,7 +28,6 @@
  */
 
 [
-    NoInterfaceObject,
     GenerateIsReachable=ImplDocument,
 ] interface Crypto {
     [Custom, RaisesException] ArrayBufferView getRandomValues(ArrayBufferView array);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to