2018-03-05 03:37:10 +03:00
|
|
|
# -*- Mode: python; 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/.
|
|
|
|
|
|
|
|
with Files("**"):
|
2019-03-18 02:13:22 +03:00
|
|
|
BUG_COMPONENT = ("Core", "DOM: Core & HTML")
|
2018-03-05 03:37:10 +03:00
|
|
|
|
|
|
|
with Files("ChannelWrapper.webidl"):
|
2018-06-20 21:41:59 +03:00
|
|
|
BUG_COMPONENT = ("WebExtensions", "Request Handling")
|
2018-03-05 03:37:10 +03:00
|
|
|
|
2018-10-18 03:08:02 +03:00
|
|
|
with Files("Flex.webidl"):
|
|
|
|
BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
|
|
|
|
|
2018-03-05 03:37:10 +03:00
|
|
|
with Files("HeapSnapshot.webidl"):
|
2018-06-20 21:34:40 +03:00
|
|
|
BUG_COMPONENT = ("DevTools", "Memory")
|
2018-03-05 03:37:10 +03:00
|
|
|
|
|
|
|
with Files("InspectorUtils.webidl"):
|
2018-06-20 21:34:40 +03:00
|
|
|
BUG_COMPONENT = ("DevTools", "Inspector")
|
2018-03-05 03:37:10 +03:00
|
|
|
|
|
|
|
with Files("MatchGlob.webidl"):
|
2018-06-20 21:41:59 +03:00
|
|
|
BUG_COMPONENT = ("WebExtensions", "General")
|
2018-03-05 03:37:10 +03:00
|
|
|
|
|
|
|
with Files("MatchPattern.webidl"):
|
2018-06-20 21:41:59 +03:00
|
|
|
BUG_COMPONENT = ("WebExtensions", "General")
|
2018-03-05 03:37:10 +03:00
|
|
|
|
|
|
|
with Files("WebExtension*.webidl"):
|
2018-06-20 21:41:59 +03:00
|
|
|
BUG_COMPONENT = ("WebExtensions", "General")
|
2018-03-05 03:37:10 +03:00
|
|
|
|
|
|
|
PREPROCESSED_WEBIDL_FILES = [
|
|
|
|
'ChromeUtils.webidl',
|
|
|
|
]
|
|
|
|
|
|
|
|
WEBIDL_FILES = [
|
2018-08-29 05:00:00 +03:00
|
|
|
'BrowsingContext.webidl',
|
2018-03-05 03:37:10 +03:00
|
|
|
'ChannelWrapper.webidl',
|
2019-06-17 07:36:29 +03:00
|
|
|
'DebuggerNotification.webidl',
|
|
|
|
'DebuggerNotificationObserver.webidl',
|
2019-08-05 00:33:07 +03:00
|
|
|
'DebuggerUtils.webidl',
|
2019-06-06 19:31:44 +03:00
|
|
|
'DocumentL10n.webidl',
|
2018-03-05 03:37:10 +03:00
|
|
|
'DominatorTree.webidl',
|
2019-06-06 19:31:25 +03:00
|
|
|
'DOMLocalization.webidl',
|
2018-10-18 03:08:02 +03:00
|
|
|
'Flex.webidl',
|
2018-03-05 03:37:10 +03:00
|
|
|
'HeapSnapshot.webidl',
|
|
|
|
'InspectorUtils.webidl',
|
2018-08-19 02:02:49 +03:00
|
|
|
'IteratorResult.webidl',
|
2019-01-28 22:02:02 +03:00
|
|
|
'JSWindowActor.webidl',
|
2019-06-06 19:32:58 +03:00
|
|
|
'L10nOverlays.webidl',
|
2019-06-25 22:39:53 +03:00
|
|
|
'Localization.webidl',
|
2018-03-05 03:37:10 +03:00
|
|
|
'MatchGlob.webidl',
|
|
|
|
'MatchPattern.webidl',
|
2017-06-20 12:09:50 +03:00
|
|
|
'MessageManager.webidl',
|
2018-08-01 07:50:34 +03:00
|
|
|
'MozDocumentObserver.webidl',
|
Bug 1463587: Part 3 - Add bindings for SharedMap, and expose it via process message managers. r=erahm,baku,bz
This is the first basic implementation of a shared-memory key-value store for
JS message managers. It has one read-write endpoint in the parent process, and
separate read-only endpoints for each child-process message manager.
Changes to the parent endpoint are broadcast to the children as snapshots.
Each snapshot triggers a "change" event with a list of changed keys.
It currently has the following limitations:
- It only supports basic structured clone data. There's no support for blobs,
input streams, message ports... Blob support will be added in a follow-up
patch.
- Changes are currently only broadcast to child endpoints when flush() is
explicitly called in the parent, or when new child processes are launched.
In a follow-up, this will be changed to automatically flush after changes
when the event loop is idle.
- All set operations clone their inputs synchronously, which means that
there's no trivial way for callers to batch multiple changes to a single key
without some additional effort. It might be useful to add a
delayed-serialization option to the .set() call in a follow-up, for callers
who are sure they know what they're doing.
MozReview-Commit-ID: IM8a3UgejXU
--HG--
extra : rebase_source : 66c92d538a5485349bc789028fdc3a6806bc5d5a
extra : source : 2ebaf5f8c6055b11b11d7ec334d54ee941115d48
2018-06-30 00:55:27 +03:00
|
|
|
'MozSharedMap.webidl',
|
2018-03-05 03:37:10 +03:00
|
|
|
'MozStorageAsyncStatementParams.webidl',
|
|
|
|
'MozStorageStatementParams.webidl',
|
|
|
|
'MozStorageStatementRow.webidl',
|
|
|
|
'PrecompiledScript.webidl',
|
|
|
|
'PromiseDebugging.webidl',
|
2019-01-17 17:58:31 +03:00
|
|
|
'SessionStoreUtils.webidl',
|
2018-03-05 03:37:10 +03:00
|
|
|
'StructuredCloneHolder.webidl',
|
2018-10-26 23:17:55 +03:00
|
|
|
'TelemetryStopwatch.webidl',
|
2018-03-05 03:37:10 +03:00
|
|
|
'WebExtensionContentScript.webidl',
|
|
|
|
'WebExtensionPolicy.webidl',
|
2018-10-20 02:02:56 +03:00
|
|
|
'WindowGlobalActors.webidl',
|
2018-06-25 20:11:31 +03:00
|
|
|
'XULFrameElement.webidl',
|
2018-07-31 22:30:17 +03:00
|
|
|
'XULMenuElement.webidl',
|
2018-12-04 19:25:30 +03:00
|
|
|
'XULTextElement.webidl',
|
|
|
|
'XULTreeElement.webidl'
|
2018-03-05 03:37:10 +03:00
|
|
|
]
|
2018-02-14 20:06:15 +03:00
|
|
|
|
|
|
|
if CONFIG['MOZ_PLACES']:
|
|
|
|
WEBIDL_FILES += [
|
|
|
|
'PlacesEvent.webidl',
|
|
|
|
'PlacesObservers.webidl',
|
|
|
|
]
|
2018-08-27 23:07:51 +03:00
|
|
|
|
2019-02-15 00:45:27 +03:00
|
|
|
WEBIDL_FILES += [
|
|
|
|
'PrioEncoder.webidl',
|
|
|
|
]
|
2018-08-27 23:07:51 +03:00
|
|
|
|