Index: LayoutTests/fast/dom/HTMLImageElement/resources/currentSrcHelper.js |
diff --git a/LayoutTests/fast/dom/HTMLImageElement/resources/currentSrcHelper.js b/LayoutTests/fast/dom/HTMLImageElement/resources/currentSrcHelper.js |
index b54e14bf691591cf33461053c72b1d5f11cbdb06..be1696ddc2de01bfda5ace6fc010e5ba9b86d328 100644 |
--- a/LayoutTests/fast/dom/HTMLImageElement/resources/currentSrcHelper.js |
+++ b/LayoutTests/fast/dom/HTMLImageElement/resources/currentSrcHelper.js |
@@ -7,3 +7,9 @@ function currentSrcFileName(id) { |
var currentSrc = document.getElementById(id).currentSrc; |
return fileName(currentSrc); |
}; |
+ |
+function currentSrcFileNameNoParams(id) { |
+ var currentSrc = document.getElementById(id).currentSrc; |
+ var name = fileName(currentSrc).split('?'); |
+ return name[0]; |
+}; |