Sign in
webkit
/
WebKit
/
e146947e3de2db01460172509f724ad9a1d99ced
/
.
/
LayoutTests
/
fast
/
dom
/
HTMLImageElement
/
resources
/
currentSrcHelper.js
blob: b54e14bf691591cf33461053c72b1d5f11cbdb06 [
file
] [
log
] [
blame
]
function
fileName
(
src
)
{
var
array
=
src
.
split
(
'/'
);
return
array
[
array
.
length
-
1
];
};
function
currentSrcFileName
(
id
)
{
var
currentSrc
=
document
.
getElementById
(
id
).
currentSrc
;
return
fileName
(
currentSrc
);
};