mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Unify ServoHTMLParser and ServoXMLParser in ServoParser
This commit is contained in:
parent
609299e1e4
commit
1405be6917
12 changed files with 300 additions and 646 deletions
|
@ -1,11 +0,0 @@
|
|||
/* 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.
|
||||
|
||||
// FIXME: find a better way to hide this from content (#3688)
|
||||
[NoInterfaceObject, Exposed=(Window,Worker)]
|
||||
interface ServoHTMLParser : ServoParser {
|
||||
};
|
|
@ -6,5 +6,5 @@
|
|||
// web pages.
|
||||
|
||||
[Exposed=(Window,Worker),
|
||||
Inline]
|
||||
NoInterfaceObject]
|
||||
interface ServoParser {};
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
/* 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.
|
||||
|
||||
[NoInterfaceObject, Exposed=(Window,Worker)]
|
||||
interface ServoXMLParser : ServoParser {
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue