From b7d9dad58e5a3f87a6c767412941700bc8010044 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sat, 12 May 2018 14:32:03 +0200 Subject: Remove MOZ_B2G leftovers and some dead B2G-only components. --- dom/webidl/MozApplicationEvent.webidl | 16 ---------------- dom/webidl/Window.webidl | 6 ------ dom/webidl/moz.build | 8 -------- 3 files changed, 30 deletions(-) delete mode 100644 dom/webidl/MozApplicationEvent.webidl (limited to 'dom/webidl') diff --git a/dom/webidl/MozApplicationEvent.webidl b/dom/webidl/MozApplicationEvent.webidl deleted file mode 100644 index e46fdca06..000000000 --- a/dom/webidl/MozApplicationEvent.webidl +++ /dev/null @@ -1,16 +0,0 @@ -/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this file, - * You can obtain one at http://mozilla.org/MPL/2.0/. - */ - -[Constructor(DOMString type, optional MozApplicationEventInit eventInitDict), ChromeOnly] -interface MozApplicationEvent : Event -{ - readonly attribute DOMApplication? application; -}; - -dictionary MozApplicationEventInit : EventInit -{ - DOMApplication? application = null; -}; diff --git a/dom/webidl/Window.webidl b/dom/webidl/Window.webidl index 36b1f0313..560313680 100644 --- a/dom/webidl/Window.webidl +++ b/dom/webidl/Window.webidl @@ -343,12 +343,6 @@ partial interface Window { attribute EventHandler onuserproximity; attribute EventHandler ondevicelight; -#ifdef MOZ_B2G - attribute EventHandler onmoztimechange; - attribute EventHandler onmoznetworkupload; - attribute EventHandler onmoznetworkdownload; -#endif - void dump(DOMString str); /** diff --git a/dom/webidl/moz.build b/dom/webidl/moz.build index 8469c9001..b246b410c 100644 --- a/dom/webidl/moz.build +++ b/dom/webidl/moz.build @@ -779,14 +779,6 @@ if CONFIG['MOZ_PHOENIX'] or CONFIG['MOZ_FENNEC'] or CONFIG['MOZ_XULRUNNER']: 'External.webidl', ] -if CONFIG['MOZ_B2G']: - WEBIDL_FILES += [ - 'MozApplicationEvent.webidl' - ] - GENERATED_EVENTS_WEBIDL_FILES += [ - 'MozApplicationEvent.webidl' - ] - if CONFIG['ACCESSIBILITY']: WEBIDL_FILES += [ 'AccessibleNode.webidl', -- cgit v1.2.3