- tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=6550
REGRESSION: window.open('myurl', '_self') fails to load myurl in current window
* fast/dom/Window/window-open-parent.html: Added.
* fast/dom/Window/window-open-parent-no-parent.html: Added.
* fast/dom/Window/window-open-self.html: Added.
* fast/dom/Window/window-open-top.html: Added.
* fast/dom/Window/resources: Added.
* fast/dom/Window/resources/destination.html: Added.
* fast/dom/Window/window-open-parent-expected.txt: Added.
* fast/dom/Window/window-open-parent-no-parent-expected.txt: Added.
* fast/dom/Window/window-open-self-expected.txt: Added.
* fast/dom/Window/window-open-top-expected.txt: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12461
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-01-28 Darin Adler <darin@apple.com>
+
+ Reviewed by Maciej.
+
+ - tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=6550
+ REGRESSION: window.open('myurl', '_self') fails to load myurl in current window
+
+ * fast/dom/Window/window-open-parent.html: Added.
+ * fast/dom/Window/window-open-parent-no-parent.html: Added.
+ * fast/dom/Window/window-open-self.html: Added.
+ * fast/dom/Window/window-open-top.html: Added.
+
+ * fast/dom/Window/resources: Added.
+ * fast/dom/Window/resources/destination.html: Added.
+ * fast/dom/Window/window-open-parent-expected.txt: Added.
+ * fast/dom/Window/window-open-parent-no-parent-expected.txt: Added.
+ * fast/dom/Window/window-open-self-expected.txt: Added.
+ * fast/dom/Window/window-open-top-expected.txt: Added.
+
2006-01-20 Darin Adler <darin@apple.com>
- added a test for the names of range exceptions, which were wrong
--- /dev/null
+<p>Hooray, you got here! That means the test succeeded!</p>
+<script>if (window.layoutTestController) layoutTestController.notifyDone();</script>
--- /dev/null
+Hooray, you got here! That means the test succeeded!
+
+
--- /dev/null
+Hooray, you got here! That means the test succeeded!
+
+
--- /dev/null
+<script>
+if (window.layoutTestController) {
+ layoutTestController.dumpAsText();
+ layoutTestController.waitUntilDone();
+}
+window.open("resources/destination.html", "_parent");
+</script>
+<p>If you can still see this text, then the test of window.open(URL, "_parent") has failed.</p>
--- /dev/null
+<iframe src="window-open-parent-no-parent.html"></iframe>
+<p>If you can still see this text, then the test of window.open(URL, "_parent") has failed.</p>
--- /dev/null
+Hooray, you got here! That means the test succeeded!
+
+
--- /dev/null
+<script>
+if (window.layoutTestController) {
+ layoutTestController.dumpAsText();
+ layoutTestController.waitUntilDone();
+}
+window.open("resources/destination.html", "_self");
+</script>
+<p>If you can still see this text, then the test of window.open(URL, "_self") has failed.</p>
--- /dev/null
+Hooray, you got here! That means the test succeeded!
+
+
--- /dev/null
+<script>
+if (window.layoutTestController) {
+ layoutTestController.dumpAsText();
+ layoutTestController.waitUntilDone();
+}
+window.open("resources/destination.html", "_top");
+</script>
+<p>If you can still see this text, then the test of window.open(URL, "_top") has failed.</p>