| Index: third_party/WebKit/LayoutTests/animations/interpolation/resources/interpolation-test.js
|
| diff --git a/third_party/WebKit/LayoutTests/animations/interpolation/resources/interpolation-test.js b/third_party/WebKit/LayoutTests/animations/interpolation/resources/interpolation-test.js
|
| index 19ce36406b93906c3528d22a15ab209181b53c3b..c78a38170916c6a98aa863953f78357cac9e5a16 100644
|
| --- a/third_party/WebKit/LayoutTests/animations/interpolation/resources/interpolation-test.js
|
| +++ b/third_party/WebKit/LayoutTests/animations/interpolation/resources/interpolation-test.js
|
| @@ -210,7 +210,11 @@
|
| var matches = value.match(/url\([^\)]*\)/g);
|
| if (matches !== null) {
|
| for (var i = 0; i < matches.length; ++i) {
|
| - var url = /url\(([^\)]*)\)/g.exec(matches[i])[1];
|
| + var url;
|
| + if (/url\(\"([^\)]*)\"\)/g.test(matches[i]))
|
| + url = /url\(\"([^\)]*)\"\)/g.exec(matches[i])[1];
|
| + else
|
| + url = /url\(([^\)]*)\)/g.exec(matches[i])[1];
|
| anchor.href = url;
|
| anchor.pathname = '...' + anchor.pathname.substring(anchor.pathname.lastIndexOf('/'));
|
| value = value.replace(matches[i], 'url(' + anchor.href + ')');
|
|
|