Index: LayoutTests/fast/media/mq-js-media-except-03.html |
diff --git a/LayoutTests/fast/media/mq-js-media-except-03.html b/LayoutTests/fast/media/mq-js-media-except-03.html |
index fe3c3dd2a9f9a4b744897e9516ba461b4823c0fe..9d06b8209598080a54c01a60370b63cf59ad76e8 100644 |
--- a/LayoutTests/fast/media/mq-js-media-except-03.html |
+++ b/LayoutTests/fast/media/mq-js-media-except-03.html |
@@ -25,11 +25,11 @@ function test() { |
return; |
} |
try { |
- // this should throw |
+ // this shouldn't throw |
document.styleSheets[0].cssRules[1].media.mediaText = ",,,,"; |
- document.getElementById("result").innerHTML = "Failure. No exception thrown."; |
- } catch (e) { |
document.getElementById("result").innerHTML = "Success. This text should be green."; |
+ } catch (e) { |
+ document.getElementById("result").innerHTML = "Failure. Exception thrown."; |
document.getElementById("details").innerHTML = "Caught exception: " + e; |
} |
} |
@@ -38,6 +38,6 @@ function test() { |
</head> |
<body onload="test()"> |
<p id="result">Failure: test not run</p> |
-<p id="details">aaa</p> |
+<p id="details"></p> |
</body> |
</html> |