diff options
Diffstat (limited to 'LayoutTests/fast/dom/Geolocation/disconnected-frame-expected.txt')
-rw-r--r-- | LayoutTests/fast/dom/Geolocation/disconnected-frame-expected.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/LayoutTests/fast/dom/Geolocation/disconnected-frame-expected.txt b/LayoutTests/fast/dom/Geolocation/disconnected-frame-expected.txt new file mode 100644 index 0000000..33c17d3 --- /dev/null +++ b/LayoutTests/fast/dom/Geolocation/disconnected-frame-expected.txt @@ -0,0 +1,12 @@ +frame "<!--framePath //<!--frame0-->-->" - has 1 onunload handler(s) +Tests that when a request is made on a Geolocation object and its Frame is disconnected before a callback is made, the error callback is invoked with the correct error message. + +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". + + +PASS error.code is 2 +PASS error.message is "Geolocation cannot be used in frameless documents" +PASS successfullyParsed is true + +TEST COMPLETE + |