mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00
Bug 1659625: Expose DOMLocalization interface to UA widgets. r=zbraniecki,smaug
This is needed in order for UA widgets to use Fluent. Differential Revision: https://phabricator.services.mozilla.com/D87389
This commit is contained in:
parent
b641fbf577
commit
3f51028817
@ -42,7 +42,6 @@ WEBIDL_FILES = [
|
||||
'DocumentL10n.webidl',
|
||||
'DOMCollectedFrames.webidl',
|
||||
'DominatorTree.webidl',
|
||||
'DOMLocalization.webidl',
|
||||
'Flex.webidl',
|
||||
'Fluent.webidl',
|
||||
'FrameLoader.webidl',
|
||||
@ -54,7 +53,6 @@ WEBIDL_FILES = [
|
||||
'JSProcessActor.webidl',
|
||||
'JSWindowActor.webidl',
|
||||
'L10nOverlays.webidl',
|
||||
'Localization.webidl',
|
||||
'MatchGlob.webidl',
|
||||
'MatchPattern.webidl',
|
||||
'MediaController.webidl',
|
||||
|
@ -24,7 +24,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
[ChromeOnly, Exposed=Window]
|
||||
[Func="IsChromeOrUAWidget", Exposed=Window]
|
||||
interface DOMLocalization : Localization {
|
||||
/**
|
||||
* Constructor arguments:
|
@ -77,7 +77,7 @@ dictionary BundleGenerator {
|
||||
* - formatMessages - format multiple compound messages
|
||||
*
|
||||
*/
|
||||
[ChromeOnly, Exposed=Window]
|
||||
[Func="IsChromeOrUAWidget", Exposed=Window]
|
||||
interface Localization {
|
||||
/**
|
||||
* Constructor arguments:
|
@ -496,6 +496,7 @@ WEBIDL_FILES = [
|
||||
'DocumentType.webidl',
|
||||
'DOMException.webidl',
|
||||
'DOMImplementation.webidl',
|
||||
'DOMLocalization.webidl',
|
||||
'DOMMatrix.webidl',
|
||||
'DOMParser.webidl',
|
||||
'DOMPoint.webidl',
|
||||
@ -665,6 +666,7 @@ WEBIDL_FILES = [
|
||||
'KeyIdsInitData.webidl',
|
||||
'LinkStyle.webidl',
|
||||
'LoadURIOptions.webidl',
|
||||
'Localization.webidl',
|
||||
'Location.webidl',
|
||||
'MathMLElement.webidl',
|
||||
'MediaCapabilities.webidl',
|
||||
|
Loading…
x
Reference in New Issue
Block a user