Reference Geolocation object from GeoNotifier and Geolocation::setIsAllowed.
authorJohn Knottenbelt <jknotten@chromium.org>
Wed, 13 Jul 2011 14:11:14 +0000 (14:11 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Tue, 2 Aug 2011 17:59:25 +0000 (14:59 -0300)
commit899ebf52af7b8e39652fb88f54ab7b9fbbaf68f1
tree4c764fe75748cfce25c995c98f4fc5825b2820c9
parent9ee58b72d6be7ef21706bac02451193fd7df6f2a
Reference Geolocation object from GeoNotifier and Geolocation::setIsAllowed.
https://bugs.webkit.org/show_bug.cgi?id=64363

Reviewed by Tony Gentilcore.

Source/WebCore:

Test: fast/dom/Geolocation/remove-remote-context-in-error-callback-crash.html

* page/Geolocation.cpp:
(WebCore::Geolocation::setIsAllowed):
* page/Geolocation.h:

LayoutTests:

* fast/dom/Geolocation/remove-remote-context-in-error-callback-crash.html: Added.
* fast/dom/Geolocation/resources/remove-remote-context-in-error-callback-crash-inner.html: Added.
* fast/dom/Geolocation/script-tests/remove-remote-context-in-error-callback-crash.js: Added.
* fast/dom/Geolocation/remove-remote-context-in-error-callback-crash-expected.txt: Added.
(gc):
(onIframeReady):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90914 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/Geolocation/remove-remote-context-in-error-callback-crash-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/Geolocation/remove-remote-context-in-error-callback-crash.html [new file with mode: 0644]
LayoutTests/fast/dom/Geolocation/resources/remove-remote-context-in-error-callback-crash-inner.html [new file with mode: 0644]
LayoutTests/fast/dom/Geolocation/script-tests/remove-remote-context-in-error-callback-crash.js [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/page/Geolocation.cpp
Source/WebCore/page/Geolocation.h