mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
c9f8000dc9
Does not implement the Service Worker API - https://notifications.spec.whatwg.org/#service-worker-api *** Folded: Bug 916893 - Better ownership model. r=khuey Fix for bug found by ASan where we were touching the NotificationFeature after releasing it.
40 lines
902 B
Python
40 lines
902 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',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'DesktopNotification.cpp',
|
|
'Notification.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']
|