[Webkit-unassigned] [Bug 40129] Geolocation needs LayoutTest to test making callbacks to remote frames
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 3 10:59:08 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=40129
Steve Block <steveblock at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |steveblock at google.com
--- Comment #6 from Steve Block <steveblock at google.com> 2010-06-03 10:59:08 PST ---
(In reply to comment #3)
> (From update of attachment 57787 [details])
> LayoutTests/fast/dom/Geolocation/script-tests/callback-to-remote-context.js:3
> + function onIframeReady() {
> Isn't this being called with the iframe's ScriptExecutionContext?
No, I think the the call to getCurrentPosition() is made with the main frame's ScriptExecutionContext, because the function OnIframeReady was defined in the scope of the main frame.
> It would be useful to also have a test that calls getCurrentPosition() directly
> from iframe, not from a function defined in main frame's document.
Do you mean that the iframe would directly call a method on its own Geolocation object? So just testing the most basic functionality, but in an iframe? It's true that we don't currently have a test for this, but the purpose of this bug was to test calling back to a context other than that belonging to the Geolocation's frame.
--
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