Merge pull request #66 from kassens/test-helper
Fix getIframe test helper
This commit is contained in:
@@ -91,7 +91,7 @@ var layoutTestUtils = (function() {
|
|||||||
_cachedIframe = iframe;
|
_cachedIframe = iframe;
|
||||||
return iframe;
|
return iframe;
|
||||||
} else {
|
} else {
|
||||||
setTimeout(getIframe, 0);
|
setTimeout(getIframe.bind(null, iframe), 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user