Title: [247313] trunk
- Revision
- 247313
- Author
- [email protected]
- Date
- 2019-07-10 11:09:27 -0700 (Wed, 10 Jul 2019)
Log Message
openDatabase property should not be enumerable on DOMWindow
https://bugs.webkit.org/show_bug.cgi?id=199672
<rdar://problem/52809000>
Reviewed by Chris Dumez.
Source/WebCore:
Test: storage/websql/openDatabase-deprecation.html
* Modules/webdatabase/DOMWindowWebDatabase.idl:
LayoutTests:
* storage/websql/openDatabase-deprecation-expected.txt: Added.
* storage/websql/openDatabase-deprecation.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (247312 => 247313)
--- trunk/LayoutTests/ChangeLog 2019-07-10 18:09:05 UTC (rev 247312)
+++ trunk/LayoutTests/ChangeLog 2019-07-10 18:09:27 UTC (rev 247313)
@@ -1,3 +1,14 @@
+2019-07-10 Youenn Fablet <[email protected]>
+
+ openDatabase property should not be enumerable on DOMWindow
+ https://bugs.webkit.org/show_bug.cgi?id=199672
+ <rdar://problem/52809000>
+
+ Reviewed by Chris Dumez.
+
+ * storage/websql/openDatabase-deprecation-expected.txt: Added.
+ * storage/websql/openDatabase-deprecation.html: Added.
+
2019-07-10 Carlos Alberto Lopez Perez <[email protected]>
[GTK][WPE] Enable support for CSS_COMPOSITING
Added: trunk/LayoutTests/storage/websql/openDatabase-deprecation-expected.txt (0 => 247313)
--- trunk/LayoutTests/storage/websql/openDatabase-deprecation-expected.txt (rev 0)
+++ trunk/LayoutTests/storage/websql/openDatabase-deprecation-expected.txt 2019-07-10 18:09:27 UTC (rev 247313)
@@ -0,0 +1,4 @@
+CONSOLE MESSAGE: line 12: Web SQL is deprecated. Please use IndexedDB instead.
+
+PASS openDatabase deprecation
+
Added: trunk/LayoutTests/storage/websql/openDatabase-deprecation.html (0 => 247313)
--- trunk/LayoutTests/storage/websql/openDatabase-deprecation.html (rev 0)
+++ trunk/LayoutTests/storage/websql/openDatabase-deprecation.html 2019-07-10 18:09:27 UTC (rev 247313)
@@ -0,0 +1,16 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>openDatabase deprecation</title>
+ <script src=""
+ <script src=""
+ </head>
+ <body>
+ <script>
+assert_equals(Object.keys(window).indexOf("openDatabase"), -1);
+window.openDatabase(null, null, null, null);
+done();
+ </script>
+ </body>
+</html>
Modified: trunk/Source/WebCore/ChangeLog (247312 => 247313)
--- trunk/Source/WebCore/ChangeLog 2019-07-10 18:09:05 UTC (rev 247312)
+++ trunk/Source/WebCore/ChangeLog 2019-07-10 18:09:27 UTC (rev 247313)
@@ -1,3 +1,15 @@
+2019-07-10 Youenn Fablet <[email protected]>
+
+ openDatabase property should not be enumerable on DOMWindow
+ https://bugs.webkit.org/show_bug.cgi?id=199672
+ <rdar://problem/52809000>
+
+ Reviewed by Chris Dumez.
+
+ Test: storage/websql/openDatabase-deprecation.html
+
+ * Modules/webdatabase/DOMWindowWebDatabase.idl:
+
2019-07-10 Chris Dumez <[email protected]>
Fix unsafe usage of makeWeakPtr() in CMTimebaseEffectiveRateChangedCallback()
Modified: trunk/Source/WebCore/Modules/webdatabase/DOMWindowWebDatabase.idl (247312 => 247313)
--- trunk/Source/WebCore/Modules/webdatabase/DOMWindowWebDatabase.idl 2019-07-10 18:09:05 UTC (rev 247312)
+++ trunk/Source/WebCore/Modules/webdatabase/DOMWindowWebDatabase.idl 2019-07-10 18:09:27 UTC (rev 247313)
@@ -25,5 +25,5 @@
*/
partial interface DOMWindow {
- [CustomGetter] readonly attribute any openDatabase;
+ [CustomGetter, NotEnumerable] readonly attribute any openDatabase;
};
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes