Index: LayoutTests/fast/shapes/parsing/parsing-test-utils.js |
diff --git a/LayoutTests/fast/shapes/parsing/parsing-test-utils.js b/LayoutTests/fast/shapes/parsing/parsing-test-utils.js |
index e66918497022b2fc2da06e4dcf9e9346b7d34653..0e7e5736ddab822c877426c13962ed957fde3e39 100644 |
--- a/LayoutTests/fast/shapes/parsing/parsing-test-utils.js |
+++ b/LayoutTests/fast/shapes/parsing/parsing-test-utils.js |
@@ -253,9 +253,9 @@ function testNotInheritedShapeChildProperty(property, parentValue, childValue, e |
// Need to remove the base URL to avoid having local paths in the expected results. |
function removeBaseURL(src) { |
- var urlRegexp = /url\(([^\)]*)\)/g; |
+ var urlRegexp = /url\(\"([^\)]*)\)/g; |
return src.replace(urlRegexp, function(match, url) { |
- return "url(" + url.substr(url.lastIndexOf("/") + 1) + ")"; |
+ return 'url(\"' + url.substr(url.lastIndexOf("/") + 1) + ")"; |
}); |
} |