[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.15.1-1414-gc69ee75

eric at webkit.org eric at webkit.org
Thu Oct 29 20:36:45 UTC 2009


The following commit has been merged in the webkit-1.1 branch:
commit 98a05b0a4170c17d642fc6885b323683ab049ee8
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Sep 30 08:55:48 2009 +0000

    2009-09-30  Steve Block  <steveblock at google.com>
    
            Reviewed by Darin Adler.
    
            Geolocation LayoutTests should use an HTML template.
            https://bugs.webkit.org/show_bug.cgi?id=29179
    
            Updates Geolocation LayoutTests to correctly use an HTML template so that
            individual HTML files can be generated using make-script-test-wrappers.
            This requires a new js-test-post.js which allows for asynchronous tests.
    
            * fast/dom/Geolocation/resources/TEMPLATE.html: Modified. Updated to use new js-test-post.js.
            * fast/dom/Geolocation/resources/js-test-post.js: Added. Allows for asynchronous tests.
    
            * fast/dom/Geolocation/resources/argument-types.js: Modified. Sepcifies synchronous test.
            * fast/dom/Geolocation/argument-types.html: Modified. Updated to use new js-test-post.js.
    
            * fast/dom/Geolocation/resources/callback-exception.js: Modified. Specifies asynchronous test.
            * fast/dom/Geolocation/callback-exception.html: Modified. Updated to use new js-test-post.js.
            * fast/dom/Geolocation/callback-exception-expected.txt: Modified. Adds successfullyParsed.
    
            * fast/dom/Geolocation/resources/enabled.js: Modified. Sepcifies synchronous test.
            * fast/dom/Geolocation/enabled.html: Modified. Updated to use new js-test-post.js.
    
            * fast/dom/Geolocation/resources/error.js: Modified. Specifies asynchronous test.
            * fast/dom/Geolocation/error.html: Modified. Updated to use new js-test-post.js.
            * fast/dom/Geolocation/error-expected.txt: Modified. Adds successfullyParsed.
    
            * fast/dom/Geolocation/resources/permission-denied.js: Modified. Specifies asynchronous test.
            * fast/dom/Geolocation/permission-denied.html: Modified. Updated to use new js-test-post.js.
            * fast/dom/Geolocation/permission-denied-expected.txt: Modified. Adds successfullyParsed.
    
            * fast/dom/Geolocation/resources/permission-denied-stops-watches.js: Modified. Specifies asynchronous test.
            * fast/dom/Geolocation/permission-denied-stops-watches.html: Modified. Updated to use new js-test-post.js.
            * fast/dom/Geolocation/permission-denied-stops-watches-expected.txt: Modified. Adds successfullyParsed.
    
            * fast/dom/Geolocation/resources/position-string.js: Modified. Specifies asynchronous test.
            * fast/dom/Geolocation/position-string.html: Modified. Updated to use new js-test-post.js.
            * fast/dom/Geolocation/position-string-expected.txt: Modified. Adds successfullyParsed.
    
            * fast/dom/Geolocation/resources/reentrant-error.js: Modified. Specifies asynchronous test.
            * fast/dom/Geolocation/reentrant-error.html: Modified. Updated to use new js-test-post.js.
            * fast/dom/Geolocation/reentrant-error-expected.txt: Modified. Adds successfullyParsed.
    
            * fast/dom/Geolocation/resources/reentrant-success.js: Modified. Specifies asynchronous test.
            * fast/dom/Geolocation/reentrant-success.html: Modified. Updated to use new js-test-post.js.
            * fast/dom/Geolocation/reentrant-success-expected.txt: Modified. Adds successfullyParsed.
    
            * fast/dom/Geolocation/resources/success.js: Modified. Specifies asynchronous test.
            * fast/dom/Geolocation/success.html: Modified. Updated to use new js-test-post.js.
            * fast/dom/Geolocation/success-expected.txt: Modified. Adds successfullyParsed.
    
            * fast/dom/Geolocation/resources/timeout.js: Modified. Specifies asynchronous test.
            * fast/dom/Geolocation/timeout.html: Modified. Updated to use new js-test-post.js.
            * fast/dom/Geolocation/timeout-expected.txt: Modified. Adds successfullyParsed.
    
            * fast/dom/Geolocation/resources/timeout-zero.js: Modified. Specifies asynchronous test.
            * fast/dom/Geolocation/timeout-zero.html: Modified. Updated to use new js-test-post.js.
            * fast/dom/Geolocation/timeout-zero-expected.txt: Modified. Adds successfullyParsed.
    
            * fast/dom/Geolocation/resources/watch.js: Modified. Specifies asynchronous test.
            * fast/dom/Geolocation/watch.html: Updated to use new js-test-post.js.
            * fast/dom/Geolocation/watch-expected.txt: Modified. Adds successfullyParsed.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48924 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index a5aa373..29291ea 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,68 @@
+2009-09-30  Steve Block  <steveblock at google.com>
+
+        Reviewed by Darin Adler.
+
+        Geolocation LayoutTests should use an HTML template.
+        https://bugs.webkit.org/show_bug.cgi?id=29179
+
+        Updates Geolocation LayoutTests to correctly use an HTML template so that
+        individual HTML files can be generated using make-script-test-wrappers.
+        This requires a new js-test-post.js which allows for asynchronous tests.
+
+
+        * fast/dom/Geolocation/resources/TEMPLATE.html: Modified. Updated to use new js-test-post.js.
+        * fast/dom/Geolocation/resources/js-test-post.js: Added. Allows for asynchronous tests.
+
+        * fast/dom/Geolocation/resources/argument-types.js: Modified. Sepcifies synchronous test.
+        * fast/dom/Geolocation/argument-types.html: Modified. Updated to use new js-test-post.js.
+
+        * fast/dom/Geolocation/resources/callback-exception.js: Modified. Specifies asynchronous test.
+        * fast/dom/Geolocation/callback-exception.html: Modified. Updated to use new js-test-post.js.
+        * fast/dom/Geolocation/callback-exception-expected.txt: Modified. Adds successfullyParsed.
+
+        * fast/dom/Geolocation/resources/enabled.js: Modified. Sepcifies synchronous test.
+        * fast/dom/Geolocation/enabled.html: Modified. Updated to use new js-test-post.js.
+
+        * fast/dom/Geolocation/resources/error.js: Modified. Specifies asynchronous test.
+        * fast/dom/Geolocation/error.html: Modified. Updated to use new js-test-post.js.
+        * fast/dom/Geolocation/error-expected.txt: Modified. Adds successfullyParsed.
+
+        * fast/dom/Geolocation/resources/permission-denied.js: Modified. Specifies asynchronous test.
+        * fast/dom/Geolocation/permission-denied.html: Modified. Updated to use new js-test-post.js.
+        * fast/dom/Geolocation/permission-denied-expected.txt: Modified. Adds successfullyParsed.
+
+        * fast/dom/Geolocation/resources/permission-denied-stops-watches.js: Modified. Specifies asynchronous test.
+        * fast/dom/Geolocation/permission-denied-stops-watches.html: Modified. Updated to use new js-test-post.js.
+        * fast/dom/Geolocation/permission-denied-stops-watches-expected.txt: Modified. Adds successfullyParsed.
+
+        * fast/dom/Geolocation/resources/position-string.js: Modified. Specifies asynchronous test.
+        * fast/dom/Geolocation/position-string.html: Modified. Updated to use new js-test-post.js.
+        * fast/dom/Geolocation/position-string-expected.txt: Modified. Adds successfullyParsed.
+
+        * fast/dom/Geolocation/resources/reentrant-error.js: Modified. Specifies asynchronous test.
+        * fast/dom/Geolocation/reentrant-error.html: Modified. Updated to use new js-test-post.js.
+        * fast/dom/Geolocation/reentrant-error-expected.txt: Modified. Adds successfullyParsed.
+
+        * fast/dom/Geolocation/resources/reentrant-success.js: Modified. Specifies asynchronous test.
+        * fast/dom/Geolocation/reentrant-success.html: Modified. Updated to use new js-test-post.js.
+        * fast/dom/Geolocation/reentrant-success-expected.txt: Modified. Adds successfullyParsed.
+
+        * fast/dom/Geolocation/resources/success.js: Modified. Specifies asynchronous test.
+        * fast/dom/Geolocation/success.html: Modified. Updated to use new js-test-post.js.
+        * fast/dom/Geolocation/success-expected.txt: Modified. Adds successfullyParsed.
+
+        * fast/dom/Geolocation/resources/timeout.js: Modified. Specifies asynchronous test.
+        * fast/dom/Geolocation/timeout.html: Modified. Updated to use new js-test-post.js.
+        * fast/dom/Geolocation/timeout-expected.txt: Modified. Adds successfullyParsed.
+
+        * fast/dom/Geolocation/resources/timeout-zero.js: Modified. Specifies asynchronous test.
+        * fast/dom/Geolocation/timeout-zero.html: Modified. Updated to use new js-test-post.js.
+        * fast/dom/Geolocation/timeout-zero-expected.txt: Modified. Adds successfullyParsed.
+
+        * fast/dom/Geolocation/resources/watch.js: Modified. Specifies asynchronous test.
+        * fast/dom/Geolocation/watch.html: Updated to use new js-test-post.js.
+        * fast/dom/Geolocation/watch-expected.txt: Modified. Adds successfullyParsed.
+
 2009-09-29  Shinichiro Hamaji  <hamaji at chromium.org>
 
         Reviewed by Eric Seidel.
diff --git a/LayoutTests/fast/dom/Geolocation/argument-types.html b/LayoutTests/fast/dom/Geolocation/argument-types.html
index 8779bbf..f6b0ad4 100644
--- a/LayoutTests/fast/dom/Geolocation/argument-types.html
+++ b/LayoutTests/fast/dom/Geolocation/argument-types.html
@@ -8,6 +8,6 @@
 <p id="description"></p>
 <div id="console"></div>
 <script src="resources/argument-types.js"></script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="resources/js-test-post.js"></script>
 </body>
 </html>
diff --git a/LayoutTests/fast/dom/Geolocation/callback-exception-expected.txt b/LayoutTests/fast/dom/Geolocation/callback-exception-expected.txt
index 1efdfac..ca77390 100644
--- a/LayoutTests/fast/dom/Geolocation/callback-exception-expected.txt
+++ b/LayoutTests/fast/dom/Geolocation/callback-exception-expected.txt
@@ -4,6 +4,7 @@ Tests that when an exception is thrown in the success callback, the error callba
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
+PASS successfullyParsed is true
 PASS position.coords.latitude is mockLatitude
 PASS position.coords.longitude is mockLongitude
 PASS position.coords.accuracy is mockAccuracy
diff --git a/LayoutTests/fast/dom/Geolocation/callback-exception.html b/LayoutTests/fast/dom/Geolocation/callback-exception.html
index 69ea602..e5f9a7c 100644
--- a/LayoutTests/fast/dom/Geolocation/callback-exception.html
+++ b/LayoutTests/fast/dom/Geolocation/callback-exception.html
@@ -8,5 +8,6 @@
 <p id="description"></p>
 <div id="console"></div>
 <script src="resources/callback-exception.js"></script>
+<script src="resources/js-test-post.js"></script>
 </body>
 </html>
diff --git a/LayoutTests/fast/dom/Geolocation/enabled.html b/LayoutTests/fast/dom/Geolocation/enabled.html
index bc7cdac..bd6381a 100644
--- a/LayoutTests/fast/dom/Geolocation/enabled.html
+++ b/LayoutTests/fast/dom/Geolocation/enabled.html
@@ -8,6 +8,6 @@
 <p id="description"></p>
 <div id="console"></div>
 <script src="resources/enabled.js"></script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="resources/js-test-post.js"></script>
 </body>
 </html>
diff --git a/LayoutTests/fast/dom/Geolocation/error-expected.txt b/LayoutTests/fast/dom/Geolocation/error-expected.txt
index 8dbd0d1..08ef05c 100644
--- a/LayoutTests/fast/dom/Geolocation/error-expected.txt
+++ b/LayoutTests/fast/dom/Geolocation/error-expected.txt
@@ -3,6 +3,7 @@ Tests Geolocation error callback using the mock service.
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
+PASS successfullyParsed is true
 PASS error.code is mockCode
 PASS error.message is mockMessage
 PASS error.UNKNOWN_ERROR is 0
diff --git a/LayoutTests/fast/dom/Geolocation/error.html b/LayoutTests/fast/dom/Geolocation/error.html
index 7119a25..19718c7 100644
--- a/LayoutTests/fast/dom/Geolocation/error.html
+++ b/LayoutTests/fast/dom/Geolocation/error.html
@@ -8,5 +8,6 @@
 <p id="description"></p>
 <div id="console"></div>
 <script src="resources/error.js"></script>
+<script src="resources/js-test-post.js"></script>
 </body>
 </html>
diff --git a/LayoutTests/fast/dom/Geolocation/permission-denied-expected.txt b/LayoutTests/fast/dom/Geolocation/permission-denied-expected.txt
index 2ec80ef..501d740 100644
--- a/LayoutTests/fast/dom/Geolocation/permission-denied-expected.txt
+++ b/LayoutTests/fast/dom/Geolocation/permission-denied-expected.txt
@@ -3,6 +3,7 @@ Tests Geolocation when permission is denied, using the mock service.
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
+PASS successfullyParsed is true
 PASS error.code is error.PERMISSION_DENIED
 PASS error.message is "User disallowed Geolocation"
 PASS error.UNKNOWN_ERROR is 0
diff --git a/LayoutTests/fast/dom/Geolocation/permission-denied-stops-watches-expected.txt b/LayoutTests/fast/dom/Geolocation/permission-denied-stops-watches-expected.txt
index c9b6bdd..c8f8353 100644
--- a/LayoutTests/fast/dom/Geolocation/permission-denied-stops-watches-expected.txt
+++ b/LayoutTests/fast/dom/Geolocation/permission-denied-stops-watches-expected.txt
@@ -3,6 +3,7 @@ Tests that when Geolocation permission is denied, watches are stopped, as well a
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
+PASS successfullyParsed is true
 PASS error.code is error.PERMISSION_DENIED
 PASS error.message is "User disallowed Geolocation"
 PASS error.UNKNOWN_ERROR is 0
diff --git a/LayoutTests/fast/dom/Geolocation/permission-denied-stops-watches.html b/LayoutTests/fast/dom/Geolocation/permission-denied-stops-watches.html
index 5af7918..92f3a48 100644
--- a/LayoutTests/fast/dom/Geolocation/permission-denied-stops-watches.html
+++ b/LayoutTests/fast/dom/Geolocation/permission-denied-stops-watches.html
@@ -8,5 +8,6 @@
 <p id="description"></p>
 <div id="console"></div>
 <script src="resources/permission-denied-stops-watches.js"></script>
+<script src="resources/js-test-post.js"></script>
 </body>
 </html>
diff --git a/LayoutTests/fast/dom/Geolocation/permission-denied.html b/LayoutTests/fast/dom/Geolocation/permission-denied.html
index a25d599..6012079 100644
--- a/LayoutTests/fast/dom/Geolocation/permission-denied.html
+++ b/LayoutTests/fast/dom/Geolocation/permission-denied.html
@@ -8,5 +8,6 @@
 <p id="description"></p>
 <div id="console"></div>
 <script src="resources/permission-denied.js"></script>
+<script src="resources/js-test-post.js"></script>
 </body>
 </html>
diff --git a/LayoutTests/fast/dom/Geolocation/position-string-expected.txt b/LayoutTests/fast/dom/Geolocation/position-string-expected.txt
index b13c312..b042998 100644
--- a/LayoutTests/fast/dom/Geolocation/position-string-expected.txt
+++ b/LayoutTests/fast/dom/Geolocation/position-string-expected.txt
@@ -3,6 +3,7 @@ Tests formatting of position.toString().
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
+PASS successfullyParsed is true
 PASS position.coords.latitude is mockLatitude
 PASS position.coords.longitude is mockLongitude
 PASS position.coords.accuracy is mockAccuracy
diff --git a/LayoutTests/fast/dom/Geolocation/position-string.html b/LayoutTests/fast/dom/Geolocation/position-string.html
index c94e048..e75a4f5 100644
--- a/LayoutTests/fast/dom/Geolocation/position-string.html
+++ b/LayoutTests/fast/dom/Geolocation/position-string.html
@@ -8,5 +8,6 @@
 <p id="description"></p>
 <div id="console"></div>
 <script src="resources/position-string.js"></script>
+<script src="resources/js-test-post.js"></script>
 </body>
 </html>
diff --git a/LayoutTests/fast/dom/Geolocation/reentrant-error-expected.txt b/LayoutTests/fast/dom/Geolocation/reentrant-error-expected.txt
index 674b61c..6aaa17b 100644
--- a/LayoutTests/fast/dom/Geolocation/reentrant-error-expected.txt
+++ b/LayoutTests/fast/dom/Geolocation/reentrant-error-expected.txt
@@ -3,6 +3,7 @@ Tests that reentrant calls to Geolocation methods from the error callback are OK
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
+PASS successfullyParsed is true
 PASS error.code is mockCode
 PASS error.message is mockMessage
 PASS error.UNKNOWN_ERROR is 0
diff --git a/LayoutTests/fast/dom/Geolocation/reentrant-error.html b/LayoutTests/fast/dom/Geolocation/reentrant-error.html
index 6f16e96..f3300af 100644
--- a/LayoutTests/fast/dom/Geolocation/reentrant-error.html
+++ b/LayoutTests/fast/dom/Geolocation/reentrant-error.html
@@ -8,5 +8,6 @@
 <p id="description"></p>
 <div id="console"></div>
 <script src="resources/reentrant-error.js"></script>
+<script src="resources/js-test-post.js"></script>
 </body>
 </html>
diff --git a/LayoutTests/fast/dom/Geolocation/reentrant-success-expected.txt b/LayoutTests/fast/dom/Geolocation/reentrant-success-expected.txt
index d6e8ff4..ad63fa3 100644
--- a/LayoutTests/fast/dom/Geolocation/reentrant-success-expected.txt
+++ b/LayoutTests/fast/dom/Geolocation/reentrant-success-expected.txt
@@ -3,6 +3,7 @@ Tests that reentrant calls to Geolocation methods from the success callback are
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
+PASS successfullyParsed is true
 PASS position.coords.latitude is mockLatitude
 PASS position.coords.longitude is mockLongitude
 PASS position.coords.accuracy is mockAccuracy
diff --git a/LayoutTests/fast/dom/Geolocation/reentrant-success.html b/LayoutTests/fast/dom/Geolocation/reentrant-success.html
index e5b071c..f09cf28 100644
--- a/LayoutTests/fast/dom/Geolocation/reentrant-success.html
+++ b/LayoutTests/fast/dom/Geolocation/reentrant-success.html
@@ -8,5 +8,6 @@
 <p id="description"></p>
 <div id="console"></div>
 <script src="resources/reentrant-success.js"></script>
+<script src="resources/js-test-post.js"></script>
 </body>
 </html>
diff --git a/LayoutTests/fast/dom/Geolocation/resources/TEMPLATE.html b/LayoutTests/fast/dom/Geolocation/resources/TEMPLATE.html
index 1951c43..fcb8be1 100644
--- a/LayoutTests/fast/dom/Geolocation/resources/TEMPLATE.html
+++ b/LayoutTests/fast/dom/Geolocation/resources/TEMPLATE.html
@@ -8,6 +8,6 @@
 <p id="description"></p>
 <div id="console"></div>
 <script src="YOUR_JS_FILE_HERE"></script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="resources/js-test-post.js"></script>
 </body>
 </html>
diff --git a/LayoutTests/fast/dom/Geolocation/resources/argument-types.js b/LayoutTests/fast/dom/Geolocation/resources/argument-types.js
index 7ff0473..956e3d6 100644
--- a/LayoutTests/fast/dom/Geolocation/resources/argument-types.js
+++ b/LayoutTests/fast/dom/Geolocation/resources/argument-types.js
@@ -114,5 +114,6 @@ test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeou
 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout:-Infinity})', false);
 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout:"string"})', false);
 
+var isAsynchronous = false;
 var successfullyParsed = true;
 
diff --git a/LayoutTests/fast/dom/Geolocation/resources/callback-exception.js b/LayoutTests/fast/dom/Geolocation/resources/callback-exception.js
index d8cf770..d5cd682 100644
--- a/LayoutTests/fast/dom/Geolocation/resources/callback-exception.js
+++ b/LayoutTests/fast/dom/Geolocation/resources/callback-exception.js
@@ -31,3 +31,6 @@ function completeTest()
     window.layoutTestController.notifyDone();
 }
 window.layoutTestController.waitUntilDone();
+
+var isAsynchronous = true;
+var successfullyParsed = true;
diff --git a/LayoutTests/fast/dom/Geolocation/resources/enabled.js b/LayoutTests/fast/dom/Geolocation/resources/enabled.js
index 69ed4da..4e99984 100644
--- a/LayoutTests/fast/dom/Geolocation/resources/enabled.js
+++ b/LayoutTests/fast/dom/Geolocation/resources/enabled.js
@@ -14,4 +14,5 @@ shouldBeTrue("hasGeolocationProperty()");
 shouldBeTrue("'geolocation' in navigator");
 shouldBeTrue("navigator.hasOwnProperty('geolocation')");
 
+var isAsynchronous = false;
 var successfullyParsed = true;
diff --git a/LayoutTests/fast/dom/Geolocation/resources/error.js b/LayoutTests/fast/dom/Geolocation/resources/error.js
index d8bae59..903796b 100644
--- a/LayoutTests/fast/dom/Geolocation/resources/error.js
+++ b/LayoutTests/fast/dom/Geolocation/resources/error.js
@@ -22,3 +22,6 @@ navigator.geolocation.getCurrentPosition(function(p) {
     window.layoutTestController.notifyDone();
 });
 window.layoutTestController.waitUntilDone();
+
+var isAsynchronous = true;
+var successfullyParsed = true;
diff --git a/LayoutTests/fast/dom/Geolocation/resources/js-test-post.js b/LayoutTests/fast/dom/Geolocation/resources/js-test-post.js
new file mode 100644
index 0000000..558f149
--- /dev/null
+++ b/LayoutTests/fast/dom/Geolocation/resources/js-test-post.js
@@ -0,0 +1,4 @@
+shouldBeTrue("successfullyParsed");
+if (!isAsynchronous) {
+    debug('<br /><span class="pass">TEST COMPLETE</span>');
+}
diff --git a/LayoutTests/fast/dom/Geolocation/resources/permission-denied-stops-watches.js b/LayoutTests/fast/dom/Geolocation/resources/permission-denied-stops-watches.js
index 11a6d25..209d9da 100644
--- a/LayoutTests/fast/dom/Geolocation/resources/permission-denied-stops-watches.js
+++ b/LayoutTests/fast/dom/Geolocation/resources/permission-denied-stops-watches.js
@@ -37,3 +37,6 @@ function completeTest()
     window.layoutTestController.notifyDone();
 }
 window.layoutTestController.waitUntilDone();
+
+var isAsynchronous = true;
+var successfullyParsed = true;
diff --git a/LayoutTests/fast/dom/Geolocation/resources/permission-denied.js b/LayoutTests/fast/dom/Geolocation/resources/permission-denied.js
index 8f81375..977fbf9 100644
--- a/LayoutTests/fast/dom/Geolocation/resources/permission-denied.js
+++ b/LayoutTests/fast/dom/Geolocation/resources/permission-denied.js
@@ -19,3 +19,6 @@ navigator.geolocation.getCurrentPosition(function(p) {
     window.layoutTestController.notifyDone();
 });
 window.layoutTestController.waitUntilDone();
+
+var isAsynchronous = true;
+var successfullyParsed = true;
diff --git a/LayoutTests/fast/dom/Geolocation/resources/position-string.js b/LayoutTests/fast/dom/Geolocation/resources/position-string.js
index 19a0f10..6365fca 100644
--- a/LayoutTests/fast/dom/Geolocation/resources/position-string.js
+++ b/LayoutTests/fast/dom/Geolocation/resources/position-string.js
@@ -25,3 +25,6 @@ navigator.geolocation.getCurrentPosition(function(p) {
     window.layoutTestController.notifyDone();
 });
 window.layoutTestController.waitUntilDone();
+
+var isAsynchronous = true;
+var successfullyParsed = true;
diff --git a/LayoutTests/fast/dom/Geolocation/resources/reentrant-error.js b/LayoutTests/fast/dom/Geolocation/resources/reentrant-error.js
index 077a51a..06f1c22 100644
--- a/LayoutTests/fast/dom/Geolocation/resources/reentrant-error.js
+++ b/LayoutTests/fast/dom/Geolocation/resources/reentrant-error.js
@@ -50,3 +50,6 @@ function continueTest() {
     });
 }
 window.layoutTestController.waitUntilDone();
+
+var isAsynchronous = true;
+var successfullyParsed = true;
diff --git a/LayoutTests/fast/dom/Geolocation/resources/reentrant-success.js b/LayoutTests/fast/dom/Geolocation/resources/reentrant-success.js
index 564cc47..12dfe39 100644
--- a/LayoutTests/fast/dom/Geolocation/resources/reentrant-success.js
+++ b/LayoutTests/fast/dom/Geolocation/resources/reentrant-success.js
@@ -48,5 +48,5 @@ function continueTest() {
 }
 window.layoutTestController.waitUntilDone();
 
-
-
+var isAsynchronous = true;
+var successfullyParsed = true;
diff --git a/LayoutTests/fast/dom/Geolocation/resources/success.js b/LayoutTests/fast/dom/Geolocation/resources/success.js
index 51f9436..c5f566f 100644
--- a/LayoutTests/fast/dom/Geolocation/resources/success.js
+++ b/LayoutTests/fast/dom/Geolocation/resources/success.js
@@ -22,3 +22,6 @@ navigator.geolocation.getCurrentPosition(function(p) {
     window.layoutTestController.notifyDone();
 });
 window.layoutTestController.waitUntilDone();
+
+var isAsynchronous = true;
+var successfullyParsed = true;
diff --git a/LayoutTests/fast/dom/Geolocation/resources/timeout-zero.js b/LayoutTests/fast/dom/Geolocation/resources/timeout-zero.js
index f766f46..32d2366 100644
--- a/LayoutTests/fast/dom/Geolocation/resources/timeout-zero.js
+++ b/LayoutTests/fast/dom/Geolocation/resources/timeout-zero.js
@@ -20,3 +20,6 @@ navigator.geolocation.getCurrentPosition(function(p) {
     timeout: 0
 });
 window.layoutTestController.waitUntilDone();
+
+var isAsynchronous = true;
+var successfullyParsed = true;
diff --git a/LayoutTests/fast/dom/Geolocation/resources/timeout.js b/LayoutTests/fast/dom/Geolocation/resources/timeout.js
index b531724..d4fa1a7 100644
--- a/LayoutTests/fast/dom/Geolocation/resources/timeout.js
+++ b/LayoutTests/fast/dom/Geolocation/resources/timeout.js
@@ -24,3 +24,6 @@ navigator.geolocation.getCurrentPosition(function(p) {
     timeout: 1000
 });
 window.layoutTestController.waitUntilDone();
+
+var isAsynchronous = true;
+var successfullyParsed = true;
diff --git a/LayoutTests/fast/dom/Geolocation/resources/watch.js b/LayoutTests/fast/dom/Geolocation/resources/watch.js
index 9ef1334..9d43778 100644
--- a/LayoutTests/fast/dom/Geolocation/resources/watch.js
+++ b/LayoutTests/fast/dom/Geolocation/resources/watch.js
@@ -64,3 +64,6 @@ navigator.geolocation.watchPosition(function(p) {
     }
 });
 window.layoutTestController.waitUntilDone();
+
+var isAsynchronous = true;
+var successfullyParsed = true;
diff --git a/LayoutTests/fast/dom/Geolocation/success-expected.txt b/LayoutTests/fast/dom/Geolocation/success-expected.txt
index d083eb4..a063801 100644
--- a/LayoutTests/fast/dom/Geolocation/success-expected.txt
+++ b/LayoutTests/fast/dom/Geolocation/success-expected.txt
@@ -3,6 +3,7 @@ Tests Geolocation success callback using the mock service.
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
+PASS successfullyParsed is true
 PASS position.coords.latitude is mockLatitude
 PASS position.coords.longitude is mockLongitude
 PASS position.coords.accuracy is mockAccuracy
diff --git a/LayoutTests/fast/dom/Geolocation/success.html b/LayoutTests/fast/dom/Geolocation/success.html
index 2ba03c0..ecd7a25 100644
--- a/LayoutTests/fast/dom/Geolocation/success.html
+++ b/LayoutTests/fast/dom/Geolocation/success.html
@@ -8,5 +8,6 @@
 <p id="description"></p>
 <div id="console"></div>
 <script src="resources/success.js"></script>
+<script src="resources/js-test-post.js"></script>
 </body>
 </html>
diff --git a/LayoutTests/fast/dom/Geolocation/timeout-expected.txt b/LayoutTests/fast/dom/Geolocation/timeout-expected.txt
index b06a305..c673cd2 100644
--- a/LayoutTests/fast/dom/Geolocation/timeout-expected.txt
+++ b/LayoutTests/fast/dom/Geolocation/timeout-expected.txt
@@ -3,6 +3,7 @@ Tests that when timeout is non-zero, the success callback is called as expected.
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
+PASS successfullyParsed is true
 PASS position.coords.latitude is mockLatitude
 PASS position.coords.longitude is mockLongitude
 PASS position.coords.accuracy is mockAccuracy
diff --git a/LayoutTests/fast/dom/Geolocation/timeout-zero-expected.txt b/LayoutTests/fast/dom/Geolocation/timeout-zero-expected.txt
index 105eb1b..14dcd68 100644
--- a/LayoutTests/fast/dom/Geolocation/timeout-zero-expected.txt
+++ b/LayoutTests/fast/dom/Geolocation/timeout-zero-expected.txt
@@ -3,6 +3,7 @@ Tests that when timeout is zero (and maximumAge is too), the error callback is c
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
+PASS successfullyParsed is true
 PASS error.code is error.TIMEOUT
 PASS error.message is "Timeout expired"
 PASS error.UNKNOWN_ERROR is 0
diff --git a/LayoutTests/fast/dom/Geolocation/timeout-zero.html b/LayoutTests/fast/dom/Geolocation/timeout-zero.html
index 9df88da..955398e 100644
--- a/LayoutTests/fast/dom/Geolocation/timeout-zero.html
+++ b/LayoutTests/fast/dom/Geolocation/timeout-zero.html
@@ -8,5 +8,6 @@
 <p id="description"></p>
 <div id="console"></div>
 <script src="resources/timeout-zero.js"></script>
+<script src="resources/js-test-post.js"></script>
 </body>
 </html>
diff --git a/LayoutTests/fast/dom/Geolocation/timeout.html b/LayoutTests/fast/dom/Geolocation/timeout.html
index 765b2ad..f8eaafe 100644
--- a/LayoutTests/fast/dom/Geolocation/timeout.html
+++ b/LayoutTests/fast/dom/Geolocation/timeout.html
@@ -8,5 +8,6 @@
 <p id="description"></p>
 <div id="console"></div>
 <script src="resources/timeout.js"></script>
+<script src="resources/js-test-post.js"></script>
 </body>
 </html>
diff --git a/LayoutTests/fast/dom/Geolocation/watch-expected.txt b/LayoutTests/fast/dom/Geolocation/watch-expected.txt
index b459c53..d7a93e8 100644
--- a/LayoutTests/fast/dom/Geolocation/watch-expected.txt
+++ b/LayoutTests/fast/dom/Geolocation/watch-expected.txt
@@ -3,6 +3,7 @@ Tests that watchPosition correctly reports position updates and errors from the
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
+PASS successfullyParsed is true
 PASS position.coords.latitude is mockLatitude
 PASS position.coords.longitude is mockLongitude
 PASS position.coords.accuracy is mockAccuracy
diff --git a/LayoutTests/fast/dom/Geolocation/watch.html b/LayoutTests/fast/dom/Geolocation/watch.html
index 9ed52b1..6568883 100644
--- a/LayoutTests/fast/dom/Geolocation/watch.html
+++ b/LayoutTests/fast/dom/Geolocation/watch.html
@@ -8,5 +8,6 @@
 <p id="description"></p>
 <div id="console"></div>
 <script src="resources/watch.js"></script>
+<script src="resources/js-test-post.js"></script>
 </body>
 </html>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list