| Index: LayoutTests/fullscreen/full-screen-test.js
|
| ===================================================================
|
| --- LayoutTests/fullscreen/full-screen-test.js (revision 113078)
|
| +++ LayoutTests/fullscreen/full-screen-test.js (working copy)
|
| @@ -98,18 +98,10 @@
|
| waitForEvent(element, eventName, funcString, true)
|
| }
|
|
|
| -function waitForEventOnce(element, eventName, func, endit)
|
| +function waitForEvent(element, eventName, func, endit)
|
| {
|
| - waitForEvent(element, eventName, func, endit, true)
|
| -}
|
| -
|
| -function waitForEvent(element, eventName, func, endit, once)
|
| -{
|
| function _eventCallback(event)
|
| {
|
| - if (once)
|
| - element.removeEventListener(eventName, _eventCallback);
|
| -
|
| consoleWrite("EVENT(" + eventName + ")");
|
|
|
| if (func)
|
|
|