From 5a80738e2e3a174bd8b9a0afa182b87e2190793c Mon Sep 17 00:00:00 2001 From: "Hallvord Reiar M. Steen" Date: Fri, 24 May 2013 14:42:17 +0200 Subject: [PATCH] mostly link / xpath changes --- XMLHttpRequest/send-no-response-event-loadend.htm | 2 +- XMLHttpRequest/send-no-response-event-order.htm | 2 +- XMLHttpRequest/send-response-event-order.htm | 5 ++--- .../send-response-upload-event-loadend.htm | 14 +++++++++----- .../send-response-upload-event-loadstart.htm | 5 ++++- .../send-response-upload-event-progress.htm | 13 ++++++++----- .../send-sync-no-response-event-load.htm | 8 ++++++-- .../send-sync-no-response-event-loadend.htm | 6 +++++- .../send-sync-no-response-event-order.htm | 11 +++++++++-- XMLHttpRequest/send-sync-response-event-order.htm | 13 ++++++++++--- XMLHttpRequest/send-timeout-events.htm | 9 ++++++--- 11 files changed, 61 insertions(+), 27 deletions(-) diff --git a/XMLHttpRequest/send-no-response-event-loadend.htm b/XMLHttpRequest/send-no-response-event-loadend.htm index a39f268a3491e7..bf89020c124aa3 100644 --- a/XMLHttpRequest/send-no-response-event-loadend.htm +++ b/XMLHttpRequest/send-no-response-event-loadend.htm @@ -5,7 +5,7 @@ XMLHttpRequest: The send() method: Fire a progress event named loadend (no response entity body) - + diff --git a/XMLHttpRequest/send-no-response-event-order.htm b/XMLHttpRequest/send-no-response-event-order.htm index 17d1c34ba04edb..14af1d04cab188 100644 --- a/XMLHttpRequest/send-no-response-event-order.htm +++ b/XMLHttpRequest/send-no-response-event-order.htm @@ -6,7 +6,7 @@ - + diff --git a/XMLHttpRequest/send-response-event-order.htm b/XMLHttpRequest/send-response-event-order.htm index 30e586db5f01b9..3773eaf7c2cba6 100644 --- a/XMLHttpRequest/send-response-event-order.htm +++ b/XMLHttpRequest/send-response-event-order.htm @@ -5,12 +5,11 @@ - + - + - XMLHttpRequest: The send() method: event order when synchronous flag is unset diff --git a/XMLHttpRequest/send-response-upload-event-loadend.htm b/XMLHttpRequest/send-response-upload-event-loadend.htm index 1bfc541b7b73c7..86f12e6005cadc 100644 --- a/XMLHttpRequest/send-response-upload-event-loadend.htm +++ b/XMLHttpRequest/send-response-upload-event-loadend.htm @@ -1,7 +1,11 @@  - + + + + + XMLHttpRequest: The send() method: Fire a progress event named loadend on the XMLHttpRequestUpload (synchronous flag is unset) @@ -12,18 +16,18 @@ XMLHttpRequest: The send() method: Fire a progress event named loadstart on the XMLHttpRequestUpload (synchronous flag is unset) diff --git a/XMLHttpRequest/send-response-upload-event-progress.htm b/XMLHttpRequest/send-response-upload-event-progress.htm index 8b086c92050317..76032319d09842 100644 --- a/XMLHttpRequest/send-response-upload-event-progress.htm +++ b/XMLHttpRequest/send-response-upload-event-progress.htm @@ -1,7 +1,10 @@  - + + + + XMLHttpRequest: The send() method: Fire a progress event named progress on the XMLHttpRequestUpload (synchronous flag is unset) @@ -12,18 +15,18 @@ XMLHttpRequest: The send() method: Fire an event named load (no response entity body and the synchronous flag is set) @@ -15,7 +19,7 @@ var xhr = new XMLHttpRequest(); var pass = false; - xhr.onload = function(e) + xhr.onload = function(e) { assert_true(e instanceof ProgressEvent); assert_equals(e.type, "load"); diff --git a/XMLHttpRequest/send-sync-no-response-event-loadend.htm b/XMLHttpRequest/send-sync-no-response-event-loadend.htm index 40c46a8f864be5..4738a6aa536860 100644 --- a/XMLHttpRequest/send-sync-no-response-event-loadend.htm +++ b/XMLHttpRequest/send-sync-no-response-event-loadend.htm @@ -1,7 +1,11 @@  - + + + + + XMLHttpRequest: The send() method: Fire an event named loadend (no response entity body and the synchronous flag is set) diff --git a/XMLHttpRequest/send-sync-no-response-event-order.htm b/XMLHttpRequest/send-sync-no-response-event-order.htm index 5815907d519de7..effbb869bf3506 100644 --- a/XMLHttpRequest/send-sync-no-response-event-order.htm +++ b/XMLHttpRequest/send-sync-no-response-event-order.htm @@ -1,9 +1,16 @@  - - XMLHttpRequest: The send() method: event order when synchronous flag is set and there is no response entity body + + + + + + + + + diff --git a/XMLHttpRequest/send-sync-response-event-order.htm b/XMLHttpRequest/send-sync-response-event-order.htm index a4785082f2960b..0f68ac39b37b93 100644 --- a/XMLHttpRequest/send-sync-response-event-order.htm +++ b/XMLHttpRequest/send-sync-response-event-order.htm @@ -1,9 +1,16 @@  - XMLHttpRequest: The send() method: event order when synchronous flag is set + + + + + + + + @@ -15,9 +22,9 @@ var expect = [4, "load", "loadend"]; var actual = []; - xhr.onreadystatechange = function() + xhr.onreadystatechange = function() { - if (xhr.readyState == 4) + if (xhr.readyState == 4) { actual.push(xhr.readyState); } diff --git a/XMLHttpRequest/send-timeout-events.htm b/XMLHttpRequest/send-timeout-events.htm index 21848390571fd8..616f2e8dacf5df 100644 --- a/XMLHttpRequest/send-timeout-events.htm +++ b/XMLHttpRequest/send-timeout-events.htm @@ -1,9 +1,12 @@  - XMLHttpRequest: The send() method: timeout is not 0 + + + + @@ -24,7 +27,7 @@ { test.step(function() { - if (xhr.readyState == 4) + if (xhr.readyState == 4) { actual.push(xhr.readyState, xhr.response); } @@ -47,7 +50,7 @@ }; var content = ""; - for (var i = 0; i < 121026; i++) + for (var i = 0; i < 121026; i++) { content += "[" + i + "]"; }