Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: LayoutTests/fast/media/mq-js-media-except-03.html

Issue 15094019: Fixing inconsistency with Media Query append/deleteMedium. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: For landing Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 9d06b8209598080a54c01a60370b63cf59ad76e8..07bc419bfbce4d6a6e0427a143f63aa7a9542762 100644
--- a/LayoutTests/fast/media/mq-js-media-except-03.html
+++ b/LayoutTests/fast/media/mq-js-media-except-03.html
@@ -19,6 +19,7 @@ function test() {
try {
// this shouldn't throw
document.styleSheets[0].media.mediaText = ",,,,";
+ document.getElementById("result").innerHTML = "Success. This text should be green.";
} catch (e) {
document.getElementById("result").innerHTML = "Failure. ,,,, should be valid media descriptor.";
document.getElementById("details").innerHTML = "Caught exception: " + e;
« no previous file with comments | « LayoutTests/fast/media/mq-js-media-except-01-expected.html ('k') | LayoutTests/fast/media/mq-js-stylesheet-media-03.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698