Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Unified Diff: LayoutTests/fullscreen/full-screen-test.js

Issue 9950115: Revert 111028 - Support W3C Full Screen API proposal (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)
« no previous file with comments | « LayoutTests/fullscreen/full-screen-restrictions-expected.txt ('k') | Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698