Index: third_party/WebKit/LayoutTests/animations/responsive/resources/responsive-test.js |
diff --git a/third_party/WebKit/LayoutTests/animations/responsive/resources/responsive-test.js b/third_party/WebKit/LayoutTests/animations/responsive/resources/responsive-test.js |
index aacdbb60b1bff99f85951a597f4b465b20ff30af..c5d42f061cabd997b953a16354b747f57c24c97b 100644 |
--- a/third_party/WebKit/LayoutTests/animations/responsive/resources/responsive-test.js |
+++ b/third_party/WebKit/LayoutTests/animations/responsive/resources/responsive-test.js |
@@ -150,6 +150,10 @@ function runPendingResponsiveTests() { |
var expectation = after.expect[i]; |
var actual = getComputedStyle(target)[property]; |
test(function() { |
+ if (/url\(([^\)]*)\)/g.test(expectation.is) && !/url\(\"([^\)]*)\"\)/g.test(expectation.is)) { |
+ var url = /url\(([^\)]*)\)/g.exec(expectation.is)[1]; |
+ expectation.is = 'url(\"' + url + '\")'; |
+ } |
assert_equals(actual, expectation.is); |
}, `Animation on property <${property}> from [${from}] to [${to}] with ${JSON.stringify(before.state)} changed to ${JSON.stringify(after.state)} at (${expectation.at}) is [${expectation.is}]`); |
} |