Changeset 65513 in webkit
- Timestamp:
- Aug 17, 2010 10:13:22 AM (14 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r65511 r65513 1 2010-08-17 Steve Block <steveblock@google.com> 2 3 Reviewed by Jeremy Orlow. 4 5 [Qt] fast/dom/Geolocation/disconnected-frame-permission-denied.html fails 6 https://bugs.webkit.org/show_bug.cgi?id=44059 7 8 * fast/dom/Geolocation/disconnected-frame-permission-denied-expected.txt: 9 * fast/dom/Geolocation/script-tests/disconnected-frame-permission-denied.js: 10 (onIframeLoaded): 11 (): 12 * platform/chromium/test_expectations.txt: 13 * platform/qt/Skipped: 14 1 15 2010-08-17 Mahesh Kulkarni <mahesh.kulkarni@nokia.com> 2 16 -
trunk/LayoutTests/fast/dom/Geolocation/disconnected-frame-permission-denied-expected.txt
r65416 r65513 7 7 PASS error.code is error.PERMISSION_DENIED 8 8 PASS error.message is "User denied Geolocation" 9 10 PASS error.code is error.PERMISSION_DENIED 11 PASS error.message is "User denied Geolocation" 12 9 13 PASS successfullyParsed is true 10 14 -
trunk/LayoutTests/fast/dom/Geolocation/script-tests/disconnected-frame-permission-denied.js
r65416 r65513 1 1 description("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."); 2 2 3 if (window.layoutTestController) 3 // Prime the Geolocation instance by denying permission. This makes sure that we execute the 4 // same code path for both preemptive and non-preemtive permissions policies. 5 if (window.layoutTestController) { 4 6 layoutTestController.setGeolocationPermission(false); 7 layoutTestController.setMockGeolocationPosition(51.478, -0.166, 100); 8 } else 9 debug('This test can not be run without the LayoutTestController'); 5 10 11 var error; 6 12 function onIframeLoaded() { 7 13 iframeGeolocation = iframe.contentWindow.navigator.geolocation; 8 iframe.src = 'data:text/html,This frame should be visible when the test completes'; 14 iframeGeolocation.getCurrentPosition(function() { 15 testFailed('Success callback invoked unexpectedly'); 16 finishJSTest(); 17 }, function(e) { 18 error = e; 19 shouldBe('error.code', 'error.PERMISSION_DENIED'); 20 shouldBe('error.message', '"User denied Geolocation"'); 21 debug(''); 22 iframe.src = 'data:text/html,This frame should be visible when the test completes'; 23 }); 9 24 } 10 25 11 var error;12 26 function onIframeUnloaded() { 27 // Make another request, with permission already denied. 13 28 iframeGeolocation.getCurrentPosition(function () { 14 29 testFailed('Success callback invoked unexpectedly'); … … 18 33 shouldBe('error.code', 'error.PERMISSION_DENIED'); 19 34 shouldBe('error.message', '"User denied Geolocation"'); 35 debug(''); 20 36 finishJSTest(); 21 37 }); -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r65483 r65513 3200 3200 BUGWK44051 : editing/pasteboard/drop-text-events.html = TEXT 3201 3201 3202 // Due to http://trac.webkit.org/changeset/654163203 BUGWK44059 : fast/dom/Geolocation/disconnected-frame-permission-denied.html = FAIL3204 3205 3202 // Probably http://trac.webkit.org/changeset/65381 3206 3203 // This test causes the next one to run to ASSERT -
trunk/LayoutTests/platform/qt/Skipped
r65511 r65513 5490 5490 # BlodBuilder is not enabled 5491 5491 http/tests/local/blob/send-data-blob.html 5492 5493 # [Qt] fast/dom/Geolocation/disconnected-frame-permission-denied.html fails5494 # https://bugs.webkit.org/show_bug.cgi?id=440595495 fast/dom/Geolocation/disconnected-frame-permission-denied.html
Note: See TracChangeset
for help on using the changeset viewer.