Commit eba2b724 authored by weinig@apple.com's avatar weinig@apple.com

2008-05-04 Sam Weinig <sam@webkit.org>

        Reviewed by Maciej Stachowiak.

        Don't print out the full url.

        * fast/dom/Window/dom-access-from-closure-iframe-expected.txt:
        * fast/dom/Window/dom-access-from-closure-window-expected.txt:
        * fast/dom/Window/resources/dom-access-from-closure-iframe-child.html:
        * fast/dom/Window/resources/dom-access-from-closure-window-child.html:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent ad3467f2
2008-05-04 Sam Weinig <sam@webkit.org>
Reviewed by Maciej Stachowiak.
Don't print out the full url.
* fast/dom/Window/dom-access-from-closure-iframe-expected.txt:
* fast/dom/Window/dom-access-from-closure-window-expected.txt:
* fast/dom/Window/resources/dom-access-from-closure-iframe-child.html:
* fast/dom/Window/resources/dom-access-from-closure-window-child.html:
2008-05-03 Rob Buis <buis@kde.org>
Reviewed by Sam.
document.URL: file:///Users/weinig/Code/webkit/OpenSource/LayoutTests/fast/dom/Window/resources/notify-parent-done.html
window.document.URL: file:///Users/weinig/Code/webkit/OpenSource/LayoutTests/fast/dom/Window/resources/notify-parent-done.html
document.URL: LayoutTests/fast/dom/Window/resources/notify-parent-done.html
window.document.URL: LayoutTests/fast/dom/Window/resources/notify-parent-done.html
name: child
window.name: child
document.URL: file:///Users/weinig/Code/webkit/OpenSource/LayoutTests/fast/dom/Window/resources/notify-opener-done.html
window.document.URL: file:///Users/weinig/Code/webkit/OpenSource/LayoutTests/fast/dom/Window/resources/notify-opener-done.html
document.URL: LayoutTests/fast/dom/Window/resources/notify-opener-done.html
window.document.URL: LayoutTests/fast/dom/Window/resources/notify-opener-done.html
name: child
window.name: child
<script>
parent.accessFrame = function()
{
function normalizeURL(url)
{
return url.substring(url.lastIndexOf("LayoutTests"));
}
try {
parent.log("document.URL: " + document.URL);
parent.log("window.document.URL: " + window.document.URL);
parent.log("document.URL: " + normalizeURL(document.URL));
parent.log("window.document.URL: " + normalizeURL(window.document.URL));
parent.log("name: " + name);
parent.log("window.name: " + window.name);
} catch (e) {
......
<script>
opener.accessFrame = function()
{
function normalizeURL(url)
{
return url.substring(url.lastIndexOf("LayoutTests"));
}
try {
opener.log("document.URL: " + document.URL);
opener.log("window.document.URL: " + window.document.URL);
opener.log("document.URL: " + normalizeURL(document.URL));
opener.log("window.document.URL: " + normalizeURL(window.document.URL));
opener.log("name: " + name);
opener.log("window.name: " + window.name);
} catch (e) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment