| Index: LayoutTests/fast/media/mq-js-media-except-02.html
|
| diff --git a/LayoutTests/fast/media/mq-js-media-except-02.html b/LayoutTests/fast/media/mq-js-media-except-02.html
|
| index 657c98ed156082c02015b98acee637456352b842..5897dde96bdcbd14ffd114dac854766489a22564 100644
|
| --- a/LayoutTests/fast/media/mq-js-media-except-02.html
|
| +++ b/LayoutTests/fast/media/mq-js-media-except-02.html
|
| @@ -2,6 +2,7 @@
|
| <head>
|
| <title>CSS3 media query test: @media css rule media.mediaText property parsing, media query syntax error should be handled correctly.</title>
|
| <link rel="help" href="http://www.w3.org/TR/CSS21/media.html" />
|
| +<link rel="help" href="http://www.w3.org/TR/cssom/#dom-medialist-mediatext" />
|
|
|
| <style type="text/css">
|
| p#result {color: green}
|
| @@ -23,8 +24,8 @@ function test() {
|
| try {
|
| // this should throw
|
| document.styleSheets[0].cssRules[1].media.mediaText = "screen and resolution > 40dpi";
|
| - } catch (e) {
|
| document.getElementById("result").innerHTML = "This text should be green.";
|
| + } catch (e) {
|
| document.getElementById("details").innerHTML = "Caught exception: " + e;
|
| }
|
| }
|
|
|