Bug 1565110 - Rename abc.def and ghi.jkl prefs as dom.webidl.test[12]. r=bzbarsky

Depends on D37669

Differential Revision: https://phabricator.services.mozilla.com/D37670

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nicholas Nethercote 2019-07-12 04:39:12 +00:00
Родитель 513c4daee5
Коммит 624de194fe
4 изменённых файлов: 72 добавлений и 72 удалений

Просмотреть файл

@ -12,7 +12,7 @@ typedef CustomEventInit TestDictionaryTypedef;
interface TestExternalInterface;
// We need a pref name that's in StaticPrefList.h here.
[Pref="abc.def"]
[Pref="dom.webidl.test1"]
interface TestRenamedInterface {
};
@ -899,63 +899,63 @@ interface TestInterface {
void passVariadicThirdArg(DOMString arg1, long arg2, TestInterface... arg3);
// Conditionally exposed methods/attributes
[Pref="abc.def"]
[Pref="dom.webidl.test1"]
readonly attribute boolean prefable1;
[Pref="abc.def"]
[Pref="dom.webidl.test1"]
readonly attribute boolean prefable2;
[Pref="ghi.jkl"]
[Pref="dom.webidl.test2"]
readonly attribute boolean prefable3;
[Pref="ghi.jkl"]
[Pref="dom.webidl.test2"]
readonly attribute boolean prefable4;
[Pref="abc.def"]
[Pref="dom.webidl.test1"]
readonly attribute boolean prefable5;
[Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
readonly attribute boolean prefable6;
[Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
readonly attribute boolean prefable7;
[Pref="ghi.jkl", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[Pref="dom.webidl.test2", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
readonly attribute boolean prefable8;
[Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
readonly attribute boolean prefable9;
[Pref="abc.def"]
[Pref="dom.webidl.test1"]
void prefable10();
[Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
void prefable11();
[Pref="abc.def", Func="TestFuncControlledMember"]
[Pref="dom.webidl.test1", Func="TestFuncControlledMember"]
readonly attribute boolean prefable12;
[Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
void prefable13();
[Pref="abc.def", Func="TestFuncControlledMember"]
[Pref="dom.webidl.test1", Func="TestFuncControlledMember"]
readonly attribute boolean prefable14;
[Func="TestFuncControlledMember"]
readonly attribute boolean prefable15;
[Func="TestFuncControlledMember"]
readonly attribute boolean prefable16;
[Pref="abc.def", Func="TestFuncControlledMember"]
[Pref="dom.webidl.test1", Func="TestFuncControlledMember"]
void prefable17();
[Func="TestFuncControlledMember"]
void prefable18();
[Func="TestFuncControlledMember"]
void prefable19();
[Pref="abc.def", Func="TestFuncControlledMember", ChromeOnly]
[Pref="dom.webidl.test1", Func="TestFuncControlledMember", ChromeOnly]
void prefable20();
// Conditionally exposed methods/attributes involving [SecureContext]
[SecureContext]
readonly attribute boolean conditionalOnSecureContext1;
[SecureContext, Pref="abc.def"]
[SecureContext, Pref="dom.webidl.test1"]
readonly attribute boolean conditionalOnSecureContext2;
[SecureContext, Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[SecureContext, Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
readonly attribute boolean conditionalOnSecureContext3;
[SecureContext, Pref="abc.def", Func="TestFuncControlledMember"]
[SecureContext, Pref="dom.webidl.test1", Func="TestFuncControlledMember"]
readonly attribute boolean conditionalOnSecureContext4;
[SecureContext]
void conditionalOnSecureContext5();
[SecureContext, Pref="abc.def"]
[SecureContext, Pref="dom.webidl.test1"]
void conditionalOnSecureContext6();
[SecureContext, Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[SecureContext, Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
void conditionalOnSecureContext7();
[SecureContext, Pref="abc.def", Func="TestFuncControlledMember"]
[SecureContext, Pref="dom.webidl.test1", Func="TestFuncControlledMember"]
void conditionalOnSecureContext8();
// Miscellania
@ -1221,9 +1221,9 @@ dictionary DictWithConditionalMembers {
[ChromeOnly, Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
long chromeOnlyFuncControlledMember;
// We need a pref name that's in StaticPrefList.h here.
[Pref="abc.def"]
[Pref="dom.webidl.test1"]
long prefControlledMember;
[Pref="abc.def", ChromeOnly, Func="TestFuncControlledMember"]
[Pref="dom.webidl.test1", ChromeOnly, Func="TestFuncControlledMember"]
long chromeOnlyFuncAndPrefControlledMember;
};

Просмотреть файл

@ -705,39 +705,39 @@ interface TestExampleInterface {
void passVariadicThirdArg(DOMString arg1, long arg2, TestInterface... arg3);
// Conditionally exposed methods/attributes
[Pref="abc.def"]
[Pref="dom.webidl.test1"]
readonly attribute boolean prefable1;
[Pref="abc.def"]
[Pref="dom.webidl.test1"]
readonly attribute boolean prefable2;
[Pref="ghi.jkl"]
[Pref="dom.webidl.test2"]
readonly attribute boolean prefable3;
[Pref="ghi.jkl"]
[Pref="dom.webidl.test2"]
readonly attribute boolean prefable4;
[Pref="abc.def"]
[Pref="dom.webidl.test1"]
readonly attribute boolean prefable5;
[Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
readonly attribute boolean prefable6;
[Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
readonly attribute boolean prefable7;
[Pref="ghi.jkl", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[Pref="dom.webidl.test2", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
readonly attribute boolean prefable8;
[Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
readonly attribute boolean prefable9;
[Pref="abc.def"]
[Pref="dom.webidl.test1"]
void prefable10();
[Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
void prefable11();
[Pref="abc.def", Func="TestFuncControlledMember"]
[Pref="dom.webidl.test1", Func="TestFuncControlledMember"]
readonly attribute boolean prefable12;
[Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
void prefable13();
[Pref="abc.def", Func="TestFuncControlledMember"]
[Pref="dom.webidl.test1", Func="TestFuncControlledMember"]
readonly attribute boolean prefable14;
[Func="TestFuncControlledMember"]
readonly attribute boolean prefable15;
[Func="TestFuncControlledMember"]
readonly attribute boolean prefable16;
[Pref="abc.def", Func="TestFuncControlledMember"]
[Pref="dom.webidl.test1", Func="TestFuncControlledMember"]
void prefable17();
[Func="TestFuncControlledMember"]
void prefable18();
@ -747,19 +747,19 @@ interface TestExampleInterface {
// Conditionally exposed methods/attributes involving [SecureContext]
[SecureContext]
readonly attribute boolean conditionalOnSecureContext1;
[SecureContext, Pref="abc.def"]
[SecureContext, Pref="dom.webidl.test1"]
readonly attribute boolean conditionalOnSecureContext2;
[SecureContext, Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[SecureContext, Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
readonly attribute boolean conditionalOnSecureContext3;
[SecureContext, Pref="abc.def", Func="TestFuncControlledMember"]
[SecureContext, Pref="dom.webidl.test1", Func="TestFuncControlledMember"]
readonly attribute boolean conditionalOnSecureContext4;
[SecureContext]
void conditionalOnSecureContext5();
[SecureContext, Pref="abc.def"]
[SecureContext, Pref="dom.webidl.test1"]
void conditionalOnSecureContext6();
[SecureContext, Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[SecureContext, Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
void conditionalOnSecureContext7();
[SecureContext, Pref="abc.def", Func="TestFuncControlledMember"]
[SecureContext, Pref="dom.webidl.test1", Func="TestFuncControlledMember"]
void conditionalOnSecureContext8();
// Miscellania

Просмотреть файл

@ -723,63 +723,63 @@ interface TestJSImplInterface {
void passVariadicThirdArg(DOMString arg1, long arg2, TestJSImplInterface... arg3);
// Conditionally exposed methods/attributes
[Pref="abc.def"]
[Pref="dom.webidl.test1"]
readonly attribute boolean prefable1;
[Pref="abc.def"]
[Pref="dom.webidl.test1"]
readonly attribute boolean prefable2;
[Pref="ghi.jkl"]
[Pref="dom.webidl.test2"]
readonly attribute boolean prefable3;
[Pref="ghi.jkl"]
[Pref="dom.webidl.test2"]
readonly attribute boolean prefable4;
[Pref="abc.def"]
[Pref="dom.webidl.test1"]
readonly attribute boolean prefable5;
[Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
readonly attribute boolean prefable6;
[Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
readonly attribute boolean prefable7;
[Pref="ghi.jkl", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[Pref="dom.webidl.test2", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
readonly attribute boolean prefable8;
[Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
readonly attribute boolean prefable9;
[Pref="abc.def"]
[Pref="dom.webidl.test1"]
void prefable10();
[Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
void prefable11();
[Pref="abc.def", Func="TestFuncControlledMember"]
[Pref="dom.webidl.test1", Func="TestFuncControlledMember"]
readonly attribute boolean prefable12;
[Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
void prefable13();
[Pref="abc.def", Func="TestFuncControlledMember"]
[Pref="dom.webidl.test1", Func="TestFuncControlledMember"]
readonly attribute boolean prefable14;
[Func="TestFuncControlledMember"]
readonly attribute boolean prefable15;
[Func="TestFuncControlledMember"]
readonly attribute boolean prefable16;
[Pref="abc.def", Func="TestFuncControlledMember"]
[Pref="dom.webidl.test1", Func="TestFuncControlledMember"]
void prefable17();
[Func="TestFuncControlledMember"]
void prefable18();
[Func="TestFuncControlledMember"]
void prefable19();
[Pref="abc.def", Func="TestFuncControlledMember", ChromeOnly]
[Pref="dom.webidl.test1", Func="TestFuncControlledMember", ChromeOnly]
void prefable20();
// Conditionally exposed methods/attributes involving [SecureContext]
[SecureContext]
readonly attribute boolean conditionalOnSecureContext1;
[SecureContext, Pref="abc.def"]
[SecureContext, Pref="dom.webidl.test1"]
readonly attribute boolean conditionalOnSecureContext2;
[SecureContext, Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[SecureContext, Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
readonly attribute boolean conditionalOnSecureContext3;
[SecureContext, Pref="abc.def", Func="TestFuncControlledMember"]
[SecureContext, Pref="dom.webidl.test1", Func="TestFuncControlledMember"]
readonly attribute boolean conditionalOnSecureContext4;
[SecureContext]
void conditionalOnSecureContext5();
[SecureContext, Pref="abc.def"]
[SecureContext, Pref="dom.webidl.test1"]
void conditionalOnSecureContext6();
[SecureContext, Pref="abc.def", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
[SecureContext, Pref="dom.webidl.test1", Func="nsGenericHTMLElement::LegacyTouchAPIEnabled"]
void conditionalOnSecureContext7();
[SecureContext, Pref="abc.def", Func="TestFuncControlledMember"]
[SecureContext, Pref="dom.webidl.test1", Func="TestFuncControlledMember"]
void conditionalOnSecureContext8();
// Miscellania

Просмотреть файл

@ -2783,14 +2783,14 @@ VARCACHE_PREF(
VARCACHE_PREF(
Live,
"abc.def",
abc_def,
"dom.webidl.test1",
dom_webidl_test1,
bool, true
)
VARCACHE_PREF(
Live,
"ghi.jkl",
ghi_jkl,
"dom.webidl.test2",
dom_webidl_test2,
bool, true
)