summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/xhr_html_nullresponse.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/xhr_html_nullresponse.html')
-rw-r--r--dom/base/crashtests/xhr_html_nullresponse.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/base/crashtests/xhr_html_nullresponse.html b/dom/base/crashtests/xhr_html_nullresponse.html
new file mode 100644
index 0000000000..47c85db9bf
--- /dev/null
+++ b/dom/base/crashtests/xhr_html_nullresponse.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<script>
+var xhr=new XMLHttpRequest();xhr.open("GET",window.location);xhr.overrideMimeType("text/html");xhr.onprogress=function(){if(xhr.readyState!=3)return;xhr.abort();document.documentElement.removeAttribute('class');};xhr.onabort=function(){xhr.responseText;};xhr.send();
+</script>