зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1574195 part 3. Switch XPathEvaluator to using IDL mixins. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D46522 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
3f72fbb470
Коммит
adcd36b901
|
@ -618,7 +618,7 @@ partial interface Document {
|
|||
[Func="Document::DocumentSupportsL10n"] readonly attribute DocumentL10n? l10n;
|
||||
};
|
||||
|
||||
Document implements XPathEvaluator;
|
||||
Document includes XPathEvaluatorMixin;
|
||||
Document includes GlobalEventHandlers;
|
||||
Document includes DocumentAndElementEventHandlers;
|
||||
Document implements TouchEventHandlers;
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
|
||||
interface XPathEvaluator {
|
||||
constructor();
|
||||
};
|
||||
XPathEvaluator includes XPathEvaluatorMixin;
|
||||
|
||||
interface mixin XPathEvaluatorMixin {
|
||||
[NewObject, Throws]
|
||||
XPathExpression createExpression(DOMString expression,
|
||||
optional XPathNSResolver? resolver = null);
|
||||
|
|
Загрузка…
Ссылка в новой задаче