[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198
jberlin at webkit.org
jberlin at webkit.org
Sun Feb 20 23:12:59 UTC 2011
The following commit has been merged in the webkit-1.3 branch:
commit aabd7ed15c973b2c4a1038782d437ce4ee247941
Author: jberlin at webkit.org <jberlin at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Jan 19 01:13:16 2011 +0000
Add a test that calling window.open with an empty URL does not trigger an assertion or
cause a crash.
https://bugs.webkit.org/show_bug.cgi?id=52654
Reviewed by Adam Roben.
* fast/dom/Window/open-window-empty-url-expected.txt: Added.
* fast/dom/Window/open-window-empty-url.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76084 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 6765db2..694c70f 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,14 @@
+2011-01-18 Jessie Berlin <jberlin at apple.com>
+
+ Reviewed by Adam Roben.
+
+ Add a test that calling window.open with an empty URL does not trigger an assertion or
+ cause a crash.
+ https://bugs.webkit.org/show_bug.cgi?id=52654
+
+ * fast/dom/Window/open-window-empty-url-expected.txt: Added.
+ * fast/dom/Window/open-window-empty-url.html: Added.
+
2011-01-18 Robert Hogan <robert at webkit.org>
Reviewed by Simon Hausmann.
diff --git a/LayoutTests/fast/dom/Window/open-window-empty-url-expected.txt b/LayoutTests/fast/dom/Window/open-window-empty-url-expected.txt
new file mode 100644
index 0000000..7089779
--- /dev/null
+++ b/LayoutTests/fast/dom/Window/open-window-empty-url-expected.txt
@@ -0,0 +1,3 @@
+Test that calling window.open(""); does not trigger any assertions or cause any crashes.
+
+PASS: Calling window.open() with an empty URL did not trigger any assertions or cause any crashes.
diff --git a/LayoutTests/fast/dom/Window/open-window-empty-url.html b/LayoutTests/fast/dom/Window/open-window-empty-url.html
new file mode 100644
index 0000000..80c762f
--- /dev/null
+++ b/LayoutTests/fast/dom/Window/open-window-empty-url.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Open Window with an empty URL</title>
+</head>
+<body>
+ <p id="description">Test that calling window.open(""); does not trigger any assertions or cause any crashes.</p>
+ <div id="results"></div>
+ <script type="text/javascript">
+ if (window.layoutTestController) {
+ layoutTestController.dumpAsText();
+ layoutTestController.setCanOpenWindows();
+ }
+ var newWindow = window.open("");
+ newWindow.close();
+ document.getElementById("results").innerText = "PASS: Calling window.open() with an empty URL did not trigger any assertions or cause any crashes.";
+ </script>
+</body>
+</html>
+
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list