mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-13 06:38:48 +02:00
<!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #13376 (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Fixes #13376. Source-Repo: https://github.com/servo/servo Source-Revision: 6ef46ab9e4ec08d5f5226d41f0cac77c3584bae9
42 lines
1 KiB
Text
42 lines
1 KiB
Text
# 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/.
|
|
|
|
# DOM Bindings Configuration.
|
|
#
|
|
# The WebIDL interfaces are defined in dom/webidls. For each such interface,
|
|
# there is a corresponding entry in the configuration table below.
|
|
# The configuration table maps each interface name to a |descriptor|.
|
|
#
|
|
# Valid fields for all descriptors:
|
|
# * outerObjectHook: string to use in place of default value for outerObject and thisObject
|
|
# JS class hooks
|
|
|
|
DOMInterfaces = {
|
|
|
|
'MediaQueryList': {
|
|
'weakReferenceable': True,
|
|
},
|
|
|
|
'Promise': {
|
|
'spiderMonkeyInterface': True,
|
|
},
|
|
|
|
'Range': {
|
|
'weakReferenceable': True,
|
|
},
|
|
|
|
#FIXME(jdm): This should be 'register': False, but then we don't generate enum types
|
|
'TestBinding': {},
|
|
|
|
'URL': {
|
|
'weakReferenceable': True,
|
|
},
|
|
|
|
'WindowProxy' : {
|
|
'nativeType': 'BrowsingContext',
|
|
'path': 'dom::browsingcontext::BrowsingContext',
|
|
'register': False,
|
|
}
|
|
|
|
}
|