diff options
author | Iain Merrick <husky@google.com> | 2010-08-23 14:05:12 +0100 |
---|---|---|
committer | Iain Merrick <husky@google.com> | 2010-08-24 11:44:15 +0100 |
commit | 5ed273790a5b1179821c741e105289c1fbde9f62 (patch) | |
tree | 392d17bb9346ea351e6b60a4ab447e21d3fe7da0 /LayoutTests | |
parent | 8236fcb3e75af52fd4268ee0d73d5b7bd5df0420 (diff) | |
download | external_webkit-5ed273790a5b1179821c741e105289c1fbde9f62.zip external_webkit-5ed273790a5b1179821c741e105289c1fbde9f62.tar.gz external_webkit-5ed273790a5b1179821c741e105289c1fbde9f62.tar.bz2 |
Merge WebKit at r65615 : Android-specific results for Geolocation tests.
Tests added in http://trac.webkit.org/changeset/65416
On Android, we currently aren't printing the onunload handler message.
Change-Id: I3e89f23127f82be75c6e90825b87489f460195ff
Diffstat (limited to 'LayoutTests')
2 files changed, 26 insertions, 0 deletions
diff --git a/LayoutTests/platform/android/fast/dom/Geolocation/disconnected-frame-expected.txt b/LayoutTests/platform/android/fast/dom/Geolocation/disconnected-frame-expected.txt new file mode 100644 index 0000000..ae10f02 --- /dev/null +++ b/LayoutTests/platform/android/fast/dom/Geolocation/disconnected-frame-expected.txt @@ -0,0 +1,11 @@ +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
+
diff --git a/LayoutTests/platform/android/fast/dom/Geolocation/disconnected-frame-permission-denied-expected.txt b/LayoutTests/platform/android/fast/dom/Geolocation/disconnected-frame-permission-denied-expected.txt new file mode 100644 index 0000000..18abab4 --- /dev/null +++ b/LayoutTests/platform/android/fast/dom/Geolocation/disconnected-frame-permission-denied-expected.txt @@ -0,0 +1,15 @@ +Tests that when a request is made on a Geolocation object, permission is denied and its Frame is disconnected before a callback is made, the error callback is invoked with PERMISSION_DENIED.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS error.code is error.PERMISSION_DENIED
+PASS error.message is "User denied Geolocation"
+
+PASS error.code is error.PERMISSION_DENIED
+PASS error.message is "User denied Geolocation"
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
|