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

Unified Diff: third_party/WebKit/Source/build/scripts/make_event_factory.py

Issue 2216593002: Drop document.createEvent support for things still behind a flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@createEvent
Patch Set: fix LayoutTests Created 4 years, 4 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: third_party/WebKit/Source/build/scripts/make_event_factory.py
diff --git a/third_party/WebKit/Source/build/scripts/make_event_factory.py b/third_party/WebKit/Source/build/scripts/make_event_factory.py
index 48b9586c024869e58a4d8a135bd5cf94003e5dc4..a6ae18582765dc8147952870daebe78fe1d067d5 100755
--- a/third_party/WebKit/Source/build/scripts/make_event_factory.py
+++ b/third_party/WebKit/Source/build/scripts/make_event_factory.py
@@ -71,7 +71,6 @@ def create_event_whitelist(name):
# or be deprecated/removed. https://crbug.com/569690
def create_event_legacy_whitelist(name):
return (name == 'AnimationEvent'
- or name == 'AnimationPlayerEvent'
or name == 'ApplicationCacheErrorEvent'
or name == 'AudioProcessingEvent'
or name == 'BeforeInstallPromptEvent'
@@ -80,7 +79,6 @@ def create_event_legacy_whitelist(name):
or name == 'ClipboardEvent'
or name == 'CloseEvent'
or name == 'CompositionEvent'
- or name == 'DeviceLightEvent'
or name == 'DeviceMotionEvent'
or name == 'DeviceOrientationEvent'
or name == 'DragEvent'
@@ -90,12 +88,9 @@ def create_event_legacy_whitelist(name):
or name == 'FetchEvent'
or name == 'FocusEvent'
or name == 'FontFaceSetLoadEvent'
- or name == 'ForeignFetchEvent'
or name == 'GamepadEvent'
or name == 'HashChangeEvent'
or name == 'IDBVersionChangeEvent'
- or name == 'InputEvent'
- or name == 'InstallEvent'
or name == 'KeyboardEvents'
or name == 'MediaEncryptedEvent'
or name == 'MediaKeyMessageEvent'
@@ -110,22 +105,17 @@ def create_event_legacy_whitelist(name):
or name == 'OfflineAudioCompletionEvent'
or name == 'OrientationEvent'
or name == 'PageTransitionEvent'
- or name == 'PaymentRequestUpdateEvent'
- or name == 'PointerEvent'
or name == 'PopStateEvent'
or name == 'PresentationConnectionAvailableEvent'
or name == 'PresentationConnectionCloseEvent'
or name == 'ProgressEvent'
or name == 'PromiseRejectionEvent'
or name == 'PushEvent'
- or name == 'RelatedEvent'
or name == 'ResourceProgressEvent'
or name == 'RTCDataChannelEvent'
or name == 'RTCDTMFToneChangeEvent'
or name == 'RTCIceCandidateEvent'
or name == 'SecurityPolicyViolationEvent'
- or name == 'SensorErrorEvent'
- or name == 'SensorReadingEvent'
or name == 'ServiceWorkerMessageEvent'
or name == 'SpeechRecognitionError'
or name == 'SpeechRecognitionEvent'

Powered by Google App Engine
This is Rietveld 408576698