summaryrefslogtreecommitdiffstats
path: root/dom/html/test/bug649134
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/test/bug649134')
-rw-r--r--dom/html/test/bug649134/file_bug649134-1.sjs12
-rw-r--r--dom/html/test/bug649134/file_bug649134-2.sjs12
-rw-r--r--dom/html/test/bug649134/index.html3
3 files changed, 27 insertions, 0 deletions
diff --git a/dom/html/test/bug649134/file_bug649134-1.sjs b/dom/html/test/bug649134/file_bug649134-1.sjs
new file mode 100644
index 000000000..890f8aa5e
--- /dev/null
+++ b/dom/html/test/bug649134/file_bug649134-1.sjs
@@ -0,0 +1,12 @@
+function handleRequest(request, response)
+{
+ response.seizePower();
+ var r = 'HTTP/1.1 200 OK\r\n' +
+ 'Content-Type: text/html\r\n' +
+ 'Link: < \014>; rel="stylesheet"\r\n' +
+ '\r\n' +
+ '<!-- selector {} body {display:none;} --><body>PASS</body>\r\n';
+ response.bodyOutputStream.write(r, r.length);
+ response.bodyOutputStream.flush();
+ response.finish();
+}
diff --git a/dom/html/test/bug649134/file_bug649134-2.sjs b/dom/html/test/bug649134/file_bug649134-2.sjs
new file mode 100644
index 000000000..7f005eda6
--- /dev/null
+++ b/dom/html/test/bug649134/file_bug649134-2.sjs
@@ -0,0 +1,12 @@
+function handleRequest(request, response)
+{
+ response.seizePower();
+ var r = 'HTTP/1.1 200 OK\r\n' +
+ 'Content-Type: text/html\r\n' +
+ 'Link: < \014>; rel="stylesheet",\r\n' +
+ '\r\n' +
+ '<!-- selector {} body {display:none;} --><body>PASS</body>\r\n';
+ response.bodyOutputStream.write(r, r.length);
+ response.bodyOutputStream.flush();
+ response.finish();
+}
diff --git a/dom/html/test/bug649134/index.html b/dom/html/test/bug649134/index.html
new file mode 100644
index 000000000..2f3973704
--- /dev/null
+++ b/dom/html/test/bug649134/index.html
@@ -0,0 +1,3 @@
+body {
+ display:none;
+}