aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xmlhttprequest.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/xmlhttprequest.rs')
-rw-r--r--components/script/dom/xmlhttprequest.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/script/dom/xmlhttprequest.rs b/components/script/dom/xmlhttprequest.rs
index 4a6dba72f6f..532c4d2ec1c 100644
--- a/components/script/dom/xmlhttprequest.rs
+++ b/components/script/dom/xmlhttprequest.rs
@@ -368,6 +368,12 @@ impl XMLHttpRequestMethods for XMLHttpRequest {
// Step 11 - abort existing requests
self.terminate_ongoing_fetch();
+ // TODO(izgzhen): In the WPT test: FileAPI/blob/Blob-XHR-revoke.html,
+ // the xhr.open(url) is expected to hold a reference to the URL,
+ // thus renders following revocations invalid. Though we won't
+ // implement this for now, if ever needed, we should check blob
+ // scheme and trigger corresponding actions here.
+
// Step 12
*self.request_method.borrow_mut() = parsed_method;
*self.request_url.borrow_mut() = Some(parsed_url);