[Webkit-unassigned] [Bug 47978] Relative URL resolution should use current frame's base URL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 25 09:53:25 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=47978





--- Comment #9 from Daniel Nyström <daniel.nystrom at timeterminal.eu>  2010-10-25 09:53:24 PST ---
Sorry for WOT but this is the tests run on Firefox 3.6.11 (Ubuntu 10.04):

/fast/dom/Window/window-property-clearing.html:

> Page 0:
> PASS: 'x' in childWindow should be true and is.
> PASS: childWindow.x should be 1 and is.
> PASS: 'f' in childWindow should be true and is.
> PASS: childWindow.f should be function and is.
> 
> Page 1:
> PASS: 'x' in childWindow should be false and is.
> PASS: childWindow.x should be undefined and is.
> PASS: 'f' in childWindow should be false and is.
> PASS: typeof childWindow.f should be undefined and is.
> PASS: 'name' in childWindow should be true and is.
> PASS: childWindow.name should be test and is.

But when reloaded with F5:

> Page 0:
> FAIL: 'x' in childWindow should be true but instead is false.
> FAIL: childWindow.x should be 1 but instead is undefined.
> FAIL: 'f' in childWindow should be true but instead is false.
> FAIL: childWindow.f should be function but instead is undefined.

> Page 1:
> PASS: 'x' in childWindow should be false and is.
> PASS: childWindow.x should be undefined and is.
> PASS: 'f' in childWindow should be false and is.
> PASS: typeof childWindow.f should be undefined and is.
> PASS: 'name' in childWindow should be true and is.
> PASS: childWindow.name should be test and is.

Reloading using Ctrl+F5 (ignore cache) makes them all pass every time.



/fast/frames/iframe-reparenting-new-page.html:

> PASS successfullyParsed is true

> TEST COMPLETE
> PASS Loaded iframe in window 1.
> PASS iframe.contentWindow.counter is 1
> PASS Loaded page 2.
> PASS Page 2 adopted the iframe.
> PASS Iframe transferred.
> FAIL iframe.contentWindow.counter should be 2. Was NaN.
> PASS window2.location.href is iframe.contentWindow.parent.location.href
> PASS Page 1 is closed.
> PASS Received the timer beat from the adopted iframe - exiting.



The frameNavigation tests is a bit unclear to me how to really test, but this is my remarks:

http/tests/security/frameNavigation/context-for-window-open.html:
 - No error messages in console (running Firebug).
 - What's shown: A blank iframe in a blank iframe on the main body.

 http/tests/security/frameNavigation/context-for-location.html:
 - Error output in console: frames[0].frames[0] is undefined (line 17)
 - What's shown: "document.referrer = http://../middle-frame-for-location.html" on body, and "Correct target." in the iframe within the iframe on the body.

 http/tests/security/frameNavigation/context-for-location-href.html:
 - Error output in console: frames[0].frames[0] is undefined (line 17)
 - What's shown: A blank iframe in a blank iframe on the main body.

 http/tests/security/frameNavigation/context-for-location-assign.html:
 - Error output in console: frames[0].frames[0] is undefined (line 17)
 - What's shown: "document.referrer = http://../middle-frame-for-location.html" on body, and "Correct target." in the iframe within the iframe on the body.



Is there anything else I can do to help? I'm new to most of things, even C++, so fixing all this is myself too much for me. But please let me know if there's anything I can do!

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list