diff --git a/lint.ignore b/lint.ignore index bcbf9e7e1d0e0f..960c1837285bb5 100644 --- a/lint.ignore +++ b/lint.ignore @@ -12,7 +12,6 @@ INDENT TABS: encoding/legacy*/* TRAILING WHITESPACE: html/canvas/tools/current-work-canvas.xhtml TRAILING WHITESPACE: conformance-checkers/* -TRAILING WHITESPACE: webidl/valid/* TRAILING WHITESPACE: html/syntax/xmldecl/support/no-version-or-space-or-trailing-question-trailing-body-single-quotes-spaces-and-line-breaks-around-equals.htm TRAILING WHITESPACE: html/syntax/xmldecl/support/no-version-or-space-or-trailing-question-trailing-body-single-quotes-spaces-and-line-breaks-around-equals-trail.htm @@ -77,7 +76,6 @@ AHEM COPY: fonts/ahem-extra/AHEM_*.TTF ## Test exclusions ## # Intentional use of CRLF -CR AT EOL: webidl/valid/idl/documentation-dos.widl CR AT EOL: cors/resources/cors-headers.asis CR AT EOL: fetch/h1-parsing/resources/blue-with-0x00-in-a-header.asis CR AT EOL: html/semantics/forms/the-textarea-element/multiline-placeholder-cr.html diff --git a/tools/ci/jobs.py b/tools/ci/jobs.py index 6717b700cd7427..60df561f187125 100644 --- a/tools/ci/jobs.py +++ b/tools/ci/jobs.py @@ -36,8 +36,7 @@ "css/css-ui/", "html/", "infrastructure/", - "mimesniff/", - "webidl"], + "mimesniff/"], "wpt_integration": ["tools/"], "wptrunner_infrastructure": ["infrastructure/", "tools/", diff --git a/update-built-tests.sh b/update-built-tests.sh index 0dd00e77cc7d15..7bf3a66fb4baca 100755 --- a/update-built-tests.sh +++ b/update-built-tests.sh @@ -8,5 +8,4 @@ infrastructure/assumptions/tools/build.sh html/tools/build.sh python3 mimesniff/mime-types/resources/generated-mime-types.py python3 css/css-ui/tools/appearance-build-webkit-reftests.py -python3 webidl/tools/generate-setlike.py python3 html/syntax/speculative-parsing/tools/generate.py diff --git a/webidl/README.md b/webidl/README.md index c6b51584ef2850..136a7649981ea4 100644 --- a/webidl/README.md +++ b/webidl/README.md @@ -1,9 +1 @@ Tests for the [Web IDL Standard](https://webidl.spec.whatwg.org/). - -== Syntax tests == - -Syntax tests can be found in the "valid" and "invalid" directories. - -These are syntax tests for a Web IDL parser. A correct parser should fail on the tests in the "invalid" directory, and should be able to collect the data necessary to generate the XML serialization for valid fragments collected in the "valid" directory. - -(The said XML serialization is the one produced by [widlproc](https://github.com/dontcallmedom/widlproc) from which these tests have been imported.) diff --git a/webidl/invalid/idl/enum.widl b/webidl/invalid/idl/enum.widl deleted file mode 100644 index c355c3251c0084..00000000000000 --- a/webidl/invalid/idl/enum.widl +++ /dev/null @@ -1 +0,0 @@ -enum foo { 1, 2, 3}; \ No newline at end of file diff --git a/webidl/invalid/idl/module.widl b/webidl/invalid/idl/module.widl deleted file mode 100644 index a4c79fdf155ea5..00000000000000 --- a/webidl/invalid/idl/module.widl +++ /dev/null @@ -1,25 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -module gfx { - - module geom { - interface Shape { /* ... */ }; - interface Rectangle : Shape { /* ... */ }; - interface Path : Shape { /* ... */ }; - }; - - interface GraphicsContext { - void fillShape(geom::Shape s); - void strokeShape(geom::Shape s); - }; -}; - -module gui { - - interface Widget { /* ... */ }; - - interface Window : Widget { - gfx::GraphicsContext getGraphicsContext(); - }; - - interface Button : Widget { /* ... */ }; -}; \ No newline at end of file diff --git a/webidl/invalid/idl/nonnullableany.widl b/webidl/invalid/idl/nonnullableany.widl deleted file mode 100644 index 389576555236d9..00000000000000 --- a/webidl/invalid/idl/nonnullableany.widl +++ /dev/null @@ -1,3 +0,0 @@ -interface NonNullable { - attribute any? foo; -}; \ No newline at end of file diff --git a/webidl/invalid/idl/nonnullableobjects.widl b/webidl/invalid/idl/nonnullableobjects.widl deleted file mode 100644 index 1deac5aeec9081..00000000000000 --- a/webidl/invalid/idl/nonnullableobjects.widl +++ /dev/null @@ -1,5 +0,0 @@ -interface Foo {}; - -interface NonNullable { - attribute Foo?? foo; -}; \ No newline at end of file diff --git a/webidl/invalid/idl/raises.widl b/webidl/invalid/idl/raises.widl deleted file mode 100644 index ff65522f2b3355..00000000000000 --- a/webidl/invalid/idl/raises.widl +++ /dev/null @@ -1,18 +0,0 @@ -// getraises and setraises are not longer valid Web IDL -interface Person { - - // An attribute that can raise an exception if it is set to an invalid value. - attribute DOMString name setraises (InvalidName); - - // An attribute whose value cannot be assigned to, and which can raise an - // exception some circumstances. - readonly attribute DOMString petName getraises (NoSuchPet); -}; - -exception SomeException { -}; - -interface ExceptionThrower { - // This attribute always throws a SomeException and never returns a value. - attribute long valueOf getraises(SomeException); -}; \ No newline at end of file diff --git a/webidl/invalid/idl/scopedname.widl b/webidl/invalid/idl/scopedname.widl deleted file mode 100644 index cfcb1ccc9395cd..00000000000000 --- a/webidl/invalid/idl/scopedname.widl +++ /dev/null @@ -1,2 +0,0 @@ -// scoped names are no longer valid in WebIDL - typedef gfx::geom::geom2d::Point Point; diff --git a/webidl/invalid/idl/sequenceAsAttribute.widl b/webidl/invalid/idl/sequenceAsAttribute.widl deleted file mode 100644 index c23da82ac22198..00000000000000 --- a/webidl/invalid/idl/sequenceAsAttribute.widl +++ /dev/null @@ -1,3 +0,0 @@ -interface sequenceAsAttribute { - attribute sequence invalid; -}; \ No newline at end of file diff --git a/webidl/invalid/idl/special-omittable.widl b/webidl/invalid/idl/special-omittable.widl deleted file mode 100644 index bdfbfa709733f9..00000000000000 --- a/webidl/invalid/idl/special-omittable.widl +++ /dev/null @@ -1,8 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -// omittable is no longer a recognized keywoard as of 20110905 -interface Dictionary { - readonly attribute unsigned long propertyCount; - - omittable getter float getProperty(DOMString propertyName); - omittable setter void setProperty(DOMString propertyName, float propertyValue); -}; \ No newline at end of file diff --git a/webidl/invalid/idl/stringconstants.idl b/webidl/invalid/idl/stringconstants.idl deleted file mode 100644 index 44fd3ff136ee56..00000000000000 --- a/webidl/invalid/idl/stringconstants.idl +++ /dev/null @@ -1,3 +0,0 @@ -interface Util { - const DOMString hello = "world"; -}; \ No newline at end of file diff --git a/webidl/testable_assertions.txt b/webidl/testable_assertions.txt deleted file mode 100644 index c1706f8c39def7..00000000000000 --- a/webidl/testable_assertions.txt +++ /dev/null @@ -1,29 +0,0 @@ -{ - "travil_test_1": { - "title": "The Title of this spec", - "specRef": "html > body:nth-child(2) > div:nth-child(1) > h1:nth-child(2)", - "notes": "This assertion is linked to the H1 in the beginning of the spec.", - "author": "Microsoft", - "date": "2012-07-11T23:39:23.634Z", - "testURL": "", - "testApproved": false - }, - "travil_test_2": { - "title": "The Initial publication of WebIDL (at the bottom of the spec)", - "specRef": "#changes > dl:nth-child(4) > dt:nth-child(19)", - "notes": "17 October 2007 was the FPWD.\nTime to start testing.", - "author": "Microsoft", - "date": "2012-07-11T23:40:41.624Z", - "testURL": "", - "testApproved": false - }, - "travil_test_3": { - "title": "This assertion should not be found (by design)", - "specRef": "#does_not_exist > div", - "notes": "This is for testing purposes only (testing the framework)", - "author": "Microsoft", - "date": "2012-07-11T23:40:41.624Z", - "testURL": "", - "testApproved": false - } -} \ No newline at end of file diff --git a/webidl/tools/generate-setlike.py b/webidl/tools/generate-setlike.py deleted file mode 100644 index 407a725da6e518..00000000000000 --- a/webidl/tools/generate-setlike.py +++ /dev/null @@ -1,113 +0,0 @@ -import os - -here = os.path.dirname(__file__) - -readonly_template = """\ -interface {interface}A {{ - readonly setlike; - static void {method}(); -}}; - -interface {interface}B {{ - readonly setlike; - static readonly attribute long {method}; -}}; -""" - -readwrite_template = """\ -interface ReadOnly {{ - readonly setlike; -}}; - -interface ReadWrite {{ - setlike; -}}; - -interface {interface}A {{ - setlike; - void {method}(); -}}; - -interface {interface}B {{ - readonly setlike; - void {method}(); -}}; - -interface {interface}C {{ - readonly setlike; - readonly attribute long {method}; -}}; - -interface {interface}D {{ - readonly setlike; - const long {method} = 0; -}}; - -interface {interface}E : ReadOnly {{ - void {method}(); -}}; - -interface {interface}F : ReadOnly {{ - readonly attribute long {method}; -}}; - -interface {interface}G : ReadOnly {{ - const long {method} = 0; -}}; - -interface {interface}H {{ - readonly setlike; - static void {method}(); -}}; - -interface {interface}I {{ - readonly setlike; - static readonly attribute long {method}; -}}; - -interface {interface}J1 {{ - static void {method}(); -}}; - -interface {interface}J2 : {interface}J1 {{ - readonly setlike; -}}; - -interface {interface}K1 {{ - static readonly attribute long {method}; -}}; - -interface {interface}K2 : {interface}K1 {{ - readonly setlike; -}}; -""" - -members_readonly = [ - "entries", - "forEach", - "has", - "keys", - "size", - "values", -] - -members_readwrite = [ - "add", - "clear", - "delete", -] - -def transform(m): - return m[0].upper() + m[1:] - -tests = [ - (members_readonly, readonly_template), - (members_readwrite, readwrite_template), -] - -for (members, template) in tests: - for method in members: - path = "{here}/../valid/idl/setlike-{method}.widl".format(here=here, method=method) - test = template.format(method=method, interface=transform(method)) - with open(path, "wb") as f: - f.write(test.encode("utf8")) diff --git a/webidl/valid/idl/allowany.widl b/webidl/valid/idl/allowany.widl deleted file mode 100644 index 2343bb96374f98..00000000000000 --- a/webidl/valid/idl/allowany.widl +++ /dev/null @@ -1,6 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface B { - void g(); - void g(B b); - void g([AllowAny] DOMString s); -}; \ No newline at end of file diff --git a/webidl/valid/idl/array.widl b/webidl/valid/idl/array.widl deleted file mode 100644 index 9252069ebefc15..00000000000000 --- a/webidl/valid/idl/array.widl +++ /dev/null @@ -1,5 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -[Constructor] -interface LotteryResults { - readonly attribute FrozenArray> numbers; -}; diff --git a/webidl/valid/idl/attributes.widl b/webidl/valid/idl/attributes.widl deleted file mode 100644 index bd1cd2e63c8236..00000000000000 --- a/webidl/valid/idl/attributes.widl +++ /dev/null @@ -1,8 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface Person { - - // A simple attribute that can be set to any value the range an unsigned - // short can take. - attribute unsigned short age; - -}; diff --git a/webidl/valid/idl/callback.widl b/webidl/valid/idl/callback.widl deleted file mode 100644 index d92f6a18c0a531..00000000000000 --- a/webidl/valid/idl/callback.widl +++ /dev/null @@ -1,5 +0,0 @@ -callback AsyncOperationCallback = void (DOMString status); - -callback interface EventHandler { - void eventOccurred(DOMString details); -}; \ No newline at end of file diff --git a/webidl/valid/idl/caller.widl b/webidl/valid/idl/caller.widl deleted file mode 100644 index 92acb1c017631f..00000000000000 --- a/webidl/valid/idl/caller.widl +++ /dev/null @@ -1,5 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface NumberQuadrupler { - // This operation simply returns four times the given number x. - legacycaller float compute(float x); -}; \ No newline at end of file diff --git a/webidl/valid/idl/constants.widl b/webidl/valid/idl/constants.widl deleted file mode 100644 index 60e3d2c2450579..00000000000000 --- a/webidl/valid/idl/constants.widl +++ /dev/null @@ -1,11 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface Util { - const boolean DEBUG = false; - const short negative = -1; - const octet LF = 10; - const unsigned long BIT_MASK = 0x0000fc00; - const float AVOGADRO = 6.022e23; - const unrestricted float sobig = Infinity; - const unrestricted double minusonedividedbyzero = -Infinity; - const short notanumber = NaN; -}; diff --git a/webidl/valid/idl/constructor.widl b/webidl/valid/idl/constructor.widl deleted file mode 100644 index f93ec08a6e6f81..00000000000000 --- a/webidl/valid/idl/constructor.widl +++ /dev/null @@ -1,9 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -[Constructor, - Constructor(float radius)] -interface Circle { - attribute float r; - attribute float cx; - attribute float cy; - readonly attribute float circumference; -}; \ No newline at end of file diff --git a/webidl/valid/idl/dictionary-inherits.widl b/webidl/valid/idl/dictionary-inherits.widl deleted file mode 100644 index 48f8a0fdceb6c2..00000000000000 --- a/webidl/valid/idl/dictionary-inherits.widl +++ /dev/null @@ -1,9 +0,0 @@ -dictionary PaintOptions { - DOMString? fillPattern = "black"; - DOMString? strokePattern = null; - Point position; -}; - -dictionary WetPaintOptions : PaintOptions { - float hydrometry; -}; \ No newline at end of file diff --git a/webidl/valid/idl/dictionary.widl b/webidl/valid/idl/dictionary.widl deleted file mode 100644 index f46b7ba7806afa..00000000000000 --- a/webidl/valid/idl/dictionary.widl +++ /dev/null @@ -1,11 +0,0 @@ -// Extracted from Web IDL editors draft May 31 2011 -dictionary PaintOptions { - DOMString? fillPattern = "black"; - DOMString? strokePattern = null; - Point position; -}; - -partial dictionary A { - long h; - long d; -}; \ No newline at end of file diff --git a/webidl/valid/idl/documentation-dos.widl b/webidl/valid/idl/documentation-dos.widl deleted file mode 100644 index fb801101f14910..00000000000000 --- a/webidl/valid/idl/documentation-dos.widl +++ /dev/null @@ -1,33 +0,0 @@ -/** -* \brief Testing documentation features -* -* This is a -* single paragraph -* -*

This is valid.

-*

This is valid.

-*

This is valid.

-*

This is valid.

-*
    -*
  • This
  • -*
  • is
  • -*
  • valid
  • -*
-*
-*
This
-*
valid
-*
-* -* -* -* -* -* -* -* -*
thisis
valid
-*

This is
valid.

-*

This is
valid.

-*

This is
valid.

-*/ -interface Documentation {}; \ No newline at end of file diff --git a/webidl/valid/idl/documentation.widl b/webidl/valid/idl/documentation.widl deleted file mode 100644 index 003e9226f672c2..00000000000000 --- a/webidl/valid/idl/documentation.widl +++ /dev/null @@ -1,34 +0,0 @@ -/** -* \brief Testing documentation features -* -* This is a -* single paragraph -* -*

This is valid.

-*

This is valid.

-*

This is valid.

-*

This is valid.

-*
    -*
  • This
  • -*
  • is
  • -*
  • valid
  • -*
-*
-*
This
-*
valid
-*
-* -* -* -* -* -* -* -* -*
thisis
valid
-*

This is
valid.

-*

This is
valid.

-*

This is
valid.

-*

Valid

-*/ -interface Documentation {}; \ No newline at end of file diff --git a/webidl/valid/idl/enum.widl b/webidl/valid/idl/enum.widl deleted file mode 100644 index 851fca2e6f6131..00000000000000 --- a/webidl/valid/idl/enum.widl +++ /dev/null @@ -1,8 +0,0 @@ -enum MealType { "rice", "noodles", "other" }; - -interface Meal { - attribute MealType type; - attribute float size; // in grams - - void initialize(MealType type, float size); -}; \ No newline at end of file diff --git a/webidl/valid/idl/equivalent-decl.widl b/webidl/valid/idl/equivalent-decl.widl deleted file mode 100644 index 6b3e0eda284ad7..00000000000000 --- a/webidl/valid/idl/equivalent-decl.widl +++ /dev/null @@ -1,18 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface Dictionary { - readonly attribute unsigned long propertyCount; - - getter float getProperty(DOMString propertyName); - setter void setProperty(DOMString propertyName, float propertyValue); -}; - - -interface Dictionary { - readonly attribute unsigned long propertyCount; - - float getProperty(DOMString propertyName); - void setProperty(DOMString propertyName, float propertyValue); - - getter float (DOMString propertyName); - setter void (DOMString propertyName, float propertyValue); -}; \ No newline at end of file diff --git a/webidl/valid/idl/getter-setter.widl b/webidl/valid/idl/getter-setter.widl deleted file mode 100644 index bdf87e1c7c72f2..00000000000000 --- a/webidl/valid/idl/getter-setter.widl +++ /dev/null @@ -1,7 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface Dictionary { - readonly attribute unsigned long propertyCount; - - getter float (DOMString propertyName); - setter void (DOMString propertyName, float propertyValue); -}; \ No newline at end of file diff --git a/webidl/valid/idl/identifier-qualified-names.widl b/webidl/valid/idl/identifier-qualified-names.widl deleted file mode 100644 index 0b5642fe2cc94b..00000000000000 --- a/webidl/valid/idl/identifier-qualified-names.widl +++ /dev/null @@ -1,44 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 - // Typedef identifier: "number" - // Qualified name: "::framework::number" - typedef float number; - - // Exception identifier: "FrameworkException" - // Qualified name: "::framework::FrameworkException" - interface FrameworkException { - - // Constant identifier: "ERR_NOT_FOUND" - // Qualified name: "::framework::FrameworkException::ERR_NOT_FOUND" - const long ERR_NOT_FOUND = 1; - - // Exception field identifier: "code" - attribute long code; - }; - - // Interface identifier: "System" - // Qualified name: "::framework::System" - interface System { - - // Operation identifier: "createObject" - // Operation argument identifier: "interface" - object createObject(DOMString _interface); - - // Operation has no identifier; it declares a getter. - getter DOMString (DOMString keyName); - }; - - - // Interface identifier: "TextField" - // Qualified name: "::framework::gui::TextField" - interface TextField { - - // Attribute identifier: "const" - attribute boolean _const; - - // Attribute identifier: "value" - attribute DOMString? _value; - }; - -interface Foo { - void op(object interface); -}; diff --git a/webidl/valid/idl/implements.widl b/webidl/valid/idl/implements.widl deleted file mode 100644 index 7a310926f1c8d4..00000000000000 --- a/webidl/valid/idl/implements.widl +++ /dev/null @@ -1,14 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 - interface Node { - readonly attribute unsigned short nodeType; - // ... - }; - - interface EventTarget { - void addEventListener(DOMString type, - EventListener listener, - boolean useCapture); - // ... - }; - - Node implements EventTarget; diff --git a/webidl/valid/idl/indexed-properties.widl b/webidl/valid/idl/indexed-properties.widl deleted file mode 100644 index 4b8aa9e353fac8..00000000000000 --- a/webidl/valid/idl/indexed-properties.widl +++ /dev/null @@ -1,12 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface OrderedMap { - readonly attribute unsigned long size; - - getter any getByIndex(unsigned long index); - setter void setByIndex(unsigned long index, any value); - deleter void removeByIndex(unsigned long index); - - getter any get(DOMString name); - setter void set(DOMString name, any value); - deleter void remove(DOMString name); -}; diff --git a/webidl/valid/idl/inherits-getter.widl b/webidl/valid/idl/inherits-getter.widl deleted file mode 100644 index 558e8116494b2b..00000000000000 --- a/webidl/valid/idl/inherits-getter.widl +++ /dev/null @@ -1,16 +0,0 @@ -interface Animal { - - // A simple attribute that can be set to any string value. - readonly attribute DOMString name; -}; - -interface Person : Animal { - - // An attribute whose value cannot be assigned to. - readonly attribute unsigned short age; - - // An attribute that can raise an exception if it is set to an invalid value. - // Its getter behavior is inherited from Animal, and need not be specified - // the description of Person. - inherit attribute DOMString name; -}; \ No newline at end of file diff --git a/webidl/valid/idl/interface-inherits.widl b/webidl/valid/idl/interface-inherits.widl deleted file mode 100644 index 7921def77279f7..00000000000000 --- a/webidl/valid/idl/interface-inherits.widl +++ /dev/null @@ -1,12 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface Animal { - attribute DOMString name; -}; - -interface Human : Animal { - attribute Dog pet; -}; - -interface Dog : Animal { - attribute Human owner; -}; \ No newline at end of file diff --git a/webidl/valid/idl/iterator.widl b/webidl/valid/idl/iterator.widl deleted file mode 100644 index fe0940b7dd93a2..00000000000000 --- a/webidl/valid/idl/iterator.widl +++ /dev/null @@ -1,23 +0,0 @@ -interface SessionManager { - Session getSessionForUser(DOMString username); - readonly attribute unsigned long sessionCount; -}; - -interface Session { - readonly attribute DOMString username; - // ... -}; - -interface SessionManager2 { - Session2 getSessionForUser(DOMString username); - readonly attribute unsigned long sessionCount; -}; - -interface Session2 { - readonly attribute DOMString username; - // ... -}; - -interface SessionIterator { - readonly attribute unsigned long remainingSessions; -}; diff --git a/webidl/valid/idl/namedconstructor.widl b/webidl/valid/idl/namedconstructor.widl deleted file mode 100644 index c468b78f8e1814..00000000000000 --- a/webidl/valid/idl/namedconstructor.widl +++ /dev/null @@ -1,6 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -[NamedConstructor=Audio, - NamedConstructor=Audio(DOMString src)] -interface HTMLAudioElement : HTMLMediaElement { - // ... -}; \ No newline at end of file diff --git a/webidl/valid/idl/nointerfaceobject.widl b/webidl/valid/idl/nointerfaceobject.widl deleted file mode 100644 index c17d75ff8fd373..00000000000000 --- a/webidl/valid/idl/nointerfaceobject.widl +++ /dev/null @@ -1,5 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -[NoInterfaceObject] -interface Query { - any lookupEntry(unsigned long key); -}; \ No newline at end of file diff --git a/webidl/valid/idl/nullable.widl b/webidl/valid/idl/nullable.widl deleted file mode 100644 index ccbf625ff8aea1..00000000000000 --- a/webidl/valid/idl/nullable.widl +++ /dev/null @@ -1,9 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface MyConstants { - const boolean? ARE_WE_THERE_YET = false; -}; - -interface Node { - readonly attribute DOMString? namespaceURI; - // ... -}; \ No newline at end of file diff --git a/webidl/valid/idl/nullableobjects.widl b/webidl/valid/idl/nullableobjects.widl deleted file mode 100644 index 83d1d40b2acfa3..00000000000000 --- a/webidl/valid/idl/nullableobjects.widl +++ /dev/null @@ -1,13 +0,0 @@ -// Extracted from WebIDL spec 2011-05-23 - -interface A { - // ... -}; -interface B { - // ... -}; -interface C { - void f(A? x); - void f(B? x); - -}; \ No newline at end of file diff --git a/webidl/valid/idl/operation-optional-arg.widl b/webidl/valid/idl/operation-optional-arg.widl deleted file mode 100644 index 379053b45f14a1..00000000000000 --- a/webidl/valid/idl/operation-optional-arg.widl +++ /dev/null @@ -1,4 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface ColorCreator { - object createColor(float v1, float v2, float v3, optional float alpha = 3.5); -}; \ No newline at end of file diff --git a/webidl/valid/idl/overloading.widl b/webidl/valid/idl/overloading.widl deleted file mode 100644 index ef1288a887763d..00000000000000 --- a/webidl/valid/idl/overloading.widl +++ /dev/null @@ -1,20 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface A { - // ... -}; - -interface B { - // ... -}; - -interface C { - void f(A x); - void f(B x); -}; - -interface A { - /* f1 */ void f(DOMString a); - /* f2 */ void f([AllowAny] DOMString a, DOMString b, float... c); - /* f3 */ void f(); - /* f4 */ void f(long a, DOMString b, optional DOMString c, float... d); -}; \ No newline at end of file diff --git a/webidl/valid/idl/overridebuiltins.widl b/webidl/valid/idl/overridebuiltins.widl deleted file mode 100644 index 79211c29e8436d..00000000000000 --- a/webidl/valid/idl/overridebuiltins.widl +++ /dev/null @@ -1,6 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -[OverrideBuiltins] -interface StringMap2 { - readonly attribute unsigned long length; - getter DOMString lookup(DOMString key); -}; \ No newline at end of file diff --git a/webidl/valid/idl/partial-interface.widl b/webidl/valid/idl/partial-interface.widl deleted file mode 100644 index 90e7e0ea421b4f..00000000000000 --- a/webidl/valid/idl/partial-interface.widl +++ /dev/null @@ -1,7 +0,0 @@ -interface Foo { - attribute DOMString bar; -}; - -partial interface Foo { - attribute DOMString quux; -}; \ No newline at end of file diff --git a/webidl/valid/idl/primitives.widl b/webidl/valid/idl/primitives.widl deleted file mode 100644 index 92939601a1a839..00000000000000 --- a/webidl/valid/idl/primitives.widl +++ /dev/null @@ -1,19 +0,0 @@ -interface Primitives { - attribute boolean truth; - attribute byte character; - attribute octet value; - attribute short number; - attribute unsigned short positive; - attribute long big; - attribute unsigned long bigpositive; - attribute long long bigbig; - attribute unsigned long long bigbigpositive; - attribute float real; - attribute double bigreal; - attribute unrestricted float realwithinfinity; - attribute unrestricted double bigrealwithinfinity; - attribute DOMString string; - attribute ByteString bytes; - attribute Date date; - attribute RegExp regexp; -}; \ No newline at end of file diff --git a/webidl/valid/idl/prototyperoot.widl b/webidl/valid/idl/prototyperoot.widl deleted file mode 100644 index 30dd5cbca13be0..00000000000000 --- a/webidl/valid/idl/prototyperoot.widl +++ /dev/null @@ -1,5 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -[PrototypeRoot] -interface Node { - readonly attribute unsigned short nodeType; -}; \ No newline at end of file diff --git a/webidl/valid/idl/putforwards.widl b/webidl/valid/idl/putforwards.widl deleted file mode 100644 index 1e50a4ee394f5d..00000000000000 --- a/webidl/valid/idl/putforwards.widl +++ /dev/null @@ -1,5 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface Person { - [PutForwards=full] readonly attribute Name name; - attribute unsigned short age; -}; \ No newline at end of file diff --git a/webidl/valid/idl/reg-operations.widl b/webidl/valid/idl/reg-operations.widl deleted file mode 100644 index 43b8539edd731f..00000000000000 --- a/webidl/valid/idl/reg-operations.widl +++ /dev/null @@ -1,15 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface Dimensions { - attribute unsigned long width; - attribute unsigned long height; -}; - -interface Button { - - // An operation that takes no arguments, returns a boolean - boolean isMouseOver(); - - // Overloaded operations. - void setDimensions(Dimensions size); - void setDimensions(unsigned long width, unsigned long height); -}; diff --git a/webidl/valid/idl/replaceable.widl b/webidl/valid/idl/replaceable.widl deleted file mode 100644 index c14d0c37689047..00000000000000 --- a/webidl/valid/idl/replaceable.widl +++ /dev/null @@ -1,5 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface Counter { - [Replaceable] readonly attribute unsigned long value; - void increment(); -}; \ No newline at end of file diff --git a/webidl/valid/idl/sequence.widl b/webidl/valid/idl/sequence.widl deleted file mode 100644 index a1aa931f5f00a1..00000000000000 --- a/webidl/valid/idl/sequence.widl +++ /dev/null @@ -1,7 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -// edited to remove sequence as attributes, now invalid -interface Canvas { - void drawPolygon(sequence coordinates); - sequence getInflectionPoints(); - // ... -}; \ No newline at end of file diff --git a/webidl/valid/idl/serializer.widl b/webidl/valid/idl/serializer.widl deleted file mode 100644 index 9a27f61f17b4e3..00000000000000 --- a/webidl/valid/idl/serializer.widl +++ /dev/null @@ -1,54 +0,0 @@ -interface Transaction { - readonly attribute Account from; - readonly attribute Account to; - readonly attribute float amount; - readonly attribute DOMString description; - readonly attribute unsigned long number; - - [Default] object toJSON(); -}; - -interface Account { - attribute DOMString name; - attribute unsigned long number; - DOMString serialize(); -}; - -interface Transaction2 { - readonly attribute Account2 from; - readonly attribute Account2 to; - readonly attribute float amount; - readonly attribute DOMString description; - readonly attribute unsigned long number; -}; - -interface Account2 { - attribute DOMString name; - attribute unsigned long number; -}; - -interface Account3 { - attribute DOMString name; - attribute unsigned long number; -}; - -interface Account4 { - getter object getItem(unsigned long index); -}; - -interface Account5 : Account { - attribute DOMString secondname; -}; - -interface Account6 : Account { - attribute DOMString secondname; -}; - -interface Account7 { - attribute DOMString name; - attribute unsigned long number; -}; - -interface Account8 { - getter object getItem(unsigned long index); -}; diff --git a/webidl/valid/idl/setlike-add.widl b/webidl/valid/idl/setlike-add.widl deleted file mode 100644 index a6f84908cee6b2..00000000000000 --- a/webidl/valid/idl/setlike-add.widl +++ /dev/null @@ -1,65 +0,0 @@ -interface ReadOnly { - readonly setlike; -}; - -interface ReadWrite { - setlike; -}; - -interface AddA { - setlike; - void add(); -}; - -interface AddB { - readonly setlike; - void add(); -}; - -interface AddC { - readonly setlike; - readonly attribute long add; -}; - -interface AddD { - readonly setlike; - const long add = 0; -}; - -interface AddE : ReadOnly { - void add(); -}; - -interface AddF : ReadOnly { - readonly attribute long add; -}; - -interface AddG : ReadOnly { - const long add = 0; -}; - -interface AddH { - readonly setlike; - static void add(); -}; - -interface AddI { - readonly setlike; - static readonly attribute long add; -}; - -interface AddJ1 { - static void add(); -}; - -interface AddJ2 : AddJ1 { - readonly setlike; -}; - -interface AddK1 { - static readonly attribute long add; -}; - -interface AddK2 : AddK1 { - readonly setlike; -}; diff --git a/webidl/valid/idl/setlike-clear.widl b/webidl/valid/idl/setlike-clear.widl deleted file mode 100644 index 63ebb50a246465..00000000000000 --- a/webidl/valid/idl/setlike-clear.widl +++ /dev/null @@ -1,65 +0,0 @@ -interface ReadOnly { - readonly setlike; -}; - -interface ReadWrite { - setlike; -}; - -interface ClearA { - setlike; - void clear(); -}; - -interface ClearB { - readonly setlike; - void clear(); -}; - -interface ClearC { - readonly setlike; - readonly attribute long clear; -}; - -interface ClearD { - readonly setlike; - const long clear = 0; -}; - -interface ClearE : ReadOnly { - void clear(); -}; - -interface ClearF : ReadOnly { - readonly attribute long clear; -}; - -interface ClearG : ReadOnly { - const long clear = 0; -}; - -interface ClearH { - readonly setlike; - static void clear(); -}; - -interface ClearI { - readonly setlike; - static readonly attribute long clear; -}; - -interface ClearJ1 { - static void clear(); -}; - -interface ClearJ2 : ClearJ1 { - readonly setlike; -}; - -interface ClearK1 { - static readonly attribute long clear; -}; - -interface ClearK2 : ClearK1 { - readonly setlike; -}; diff --git a/webidl/valid/idl/setlike-delete.widl b/webidl/valid/idl/setlike-delete.widl deleted file mode 100644 index 96d99293aa6979..00000000000000 --- a/webidl/valid/idl/setlike-delete.widl +++ /dev/null @@ -1,65 +0,0 @@ -interface ReadOnly { - readonly setlike; -}; - -interface ReadWrite { - setlike; -}; - -interface DeleteA { - setlike; - void delete(); -}; - -interface DeleteB { - readonly setlike; - void delete(); -}; - -interface DeleteC { - readonly setlike; - readonly attribute long delete; -}; - -interface DeleteD { - readonly setlike; - const long delete = 0; -}; - -interface DeleteE : ReadOnly { - void delete(); -}; - -interface DeleteF : ReadOnly { - readonly attribute long delete; -}; - -interface DeleteG : ReadOnly { - const long delete = 0; -}; - -interface DeleteH { - readonly setlike; - static void delete(); -}; - -interface DeleteI { - readonly setlike; - static readonly attribute long delete; -}; - -interface DeleteJ1 { - static void delete(); -}; - -interface DeleteJ2 : DeleteJ1 { - readonly setlike; -}; - -interface DeleteK1 { - static readonly attribute long delete; -}; - -interface DeleteK2 : DeleteK1 { - readonly setlike; -}; diff --git a/webidl/valid/idl/setlike-entries.widl b/webidl/valid/idl/setlike-entries.widl deleted file mode 100644 index a8b7eed09d4d39..00000000000000 --- a/webidl/valid/idl/setlike-entries.widl +++ /dev/null @@ -1,9 +0,0 @@ -interface EntriesA { - readonly setlike; - static void entries(); -}; - -interface EntriesB { - readonly setlike; - static readonly attribute long entries; -}; diff --git a/webidl/valid/idl/setlike-forEach.widl b/webidl/valid/idl/setlike-forEach.widl deleted file mode 100644 index f433fbe51377e6..00000000000000 --- a/webidl/valid/idl/setlike-forEach.widl +++ /dev/null @@ -1,9 +0,0 @@ -interface ForEachA { - readonly setlike; - static void forEach(); -}; - -interface ForEachB { - readonly setlike; - static readonly attribute long forEach; -}; diff --git a/webidl/valid/idl/setlike-has.widl b/webidl/valid/idl/setlike-has.widl deleted file mode 100644 index e50ac56cd19087..00000000000000 --- a/webidl/valid/idl/setlike-has.widl +++ /dev/null @@ -1,9 +0,0 @@ -interface HasA { - readonly setlike; - static void has(); -}; - -interface HasB { - readonly setlike; - static readonly attribute long has; -}; diff --git a/webidl/valid/idl/setlike-keys.widl b/webidl/valid/idl/setlike-keys.widl deleted file mode 100644 index 9a9899eb528ebc..00000000000000 --- a/webidl/valid/idl/setlike-keys.widl +++ /dev/null @@ -1,9 +0,0 @@ -interface KeysA { - readonly setlike; - static void keys(); -}; - -interface KeysB { - readonly setlike; - static readonly attribute long keys; -}; diff --git a/webidl/valid/idl/setlike-size.widl b/webidl/valid/idl/setlike-size.widl deleted file mode 100644 index 8a528ccf4b1c0a..00000000000000 --- a/webidl/valid/idl/setlike-size.widl +++ /dev/null @@ -1,9 +0,0 @@ -interface SizeA { - readonly setlike; - static void size(); -}; - -interface SizeB { - readonly setlike; - static readonly attribute long size; -}; diff --git a/webidl/valid/idl/setlike-values.widl b/webidl/valid/idl/setlike-values.widl deleted file mode 100644 index 34c4c342eb354d..00000000000000 --- a/webidl/valid/idl/setlike-values.widl +++ /dev/null @@ -1,9 +0,0 @@ -interface ValuesA { - readonly setlike; - static void values(); -}; - -interface ValuesB { - readonly setlike; - static readonly attribute long values; -}; diff --git a/webidl/valid/idl/setlike.widl b/webidl/valid/idl/setlike.widl deleted file mode 100644 index cd5e06347db321..00000000000000 --- a/webidl/valid/idl/setlike.widl +++ /dev/null @@ -1,15 +0,0 @@ -interface ReadOnly { - readonly setlike; -}; - -interface ReadWrite { - setlike; -}; - -interface ReadOnlyExtAttr { - readonly setlike<[Clamp] unsigned short>; -}; - -interface ReadWriteExtAttr { - setlike<[Clamp] unsigned short>; -}; diff --git a/webidl/valid/idl/static.widl b/webidl/valid/idl/static.widl deleted file mode 100644 index 5b2cd36590fd6f..00000000000000 --- a/webidl/valid/idl/static.widl +++ /dev/null @@ -1,11 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface Point { /* ... */ }; - -interface Circle { - attribute float cx; - attribute float cy; - attribute float radius; - - static readonly attribute long triangulationCount; - static Point triangulate(Circle c1, Circle c2, Circle c3); -}; \ No newline at end of file diff --git a/webidl/valid/idl/stringifier-attribute.widl b/webidl/valid/idl/stringifier-attribute.widl deleted file mode 100644 index c964ecb93e601f..00000000000000 --- a/webidl/valid/idl/stringifier-attribute.widl +++ /dev/null @@ -1,6 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -[Constructor] -interface Student { - attribute unsigned long id; - stringifier attribute DOMString name; -}; \ No newline at end of file diff --git a/webidl/valid/idl/stringifier-custom.widl b/webidl/valid/idl/stringifier-custom.widl deleted file mode 100644 index b5d7c87e7f4572..00000000000000 --- a/webidl/valid/idl/stringifier-custom.widl +++ /dev/null @@ -1,9 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -[Constructor] -interface Student { - attribute unsigned long id; - attribute DOMString? familyName; - attribute DOMString givenName; - - stringifier DOMString (); -}; \ No newline at end of file diff --git a/webidl/valid/idl/stringifier.widl b/webidl/valid/idl/stringifier.widl deleted file mode 100644 index 4eb483d9b53861..00000000000000 --- a/webidl/valid/idl/stringifier.widl +++ /dev/null @@ -1,8 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface A { - stringifier DOMString (); -}; - -interface A { - stringifier; -}; \ No newline at end of file diff --git a/webidl/valid/idl/treatasnull.widl b/webidl/valid/idl/treatasnull.widl deleted file mode 100644 index d3c55b008c0d86..00000000000000 --- a/webidl/valid/idl/treatasnull.widl +++ /dev/null @@ -1,7 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface Dog { - attribute DOMString name; - attribute DOMString owner; - - boolean isMemberOfBreed([TreatNullAs=EmptyString] DOMString breedName); -}; \ No newline at end of file diff --git a/webidl/valid/idl/treatasundefined.widl b/webidl/valid/idl/treatasundefined.widl deleted file mode 100644 index e30050f8413403..00000000000000 --- a/webidl/valid/idl/treatasundefined.widl +++ /dev/null @@ -1,7 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface Cat { - attribute DOMString name; - attribute DOMString owner; - - boolean isMemberOfBreed([TreatUndefinedAs=EmptyString] DOMString breedName); -}; \ No newline at end of file diff --git a/webidl/valid/idl/typedef.widl b/webidl/valid/idl/typedef.widl deleted file mode 100644 index b4c17d8d36a89f..00000000000000 --- a/webidl/valid/idl/typedef.widl +++ /dev/null @@ -1,22 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 - interface Point { - attribute float x; - attribute float y; - }; - - typedef sequence PointSequence; - - interface Rect { - attribute Point topleft; - attribute Point bottomright; - }; - - interface Widget { - - readonly attribute Rect bounds; - - boolean pointWithinBounds(Point p); - boolean allPointsWithinBounds(PointSequence ps); - }; - - typedef [Clamp] octet value; \ No newline at end of file diff --git a/webidl/valid/idl/typesuffixes.widl b/webidl/valid/idl/typesuffixes.widl deleted file mode 100644 index 73ca77176ac03f..00000000000000 --- a/webidl/valid/idl/typesuffixes.widl +++ /dev/null @@ -1,3 +0,0 @@ -interface Suffixes { - void test(sequence?>? foo); -}; diff --git a/webidl/valid/idl/uniontype.widl b/webidl/valid/idl/uniontype.widl deleted file mode 100644 index 4d99f0196308ae..00000000000000 --- a/webidl/valid/idl/uniontype.widl +++ /dev/null @@ -1,3 +0,0 @@ -interface Union { - attribute (float or (Date or Event) or (Node or DOMString)?) test; -}; \ No newline at end of file diff --git a/webidl/valid/idl/variadic-operations.widl b/webidl/valid/idl/variadic-operations.widl deleted file mode 100644 index 51fae4cc1ea1c4..00000000000000 --- a/webidl/valid/idl/variadic-operations.widl +++ /dev/null @@ -1,7 +0,0 @@ -// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 -interface IntegerSet { - readonly attribute unsigned long cardinality; - - void union(long... ints); - void intersection(long... ints); -}; \ No newline at end of file diff --git a/webidl/valid/xml/allowany.widlprocxml b/webidl/valid/xml/allowany.widlprocxml deleted file mode 100644 index 7da508bcb5c8fa..00000000000000 --- a/webidl/valid/xml/allowany.widlprocxml +++ /dev/null @@ -1,44 +0,0 @@ - - - - interface B { - void g(); - void g(B b); - void g([AllowAny] DOMString s); -}; - - interface B { - void g(); - void g(B b); - void g([AllowAny] DOMString s); -}; - - void g(); - - - - - void g(B b); - - - - - - - - - void g([AllowAny] DOMString s); - - - - - - AllowAny - - - - - - - - diff --git a/webidl/valid/xml/array.widlprocxml b/webidl/valid/xml/array.widlprocxml deleted file mode 100644 index 3df72ff160881e..00000000000000 --- a/webidl/valid/xml/array.widlprocxml +++ /dev/null @@ -1,27 +0,0 @@ - - - - [Constructor] -interface LotteryResults { - readonly attribute unsigned short[][] numbers; -}; - - [Constructor] -interface LotteryResults { - readonly attribute unsigned short[][] numbers; -}; - - - Constructor - - - - readonly attribute unsigned short[][] numbers; - - - - - - - - diff --git a/webidl/valid/xml/attributes.widlprocxml b/webidl/valid/xml/attributes.widlprocxml deleted file mode 100644 index 89bd8ac9b019a2..00000000000000 --- a/webidl/valid/xml/attributes.widlprocxml +++ /dev/null @@ -1,38 +0,0 @@ - - - - exception InvalidName { - DOMString reason; -}; - -exception NoSuchPet { }; - -interface Person { - - attribute unsigned short age; - -}; - - exception InvalidName { - DOMString reason; -}; - - DOMString reason; - - - - - exception NoSuchPet { }; - - - interface Person { - - attribute unsigned short age; - -}; - - attribute unsigned short age; - - - - diff --git a/webidl/valid/xml/callback.widlprocxml b/webidl/valid/xml/callback.widlprocxml deleted file mode 100644 index 9eac06ce279d84..00000000000000 --- a/webidl/valid/xml/callback.widlprocxml +++ /dev/null @@ -1,32 +0,0 @@ - - - - callback AsyncOperationCallback = void (DOMString status); - -callback interface EventHandler { - void eventOccurred(DOMString details); -}; - - callback AsyncOperationCallback = void (DOMString status); - - - - - - - - - callback interface EventHandler { - void eventOccurred(DOMString details); -}; - - void eventOccurred(DOMString details); - - - - - - - - - diff --git a/webidl/valid/xml/caller.widlprocxml b/webidl/valid/xml/caller.widlprocxml deleted file mode 100644 index 9754d4e0268491..00000000000000 --- a/webidl/valid/xml/caller.widlprocxml +++ /dev/null @@ -1,21 +0,0 @@ - - - - interface NumberQuadrupler { - legacycaller float compute(float x); -}; - - interface NumberQuadrupler { - legacycaller float compute(float x); -}; - - legacycaller float compute(float x); - - - - - - - - - diff --git a/webidl/valid/xml/constants.widlprocxml b/webidl/valid/xml/constants.widlprocxml deleted file mode 100644 index 51cb4331f754c2..00000000000000 --- a/webidl/valid/xml/constants.widlprocxml +++ /dev/null @@ -1,85 +0,0 @@ - - - - interface Util { - const boolean DEBUG = false; - const short negative = -1; - const octet LF = 10; - const unsigned long BIT_MASK = 0x0000fc00; - const float AVOGADRO = 6.022e23; - const unrestricted float sobig = Infinity; - const unrestricted double minusonedividedbyzero = -Infinity; - const short notanumber = NaN; -}; - -exception Error { - const short ERR_UNKNOWN = 0; - const short ERR_OUT_OF_MEMORY = 1; - - short errorCode; -}; - - interface Util { - const boolean DEBUG = false; - const short negative = -1; - const octet LF = 10; - const unsigned long BIT_MASK = 0x0000fc00; - const float AVOGADRO = 6.022e23; - const unrestricted float sobig = Infinity; - const unrestricted double minusonedividedbyzero = -Infinity; - const short notanumber = NaN; -}; - - const boolean DEBUG = false; - - - - const short negative = -1; - - - - const octet LF = 10; - - - - const unsigned long BIT_MASK = 0x0000fc00; - - - - const float AVOGADRO = 6.022e23; - - - - const unrestricted float sobig = Infinity; - - - - const unrestricted double minusonedividedbyzero = -Infinity; - - - - const short notanumber = NaN; - - - - - exception Error { - const short ERR_UNKNOWN = 0; - const short ERR_OUT_OF_MEMORY = 1; - - short errorCode; -}; - - const short ERR_UNKNOWN = 0; - - - - const short ERR_OUT_OF_MEMORY = 1; - - - - short errorCode; - - - - diff --git a/webidl/valid/xml/constructor.widlprocxml b/webidl/valid/xml/constructor.widlprocxml deleted file mode 100644 index 8e78fbab3659f1..00000000000000 --- a/webidl/valid/xml/constructor.widlprocxml +++ /dev/null @@ -1,51 +0,0 @@ - - - - [Constructor, - Constructor(float radius)] -interface Circle { - attribute float r; - attribute float cx; - attribute float cy; - readonly attribute float circumference; -}; - - [Constructor, - Constructor(float radius)] -interface Circle { - attribute float r; - attribute float cx; - attribute float cy; - readonly attribute float circumference; -}; - - - Constructor - - - Constructor(float radius) - - - - - - - - - attribute float r; - - - - attribute float cx; - - - - attribute float cy; - - - - readonly attribute float circumference; - - - - diff --git a/webidl/valid/xml/dictionary-inherits.widlprocxml b/webidl/valid/xml/dictionary-inherits.widlprocxml deleted file mode 100644 index 269a83cd849b3a..00000000000000 --- a/webidl/valid/xml/dictionary-inherits.widlprocxml +++ /dev/null @@ -1,44 +0,0 @@ - - - - dictionary PaintOptions { - DOMString? fillPattern = "black"; - DOMString? strokePattern = null; - Point position; -}; - -dictionary WetPaintOptions : PaintOptions { - float hydrometry; -}; - - dictionary PaintOptions { - DOMString? fillPattern = "black"; - DOMString? strokePattern = null; - Point position; -}; - - DOMString? fillPattern = "black"; - - - - DOMString? strokePattern = null; - - - - Point position; - - - - - dictionary WetPaintOptions : PaintOptions { - float hydrometry; -}; - - - - - float hydrometry; - - - - diff --git a/webidl/valid/xml/dictionary.widlprocxml b/webidl/valid/xml/dictionary.widlprocxml deleted file mode 100644 index 978ccb4e271fa0..00000000000000 --- a/webidl/valid/xml/dictionary.widlprocxml +++ /dev/null @@ -1,47 +0,0 @@ - - - - dictionary PaintOptions { - DOMString? fillPattern = "black"; - DOMString? strokePattern = null; - Point position; -}; - -partial dictionary A { - long h; - long d; -}; - - dictionary PaintOptions { - DOMString? fillPattern = "black"; - DOMString? strokePattern = null; - Point position; -}; - - DOMString? fillPattern = "black"; - - - - DOMString? strokePattern = null; - - - - Point position; - - - - - partial dictionary A { - long h; - long d; -}; - - long h; - - - - long d; - - - - diff --git a/webidl/valid/xml/documentation-dos.widlprocxml b/webidl/valid/xml/documentation-dos.widlprocxml deleted file mode 100644 index 1611f0e576a038..00000000000000 --- a/webidl/valid/xml/documentation-dos.widlprocxml +++ /dev/null @@ -1,59 +0,0 @@ - - - - interface Documentation {}; - - interface Documentation {}; - - - Testing documentation features - - -

-This is a -single paragraph -

-

-This is valid.

-

-This is valid.

-

-This is valid.

-

-This is valid.

-
    -
  • -This
  • -
  • -is
  • -
  • -valid
  • -
-
-
-This
-
-valid
-
- - - - - - - - -
-this -is
-valid
-

-This is
valid.

-

-This is
valid.

-

-This is
valid.

-
-
-
-
diff --git a/webidl/valid/xml/documentation.widlprocxml b/webidl/valid/xml/documentation.widlprocxml deleted file mode 100644 index afe4527c221129..00000000000000 --- a/webidl/valid/xml/documentation.widlprocxml +++ /dev/null @@ -1,61 +0,0 @@ - - - - interface Documentation {}; - - interface Documentation {}; - - - Testing documentation features - - -

-This is a -single paragraph -

-

-This is valid.

-

-This is valid.

-

-This is valid.

-

-This is valid.

-
    -
  • -This
  • -
  • -is
  • -
  • -valid
  • -
-
-
-This
-
-valid
-
- - - - - - - - -
-this -is
-valid
-

-This is
valid.

-

-This is
valid.

-

-This is
valid.

-

-Valid

-
-
-
-
diff --git a/webidl/valid/xml/enum.widlprocxml b/webidl/valid/xml/enum.widlprocxml deleted file mode 100644 index e1e8258fbd0616..00000000000000 --- a/webidl/valid/xml/enum.widlprocxml +++ /dev/null @@ -1,52 +0,0 @@ - - - - enum MealType { "rice", "noodles", "other" }; - -interface Meal { - attribute MealType type; - attribute float size; - - void initialize(MealType type, float size); -}; - - enum MealType { "rice", "noodles", "other" }; - - "rice - - - "noodles - - - "other - - - - interface Meal { - attribute MealType type; - attribute float size; - - void initialize(MealType type, float size); -}; - - attribute MealType type; - - - - attribute float size; - - - - void initialize(MealType type, float size); - - - - - - - - - - - - diff --git a/webidl/valid/xml/equivalent-decl.widlprocxml b/webidl/valid/xml/equivalent-decl.widlprocxml deleted file mode 100644 index c322d0a5e22330..00000000000000 --- a/webidl/valid/xml/equivalent-decl.widlprocxml +++ /dev/null @@ -1,111 +0,0 @@ - - - - interface Dictionary { - readonly attribute unsigned long propertyCount; - - getter float getProperty(DOMString propertyName); - setter void setProperty(DOMString propertyName, float propertyValue); -}; - - -interface Dictionary { - readonly attribute unsigned long propertyCount; - - float getProperty(DOMString propertyName); - void setProperty(DOMString propertyName, float propertyValue); - - getter float (DOMString propertyName); - setter void (DOMString propertyName, float propertyValue); -}; - - interface Dictionary { - readonly attribute unsigned long propertyCount; - - getter float getProperty(DOMString propertyName); - setter void setProperty(DOMString propertyName, float propertyValue); -}; - - readonly attribute unsigned long propertyCount; - - - - getter float getProperty(DOMString propertyName); - - - - - - - - - setter void setProperty(DOMString propertyName, float propertyValue); - - - - - - - - - - - - - interface Dictionary { - readonly attribute unsigned long propertyCount; - - float getProperty(DOMString propertyName); - void setProperty(DOMString propertyName, float propertyValue); - - getter float (DOMString propertyName); - setter void (DOMString propertyName, float propertyValue); -}; - - readonly attribute unsigned long propertyCount; - - - - float getProperty(DOMString propertyName); - - - - - - - - - void setProperty(DOMString propertyName, float propertyValue); - - - - - - - - - - - - getter float (DOMString propertyName); - - - - - - - - - setter void (DOMString propertyName, float propertyValue); - - - - - - - - - - - - diff --git a/webidl/valid/xml/exception-inheritance.widlprocxml b/webidl/valid/xml/exception-inheritance.widlprocxml deleted file mode 100644 index 3a1f868a4b4ceb..00000000000000 --- a/webidl/valid/xml/exception-inheritance.widlprocxml +++ /dev/null @@ -1,31 +0,0 @@ - - - - exception DOMException { - unsigned short code; - }; - - exception HierarchyRequestError : DOMException { }; - exception NoModificationAllowedError : DOMException { }; - - exception DOMException { - unsigned short code; - }; - - unsigned short code; - - - - - exception HierarchyRequestError : DOMException { }; - - - - - - exception NoModificationAllowedError : DOMException { }; - - - - - diff --git a/webidl/valid/xml/exception.widlprocxml b/webidl/valid/xml/exception.widlprocxml deleted file mode 100644 index ac93320fe16bb3..00000000000000 --- a/webidl/valid/xml/exception.widlprocxml +++ /dev/null @@ -1,23 +0,0 @@ - - - - interface Dahut { - attribute DOMString type; -}; - -exception SomeException { -}; - - interface Dahut { - attribute DOMString type; -}; - - attribute DOMString type; - - - - - exception SomeException { -}; - - diff --git a/webidl/valid/xml/getter-setter.widlprocxml b/webidl/valid/xml/getter-setter.widlprocxml deleted file mode 100644 index 76afc058c6887c..00000000000000 --- a/webidl/valid/xml/getter-setter.widlprocxml +++ /dev/null @@ -1,43 +0,0 @@ - - - - interface Dictionary { - readonly attribute unsigned long propertyCount; - - getter float (DOMString propertyName); - setter void (DOMString propertyName, float propertyValue); -}; - - interface Dictionary { - readonly attribute unsigned long propertyCount; - - getter float (DOMString propertyName); - setter void (DOMString propertyName, float propertyValue); -}; - - readonly attribute unsigned long propertyCount; - - - - getter float (DOMString propertyName); - - - - - - - - - setter void (DOMString propertyName, float propertyValue); - - - - - - - - - - - - diff --git a/webidl/valid/xml/identifier-qualified-names.widlprocxml b/webidl/valid/xml/identifier-qualified-names.widlprocxml deleted file mode 100644 index b6024e5ff68963..00000000000000 --- a/webidl/valid/xml/identifier-qualified-names.widlprocxml +++ /dev/null @@ -1,107 +0,0 @@ - - - - typedef float number; - - exception FrameworkException { - - const long ERR_NOT_FOUND = 1; - - long code; - }; - - interface System { - - object createObject(DOMString _interface); - - getter DOMString (DOMString keyName); - }; - - - interface TextField { - - attribute boolean _const; - - attribute DOMString? _value; - }; - -interface Foo { - void op(object interface); -}; - - typedef float number; - - - - exception FrameworkException { - - const long ERR_NOT_FOUND = 1; - - long code; - }; - - const long ERR_NOT_FOUND = 1; - - - - long code; - - - - - interface System { - - object createObject(DOMString _interface); - - getter DOMString (DOMString keyName); - }; - - object createObject(DOMString _interface); - - - - - - - - - getter DOMString (DOMString keyName); - - - - - - - - - - interface TextField { - - attribute boolean _const; - - attribute DOMString? _value; - }; - - attribute boolean _const; - - - - attribute DOMString? _value; - - - - - interface Foo { - void op(object interface); -}; - - void op(object interface); - - - - - - - - - diff --git a/webidl/valid/xml/implements.widlprocxml b/webidl/valid/xml/implements.widlprocxml deleted file mode 100644 index 3d1c1ab8478fd0..00000000000000 --- a/webidl/valid/xml/implements.widlprocxml +++ /dev/null @@ -1,51 +0,0 @@ - - - - interface Node { - readonly attribute unsigned short nodeType; - }; - - interface EventTarget { - void addEventListener(DOMString type, - EventListener listener, - boolean useCapture); - }; - - Node implements EventTarget; - - interface Node { - readonly attribute unsigned short nodeType; - }; - - readonly attribute unsigned short nodeType; - - - - - interface EventTarget { - void addEventListener(DOMString type, - EventListener listener, - boolean useCapture); - }; - - void addEventListener(DOMString type, - EventListener listener, - boolean useCapture); - - - - - - - - - - - - - - - - Node implements EventTarget; - - diff --git a/webidl/valid/xml/indexed-properties.widlprocxml b/webidl/valid/xml/indexed-properties.widlprocxml deleted file mode 100644 index fb83621b60d360..00000000000000 --- a/webidl/valid/xml/indexed-properties.widlprocxml +++ /dev/null @@ -1,92 +0,0 @@ - - - - interface OrderedMap { - readonly attribute unsigned long size; - - getter any getByIndex(unsigned long index); - setter void setByIndex(unsigned long index, any value); - deleter void removeByIndex(unsigned long index); - - getter any get(DOMString name); - setter creator void set(DOMString name, any value); - deleter void remove(DOMString name); -}; - - interface OrderedMap { - readonly attribute unsigned long size; - - getter any getByIndex(unsigned long index); - setter void setByIndex(unsigned long index, any value); - deleter void removeByIndex(unsigned long index); - - getter any get(DOMString name); - setter creator void set(DOMString name, any value); - deleter void remove(DOMString name); -}; - - readonly attribute unsigned long size; - - - - getter any getByIndex(unsigned long index); - - - - - - - - - setter void setByIndex(unsigned long index, any value); - - - - - - - - - - - - deleter void removeByIndex(unsigned long index); - - - - - - - - - getter any get(DOMString name); - - - - - - - - - setter creator void set(DOMString name, any value); - - - - - - - - - - - - deleter void remove(DOMString name); - - - - - - - - - diff --git a/webidl/valid/xml/inherits-getter.widlprocxml b/webidl/valid/xml/inherits-getter.widlprocxml deleted file mode 100644 index 55e7a317fd98cd..00000000000000 --- a/webidl/valid/xml/inherits-getter.widlprocxml +++ /dev/null @@ -1,44 +0,0 @@ - - - - interface Animal { - - readonly attribute DOMString name; -}; - -interface Person : Animal { - - readonly attribute unsigned short age; - - inherit attribute DOMString name; -}; - - interface Animal { - - readonly attribute DOMString name; -}; - - readonly attribute DOMString name; - - - - - interface Person : Animal { - - readonly attribute unsigned short age; - - inherit attribute DOMString name; -}; - - - - - readonly attribute unsigned short age; - - - - inherit attribute DOMString name; - - - - diff --git a/webidl/valid/xml/interface-inherits.widlprocxml b/webidl/valid/xml/interface-inherits.widlprocxml deleted file mode 100644 index 94f0e29df05eb4..00000000000000 --- a/webidl/valid/xml/interface-inherits.widlprocxml +++ /dev/null @@ -1,48 +0,0 @@ - - - - interface Animal { - attribute DOMString name; -}; - -interface Human : Animal { - attribute Dog pet; -}; - -interface Dog : Animal { - attribute Human owner; -}; - - interface Animal { - attribute DOMString name; -}; - - attribute DOMString name; - - - - - interface Human : Animal { - attribute Dog pet; -}; - - - - - attribute Dog pet; - - - - - interface Dog : Animal { - attribute Human owner; -}; - - - - - attribute Human owner; - - - - diff --git a/webidl/valid/xml/iterator.widlprocxml b/webidl/valid/xml/iterator.widlprocxml deleted file mode 100644 index 8ca95fbbd17f30..00000000000000 --- a/webidl/valid/xml/iterator.widlprocxml +++ /dev/null @@ -1,132 +0,0 @@ - - - - interface SessionManager { - Session getSessionForUser(DOMString username); - readonly attribute unsigned long sessionCount; - - Session iterator; -}; - -interface Session { - readonly attribute DOMString username; -}; - -interface SessionManager2 { - Session2 getSessionForUser(DOMString username); - readonly attribute unsigned long sessionCount; - - Session2 iterator = SessionIterator; -}; - -interface Session2 { - readonly attribute DOMString username; -}; - -interface SessionIterator { - readonly attribute unsigned long remainingSessions; -}; - - interface NodeList { - Node iterator = NodeIterator; - }; - - interface NodeIterator { - Node iterator object; - }; - - interface SessionManager { - Session getSessionForUser(DOMString username); - readonly attribute unsigned long sessionCount; - - Session iterator; -}; - - Session getSessionForUser(DOMString username); - - - - - - - - - readonly attribute unsigned long sessionCount; - - - - Session iterator; - - - - - interface Session { - readonly attribute DOMString username; -}; - - readonly attribute DOMString username; - - - - - interface SessionManager2 { - Session2 getSessionForUser(DOMString username); - readonly attribute unsigned long sessionCount; - - Session2 iterator = SessionIterator; -}; - - Session2 getSessionForUser(DOMString username); - - - - - - - - - readonly attribute unsigned long sessionCount; - - - - Session2 iterator = SessionIterator; - - - - - interface Session2 { - readonly attribute DOMString username; -}; - - readonly attribute DOMString username; - - - - - interface SessionIterator { - readonly attribute unsigned long remainingSessions; -}; - - readonly attribute unsigned long remainingSessions; - - - - - interface NodeList { - Node iterator = NodeIterator; - }; - - Node iterator = NodeIterator; - - - - - interface NodeIterator { - Node iterator object; - }; - - Node iterator object; - - - - diff --git a/webidl/valid/xml/module.widlprocxml b/webidl/valid/xml/module.widlprocxml deleted file mode 100644 index b575b8705afac0..00000000000000 --- a/webidl/valid/xml/module.widlprocxml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - module gfx { - - module geom { - interface Shape { }; - interface Rectangle : Shape { }; - interface Path : Shape { }; - }; - - interface GraphicsContext { - void fillShape(geom::Shape s); - void strokeShape(geom::Shape s); - }; -}; - - module geom { - interface Shape { }; - interface Rectangle : Shape { }; - interface Path : Shape { }; - }; - - interface Shape { }; - - - interface Rectangle : Shape { }; - - - - - - interface Path : Shape { }; - - - - - - - interface GraphicsContext { - void fillShape(geom::Shape s); - void strokeShape(geom::Shape s); - }; - - void fillShape(geom::Shape s); - - - - - - - - - void strokeShape(geom::Shape s); - - - - - - - - - - - module gui { - - interface Widget { }; - - interface Window : Widget { - gfx::GraphicsContext getGraphicsContext(); - }; - - interface Button : Widget { }; -}; - - interface Widget { }; - - - interface Window : Widget { - gfx::GraphicsContext getGraphicsContext(); - }; - - - - - gfx::GraphicsContext getGraphicsContext(); - - - - - - interface Button : Widget { }; - - - - - - diff --git a/webidl/valid/xml/namedconstructor.widlprocxml b/webidl/valid/xml/namedconstructor.widlprocxml deleted file mode 100644 index 9f6616128798ce..00000000000000 --- a/webidl/valid/xml/namedconstructor.widlprocxml +++ /dev/null @@ -1,30 +0,0 @@ - - - - [NamedConstructor=Audio, - NamedConstructor=Audio(DOMString src)] -interface HTMLAudioElement : HTMLMediaElement { -}; - - [NamedConstructor=Audio, - NamedConstructor=Audio(DOMString src)] -interface HTMLAudioElement : HTMLMediaElement { -}; - - - NamedConstructor - - - NamedConstructor=Audio(DOMString src) - - - - - - - - - - - - diff --git a/webidl/valid/xml/namespaceobject.widlprocxml b/webidl/valid/xml/namespaceobject.widlprocxml deleted file mode 100644 index af0cde93719964..00000000000000 --- a/webidl/valid/xml/namespaceobject.widlprocxml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - [NamespaceObject] -module acme { - - exception DeviceException { }; - - module pim { - - [Constructor] - interface Contact { }; - - [Constructor, - NamedConstructor=RecurringEvent(long freq)] - interface CalendarEvent { }; - }; -}; - - - - - exception DeviceException { }; - - - module pim { - - [Constructor] - interface Contact { }; - - [Constructor, - NamedConstructor=RecurringEvent(long freq)] - interface CalendarEvent { }; - }; - - [Constructor] - interface Contact { }; - - - - - - [Constructor, - NamedConstructor=RecurringEvent(long freq)] - interface CalendarEvent { }; - - - - - - - - - - - - - - diff --git a/webidl/valid/xml/nointerfaceobject.widlprocxml b/webidl/valid/xml/nointerfaceobject.widlprocxml deleted file mode 100644 index f64f116b60fb8e..00000000000000 --- a/webidl/valid/xml/nointerfaceobject.widlprocxml +++ /dev/null @@ -1,28 +0,0 @@ - - - - [NoInterfaceObject] -interface Query { - any lookupEntry(unsigned long key); -}; - - [NoInterfaceObject] -interface Query { - any lookupEntry(unsigned long key); -}; - - - NoInterfaceObject - - - - any lookupEntry(unsigned long key); - - - - - - - - - diff --git a/webidl/valid/xml/nullable.widlprocxml b/webidl/valid/xml/nullable.widlprocxml deleted file mode 100644 index 8739e443262a62..00000000000000 --- a/webidl/valid/xml/nullable.widlprocxml +++ /dev/null @@ -1,29 +0,0 @@ - - - - interface MyConstants { - const boolean? ARE_WE_THERE_YET = false; -}; - -interface Node { - readonly attribute DOMString? namespaceURI; -}; - - interface MyConstants { - const boolean? ARE_WE_THERE_YET = false; -}; - - const boolean? ARE_WE_THERE_YET = false; - - - - - interface Node { - readonly attribute DOMString? namespaceURI; -}; - - readonly attribute DOMString? namespaceURI; - - - - diff --git a/webidl/valid/xml/nullableobjects.widlprocxml b/webidl/valid/xml/nullableobjects.widlprocxml deleted file mode 100644 index 22d9fdd25d67c6..00000000000000 --- a/webidl/valid/xml/nullableobjects.widlprocxml +++ /dev/null @@ -1,46 +0,0 @@ - - - - interface A { -}; -interface B { -}; -interface C { - void f(A? x); - void f(B? x); - -}; - - interface A { -}; - - - interface B { -}; - - - interface C { - void f(A? x); - void f(B? x); - -}; - - void f(A? x); - - - - - - - - - void f(B? x); - - - - - - - - - diff --git a/webidl/valid/xml/operation-optional-arg.widlprocxml b/webidl/valid/xml/operation-optional-arg.widlprocxml deleted file mode 100644 index 54aef1f87e3870..00000000000000 --- a/webidl/valid/xml/operation-optional-arg.widlprocxml +++ /dev/null @@ -1,30 +0,0 @@ - - - - interface ColorCreator { - object createColor(float v1, float v2, float v3, optional float alpha = 3.5); -}; - - interface ColorCreator { - object createColor(float v1, float v2, float v3, optional float alpha = 3.5); -}; - - object createColor(float v1, float v2, float v3, optional float alpha = 3.5); - - - - - - - - - - - - - - - - - - diff --git a/webidl/valid/xml/overloading.widlprocxml b/webidl/valid/xml/overloading.widlprocxml deleted file mode 100644 index db6da7a68c779c..00000000000000 --- a/webidl/valid/xml/overloading.widlprocxml +++ /dev/null @@ -1,113 +0,0 @@ - - - - interface A { -}; - -interface B { -}; - -interface C { - void f(A x); - void f(B x); -}; - -interface A { -void f(DOMString a); -void f([AllowAny] DOMString a, DOMString b, float... c); -void f(); -void f(long a, DOMString b, optional DOMString c, float... d); -}; - - interface A { -}; - - - interface B { -}; - - - interface C { - void f(A x); - void f(B x); -}; - - void f(A x); - - - - - - - - - void f(B x); - - - - - - - - - - interface A { -void f(DOMString a); -void f([AllowAny] DOMString a, DOMString b, float... c); -void f(); -void f(long a, DOMString b, optional DOMString c, float... d); -}; - - void f(DOMString a); - - - - - - - - - void f([AllowAny] DOMString a, DOMString b, float... c); - - - - - - AllowAny - - - - - - - - - - - - - - void f(); - - - - - void f(long a, DOMString b, optional DOMString c, float... d); - - - - - - - - - - - - - - - - - - diff --git a/webidl/valid/xml/overridebuiltins.widlprocxml b/webidl/valid/xml/overridebuiltins.widlprocxml deleted file mode 100644 index 56c92517beb68d..00000000000000 --- a/webidl/valid/xml/overridebuiltins.widlprocxml +++ /dev/null @@ -1,34 +0,0 @@ - - - - [OverrideBuiltins] -interface StringMap2 { - readonly attribute unsigned long length; - getter DOMString lookup(DOMString key); -}; - - [OverrideBuiltins] -interface StringMap2 { - readonly attribute unsigned long length; - getter DOMString lookup(DOMString key); -}; - - - OverrideBuiltins - - - - readonly attribute unsigned long length; - - - - getter DOMString lookup(DOMString key); - - - - - - - - - diff --git a/webidl/valid/xml/partial-interface.widlprocxml b/webidl/valid/xml/partial-interface.widlprocxml deleted file mode 100644 index 8d7dcb4e4f7868..00000000000000 --- a/webidl/valid/xml/partial-interface.widlprocxml +++ /dev/null @@ -1,29 +0,0 @@ - - - - interface Foo { - attribute DOMString bar; -}; - -partial interface Foo { - attribute DOMString quux; -}; - - interface Foo { - attribute DOMString bar; -}; - - attribute DOMString bar; - - - - - partial interface Foo { - attribute DOMString quux; -}; - - attribute DOMString quux; - - - - diff --git a/webidl/valid/xml/primitives.widlprocxml b/webidl/valid/xml/primitives.widlprocxml deleted file mode 100644 index 46977a2d74e574..00000000000000 --- a/webidl/valid/xml/primitives.widlprocxml +++ /dev/null @@ -1,112 +0,0 @@ - - - - interface Primitives { - attribute boolean truth; - attribute byte character; - attribute octet value; - attribute short number; - attribute unsigned short positive; - attribute long big; - attribute unsigned long bigpositive; - attribute long long bigbig; - attribute unsigned long long bigbigpositive; - attribute float real; - attribute double bigreal; - attribute unrestricted float realwithinfinity; - attribute unrestricted double bigrealwithinfinity; - attribute DOMString string; - attribute ByteString bytes; - attribute Date date; - attribute RegExp regexp; -}; - - interface Primitives { - attribute boolean truth; - attribute byte character; - attribute octet value; - attribute short number; - attribute unsigned short positive; - attribute long big; - attribute unsigned long bigpositive; - attribute long long bigbig; - attribute unsigned long long bigbigpositive; - attribute float real; - attribute double bigreal; - attribute unrestricted float realwithinfinity; - attribute unrestricted double bigrealwithinfinity; - attribute DOMString string; - attribute ByteString bytes; - attribute Date date; - attribute RegExp regexp; -}; - - attribute boolean truth; - - - - attribute byte character; - - - - attribute octet value; - - - - attribute short number; - - - - attribute unsigned short positive; - - - - attribute long big; - - - - attribute unsigned long bigpositive; - - - - attribute long long bigbig; - - - - attribute unsigned long long bigbigpositive; - - - - attribute float real; - - - - attribute double bigreal; - - - - attribute unrestricted float realwithinfinity; - - - - attribute unrestricted double bigrealwithinfinity; - - - - attribute DOMString string; - - - - attribute ByteString bytes; - - - - attribute Date date; - - - - attribute RegExp regexp; - - - - diff --git a/webidl/valid/xml/prototyperoot.widlprocxml b/webidl/valid/xml/prototyperoot.widlprocxml deleted file mode 100644 index 2e56cd75ec38a0..00000000000000 --- a/webidl/valid/xml/prototyperoot.widlprocxml +++ /dev/null @@ -1,23 +0,0 @@ - - - - [PrototypeRoot] -interface Node { - readonly attribute unsigned short nodeType; -}; - - [PrototypeRoot] -interface Node { - readonly attribute unsigned short nodeType; -}; - - - PrototypeRoot - - - - readonly attribute unsigned short nodeType; - - - - diff --git a/webidl/valid/xml/putforwards.widlprocxml b/webidl/valid/xml/putforwards.widlprocxml deleted file mode 100644 index 634fad55a56d53..00000000000000 --- a/webidl/valid/xml/putforwards.widlprocxml +++ /dev/null @@ -1,27 +0,0 @@ - - - - interface Person { - [PutForwards=full] readonly attribute Name name; - attribute unsigned short age; -}; - - interface Person { - [PutForwards=full] readonly attribute Name name; - attribute unsigned short age; -}; - - [PutForwards=full] readonly attribute Name name; - - - PutForwards - - - - - - attribute unsigned short age; - - - - diff --git a/webidl/valid/xml/reg-operations.widlprocxml b/webidl/valid/xml/reg-operations.widlprocxml deleted file mode 100644 index 3b756ed68d894b..00000000000000 --- a/webidl/valid/xml/reg-operations.widlprocxml +++ /dev/null @@ -1,70 +0,0 @@ - - - - interface Dimensions { - attribute unsigned long width; - attribute unsigned long height; -}; - -exception NoPointerDevice { }; - -interface Button { - - boolean isMouseOver(); - - void setDimensions(Dimensions size); - void setDimensions(unsigned long width, unsigned long height); -}; - - interface Dimensions { - attribute unsigned long width; - attribute unsigned long height; -}; - - attribute unsigned long width; - - - - attribute unsigned long height; - - - - - exception NoPointerDevice { }; - - - interface Button { - - boolean isMouseOver(); - - void setDimensions(Dimensions size); - void setDimensions(unsigned long width, unsigned long height); -}; - - boolean isMouseOver(); - - - - - void setDimensions(Dimensions size); - - - - - - - - - void setDimensions(unsigned long width, unsigned long height); - - - - - - - - - - - - diff --git a/webidl/valid/xml/replaceable.widlprocxml b/webidl/valid/xml/replaceable.widlprocxml deleted file mode 100644 index f9762166825aa4..00000000000000 --- a/webidl/valid/xml/replaceable.widlprocxml +++ /dev/null @@ -1,28 +0,0 @@ - - - - interface Counter { - [Replaceable] readonly attribute unsigned long value; - void increment(); -}; - - interface Counter { - [Replaceable] readonly attribute unsigned long value; - void increment(); -}; - - [Replaceable] readonly attribute unsigned long value; - - - Replaceable - - - - - - void increment(); - - - - - diff --git a/webidl/valid/xml/sequence.widlprocxml b/webidl/valid/xml/sequence.widlprocxml deleted file mode 100644 index d5f4564175b93b..00000000000000 --- a/webidl/valid/xml/sequence.widlprocxml +++ /dev/null @@ -1,32 +0,0 @@ - - - - interface Canvas { - void drawPolygon(sequence<float> coordinates); - sequence<float> getInflectionPoints(); -}; - - interface Canvas { - void drawPolygon(sequence<float> coordinates); - sequence<float> getInflectionPoints(); -}; - - void drawPolygon(sequence<float> coordinates); - - - - - - - - - - - sequence<float> getInflectionPoints(); - - - - - - - diff --git a/webidl/valid/xml/serializer.widlprocxml b/webidl/valid/xml/serializer.widlprocxml deleted file mode 100644 index eb4219f8a5e257..00000000000000 --- a/webidl/valid/xml/serializer.widlprocxml +++ /dev/null @@ -1,296 +0,0 @@ - - - - interface Transaction { - readonly attribute Account from; - readonly attribute Account to; - readonly attribute float amount; - readonly attribute DOMString description; - readonly attribute unsigned long number; - - serializer; -}; - -interface Account { - attribute DOMString name; - attribute unsigned long number; - serializer DOMString serialize(); -}; - -interface Transaction2 { - readonly attribute Account2 from; - readonly attribute Account2 to; - readonly attribute float amount; - readonly attribute DOMString description; - readonly attribute unsigned long number; - - serializer = { from, to, amount, description }; -}; - -interface Account2 { - attribute DOMString name; - attribute unsigned long number; - serializer = number; -}; - -interface Account3 { - attribute DOMString name; - attribute unsigned long number; - - serializer = { attribute }; -}; - -interface Account4 { - getter object getItem(unsigned long index); - serializer = { getter }; -}; - -interface Account5 : Account { - attribute DOMString secondname; - serializer = { inherit, secondname }; -}; - -interface Account6 : Account { - attribute DOMString secondname; - serializer = { inherit, attribute }; -}; - -interface Account7 { - attribute DOMString name; - attribute unsigned long number; - serializer = [ name, number ]; -}; - -interface Account8 { - getter object getItem(unsigned long index); - serializer = [ getter ]; -}; - - interface Transaction { - readonly attribute Account from; - readonly attribute Account to; - readonly attribute float amount; - readonly attribute DOMString description; - readonly attribute unsigned long number; - - serializer; -}; - - readonly attribute Account from; - - - - readonly attribute Account to; - - - - readonly attribute float amount; - - - - readonly attribute DOMString description; - - - - readonly attribute unsigned long number; - - - - serializer; - - - - interface Account { - attribute DOMString name; - attribute unsigned long number; - serializer DOMString serialize(); -}; - - attribute DOMString name; - - - - attribute unsigned long number; - - - - serializer DOMString serialize(); - - - - - - interface Transaction2 { - readonly attribute Account2 from; - readonly attribute Account2 to; - readonly attribute float amount; - readonly attribute DOMString description; - readonly attribute unsigned long number; - - serializer = { from, to, amount, description }; -}; - - readonly attribute Account2 from; - - - - readonly attribute Account2 to; - - - - readonly attribute float amount; - - - - readonly attribute DOMString description; - - - - readonly attribute unsigned long number; - - - - serializer = { from, to, amount, description }; - - - - - - - - - - interface Account2 { - attribute DOMString name; - attribute unsigned long number; - serializer = number; -}; - - attribute DOMString name; - - - - attribute unsigned long number; - - - - serializer = number; - - - - interface Account3 { - attribute DOMString name; - attribute unsigned long number; - - serializer = { attribute }; -}; - - attribute DOMString name; - - - - attribute unsigned long number; - - - - serializer = { attribute }; - - - - - interface Account4 { - getter object getItem(unsigned long index); - serializer = { getter }; -}; - - getter object getItem(unsigned long index); - - - - - - - - - serializer = { getter }; - - - - - interface Account5 : Account { - attribute DOMString secondname; - serializer = { inherit, secondname }; -}; - - - - - attribute DOMString secondname; - - - - serializer = { inherit, secondname }; - - - - - - - interface Account6 : Account { - attribute DOMString secondname; - serializer = { inherit, attribute }; -}; - - - - - attribute DOMString secondname; - - - - serializer = { inherit, attribute }; - - - - - interface Account7 { - attribute DOMString name; - attribute unsigned long number; - serializer = [ name, number ]; -}; - - attribute DOMString name; - - - - attribute unsigned long number; - - - - serializer = [ name, number ]; - - - - - - - - interface Account8 { - getter object getItem(unsigned long index); - serializer = [ getter ]; -}; - - getter object getItem(unsigned long index); - - - - - - - - - serializer = [ getter ]; - - - - diff --git a/webidl/valid/xml/special-omittable.widlprocxml b/webidl/valid/xml/special-omittable.widlprocxml deleted file mode 100644 index 1986d190a80cdd..00000000000000 --- a/webidl/valid/xml/special-omittable.widlprocxml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - interface Dictionary { - readonly attribute unsigned long propertyCount; - - omittable getter float getProperty(DOMString propertyName); - omittable setter void setProperty(DOMString propertyName, float propertyValue); -}; - - readonly attribute unsigned long propertyCount; - - - - omittable getter float getProperty(DOMString propertyName); - - - - - - - - - omittable setter void setProperty(DOMString propertyName, float propertyValue); - - - - - - - - - - - - diff --git a/webidl/valid/xml/static.widlprocxml b/webidl/valid/xml/static.widlprocxml deleted file mode 100644 index 03c14e16eba8c3..00000000000000 --- a/webidl/valid/xml/static.widlprocxml +++ /dev/null @@ -1,58 +0,0 @@ - - - - interface Point { }; - -interface Circle { - attribute float cx; - attribute float cy; - attribute float radius; - - static readonly attribute long triangulationCount; - static Point triangulate(Circle c1, Circle c2, Circle c3); -}; - - interface Point { }; - - - interface Circle { - attribute float cx; - attribute float cy; - attribute float radius; - - static readonly attribute long triangulationCount; - static Point triangulate(Circle c1, Circle c2, Circle c3); -}; - - attribute float cx; - - - - attribute float cy; - - - - attribute float radius; - - - - static readonly attribute long triangulationCount; - - - - static Point triangulate(Circle c1, Circle c2, Circle c3); - - - - - - - - - - - - - - - diff --git a/webidl/valid/xml/stringifier-attribute.widlprocxml b/webidl/valid/xml/stringifier-attribute.widlprocxml deleted file mode 100644 index 082ce4d341bbf4..00000000000000 --- a/webidl/valid/xml/stringifier-attribute.widlprocxml +++ /dev/null @@ -1,29 +0,0 @@ - - - - [Constructor] -interface Student { - attribute unsigned long id; - stringifier attribute DOMString name; -}; - - [Constructor] -interface Student { - attribute unsigned long id; - stringifier attribute DOMString name; -}; - - - Constructor - - - - attribute unsigned long id; - - - - stringifier attribute DOMString name; - - - - diff --git a/webidl/valid/xml/stringifier-custom.widlprocxml b/webidl/valid/xml/stringifier-custom.widlprocxml deleted file mode 100644 index cdab1ccfc37c1a..00000000000000 --- a/webidl/valid/xml/stringifier-custom.widlprocxml +++ /dev/null @@ -1,44 +0,0 @@ - - - - [Constructor] -interface Student { - attribute unsigned long id; - attribute DOMString? familyName; - attribute DOMString givenName; - - stringifier DOMString (); -}; - - [Constructor] -interface Student { - attribute unsigned long id; - attribute DOMString? familyName; - attribute DOMString givenName; - - stringifier DOMString (); -}; - - - Constructor - - - - attribute unsigned long id; - - - - attribute DOMString? familyName; - - - - attribute DOMString givenName; - - - - stringifier DOMString (); - - - - - diff --git a/webidl/valid/xml/stringifier.widlprocxml b/webidl/valid/xml/stringifier.widlprocxml deleted file mode 100644 index 4a18b80b704b4f..00000000000000 --- a/webidl/valid/xml/stringifier.widlprocxml +++ /dev/null @@ -1,29 +0,0 @@ - - - - interface A { - stringifier DOMString (); -}; - -interface A { - stringifier; -}; - - interface A { - stringifier DOMString (); -}; - - stringifier DOMString (); - - - - - - interface A { - stringifier; -}; - - stringifier; - - - diff --git a/webidl/valid/xml/treatasnull.widlprocxml b/webidl/valid/xml/treatasnull.widlprocxml deleted file mode 100644 index a57ae163f0b987..00000000000000 --- a/webidl/valid/xml/treatasnull.widlprocxml +++ /dev/null @@ -1,40 +0,0 @@ - - - - interface Dog { - attribute DOMString name; - attribute DOMString owner; - - boolean isMemberOfBreed([TreatNullAs=EmptyString] DOMString breedName); -}; - - interface Dog { - attribute DOMString name; - attribute DOMString owner; - - boolean isMemberOfBreed([TreatNullAs=EmptyString] DOMString breedName); -}; - - attribute DOMString name; - - - - attribute DOMString owner; - - - - boolean isMemberOfBreed([TreatNullAs=EmptyString] DOMString breedName); - - - - - - TreatNullAs - - - - - - - - diff --git a/webidl/valid/xml/treatasundefined.widlprocxml b/webidl/valid/xml/treatasundefined.widlprocxml deleted file mode 100644 index 17e71081da036b..00000000000000 --- a/webidl/valid/xml/treatasundefined.widlprocxml +++ /dev/null @@ -1,40 +0,0 @@ - - - - interface Cat { - attribute DOMString name; - attribute DOMString owner; - - boolean isMemberOfBreed([TreatUndefinedAs=EmptyString] DOMString breedName); -}; - - interface Cat { - attribute DOMString name; - attribute DOMString owner; - - boolean isMemberOfBreed([TreatUndefinedAs=EmptyString] DOMString breedName); -}; - - attribute DOMString name; - - - - attribute DOMString owner; - - - - boolean isMemberOfBreed([TreatUndefinedAs=EmptyString] DOMString breedName); - - - - - - TreatUndefinedAs - - - - - - - - diff --git a/webidl/valid/xml/typedef.widlprocxml b/webidl/valid/xml/typedef.widlprocxml deleted file mode 100644 index 785f6706e6d675..00000000000000 --- a/webidl/valid/xml/typedef.widlprocxml +++ /dev/null @@ -1,100 +0,0 @@ - - - - interface Point { - attribute float x; - attribute float y; - }; - - typedef sequence<Point> PointSequence; - - interface Rect { - attribute Point topleft; - attribute Point bottomright; - }; - - interface Widget { - - readonly attribute Rect bounds; - - boolean pointWithinBounds(Point p); - boolean allPointsWithinBounds(PointSequence ps); - }; - - typedef [Clamp] octet value; - - interface Point { - attribute float x; - attribute float y; - }; - - attribute float x; - - - - attribute float y; - - - - - typedef sequence<Point> PointSequence; - - - - - - interface Rect { - attribute Point topleft; - attribute Point bottomright; - }; - - attribute Point topleft; - - - - attribute Point bottomright; - - - - - interface Widget { - - readonly attribute Rect bounds; - - boolean pointWithinBounds(Point p); - boolean allPointsWithinBounds(PointSequence ps); - }; - - readonly attribute Rect bounds; - - - - boolean pointWithinBounds(Point p); - - - - - - - - - boolean allPointsWithinBounds(PointSequence ps); - - - - - - - - - - typedef [Clamp] octet value; - - - - Clamp - - - - - diff --git a/webidl/valid/xml/typesuffixes.widlprocxml b/webidl/valid/xml/typesuffixes.widlprocxml deleted file mode 100644 index 830fe62bc0df11..00000000000000 --- a/webidl/valid/xml/typesuffixes.widlprocxml +++ /dev/null @@ -1,25 +0,0 @@ - - - - interface Suffixes { - void test(sequence<DOMString[]?>? foo); -}; - - interface Suffixes { - void test(sequence<DOMString[]?>? foo); -}; - - void test(sequence<DOMString[]?>? foo); - - - - - - - - - - - - - diff --git a/webidl/valid/xml/uniontype.widlprocxml b/webidl/valid/xml/uniontype.widlprocxml deleted file mode 100644 index 7d088079956a11..00000000000000 --- a/webidl/valid/xml/uniontype.widlprocxml +++ /dev/null @@ -1,26 +0,0 @@ - - - - interface Union { - attribute (float or (Date or Event) or (Node or DOMString)?) test; -}; - - interface Union { - attribute (float or (Date or Event) or (Node or DOMString)?) test; -}; - - attribute (float or (Date or Event) or (Node or DOMString)?) test; - - - - - - - - - - - - - - diff --git a/webidl/valid/xml/variadic-operations.widlprocxml b/webidl/valid/xml/variadic-operations.widlprocxml deleted file mode 100644 index 0bc9f784413785..00000000000000 --- a/webidl/valid/xml/variadic-operations.widlprocxml +++ /dev/null @@ -1,40 +0,0 @@ - - - - interface IntegerSet { - readonly attribute unsigned long cardinality; - - void union(long... ints); - void intersection(long... ints); -}; - - interface IntegerSet { - readonly attribute unsigned long cardinality; - - void union(long... ints); - void intersection(long... ints); -}; - - readonly attribute unsigned long cardinality; - - - - void union(long... ints); - - - - - - - - - void intersection(long... ints); - - - - - - - - -