mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Introduce ServoParser
This is a common inline parent to ServoHTMLParser and ServoXMLParser.
This commit is contained in:
parent
f43a14ea68
commit
ea27f9d5ec
8 changed files with 43 additions and 11 deletions
|
@ -7,5 +7,5 @@
|
|||
|
||||
// FIXME: find a better way to hide this from content (#3688)
|
||||
[NoInterfaceObject, Exposed=(Window,Worker)]
|
||||
interface ServoHTMLParser {
|
||||
interface ServoHTMLParser : ServoParser {
|
||||
};
|
||||
|
|
10
components/script/dom/webidls/ServoParser.webidl
Normal file
10
components/script/dom/webidls/ServoParser.webidl
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* 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/. */
|
||||
|
||||
// This interface is entirely internal to Servo, and should not be accessible to
|
||||
// web pages.
|
||||
|
||||
[Exposed=(Window,Worker),
|
||||
Inline]
|
||||
interface ServoParser {};
|
|
@ -6,6 +6,6 @@
|
|||
// web pages.
|
||||
|
||||
[NoInterfaceObject, Exposed=(Window,Worker)]
|
||||
interface ServoXMLParser {
|
||||
interface ServoXMLParser : ServoParser {
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue