mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
1abb9e59d8
Bug 1114554 - Patch 3.1 - ServiceWorker principal fixes. r=baku Bug 1162088 introduced origin attributes that ServiceWorkerManager callers have to use. This patch updates notificationclick events to work. Folded: Hide NotificationEvent behind pref --HG-- extra : rebase_source : b536cc6a6e0ba212f225a3638cf4140635628047
42 lines
958 B
Python
42 lines
958 B
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# 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/.
|
|
|
|
EXTRA_COMPONENTS += [
|
|
'ChromeNotifications.js',
|
|
'ChromeNotifications.manifest',
|
|
'NotificationStorage.js',
|
|
'NotificationStorage.manifest',
|
|
]
|
|
|
|
EXTRA_JS_MODULES += [
|
|
'NotificationDB.jsm'
|
|
]
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
'DesktopNotification.h',
|
|
'Notification.h',
|
|
'NotificationEvent.h',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'DesktopNotification.cpp',
|
|
'Notification.cpp',
|
|
'NotificationEvent.cpp',
|
|
]
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
LOCAL_INCLUDES += [
|
|
'/dom/base',
|
|
'/dom/ipc',
|
|
'/dom/workers',
|
|
]
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
|