mirror of
https://github.com/servo/servo.git
synced 2025-08-30 09:38:19 +01:00
Update web-platform-tests to revision 28b5323e37274805b1d1416273e3a941c9c7e08e
This commit is contained in:
parent
615a127b99
commit
f7775a289e
439 changed files with 8598 additions and 14793 deletions
|
@ -0,0 +1 @@
|
|||
enum Empty {};
|
|
@ -0,0 +1 @@
|
|||
enum NoComma { "value1" "value2" };
|
|
@ -0,0 +1,2 @@
|
|||
[Exposed=()]
|
||||
interface Unexposed {};
|
|
@ -0,0 +1 @@
|
|||
interface _0 {};
|
|
@ -0,0 +1,4 @@
|
|||
// This hits the unshifting of whitespace in the "implements" and
|
||||
// "includes" productions. If there is a bug in that whitespace
|
||||
// rollback, the wrong exception will be produced.
|
||||
foobar;
|
|
@ -0,0 +1,3 @@
|
|||
namespace CSS {
|
||||
attribute object readwrite;
|
||||
};
|
|
@ -1,5 +1,6 @@
|
|||
interface Foo {};
|
||||
|
||||
interface NonNullable {
|
||||
attribute Foo?? foo;
|
||||
};
|
||||
attribute Foo??
|
||||
foo;
|
||||
};
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
interface X {
|
||||
attribute Promise<void>?
|
||||
promise;
|
||||
};
|
|
@ -0,0 +1,3 @@
|
|||
interface Foo {
|
||||
void foo(record<DOMString> param);
|
||||
};
|
|
@ -0,0 +1,3 @@
|
|||
interface X {
|
||||
const float infinity = - Infinity;
|
||||
};
|
|
@ -0,0 +1,3 @@
|
|||
interface X {
|
||||
void operation(object . . . args);
|
||||
};
|
|
@ -0,0 +1 @@
|
|||
typedef (One or Two or) UnionOr;
|
|
@ -0,0 +1 @@
|
|||
typedef (OnlyOne) UnionOne;
|
|
@ -0,0 +1 @@
|
|||
typedef () UnionZero;
|
|
@ -0,0 +1,3 @@
|
|||
interface FetchEvent : Event {
|
||||
ResponsePromise<any> default();
|
||||
};
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"message": "Got an error during or right after parsing `enum Empty`: No value in enum",
|
||||
"line": 1
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"message": "Got an error during or right after parsing `enum NoComma`: No comma between enum values",
|
||||
"line": 1
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"message": "Got an error before parsing any named definition: Expected identifiers but not found",
|
||||
"line": 1
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"message": "Got an error before parsing any named definition: No name for interface",
|
||||
"line": 1
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"message": "Got an error before parsing any named definition: Unrecognised tokens",
|
||||
"line": 4
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"message": "Got an error during or right after parsing `namespace CSS`: Attributes must be readonly in this context",
|
||||
"line": 2
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"message": "Got an error during or right after parsing `interface NonNullable`: Can't nullable more than once"
|
||||
, "line": 4
|
||||
"message": "Got an error during or right after parsing `interface NonNullable`: Can't nullable more than once",
|
||||
"line": 4
|
||||
}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"message": "Got an error during or right after parsing `interface X`: Promise type cannot be nullable",
|
||||
"line": 2
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"message": "Got an error during or right after parsing `interface ReadonlyIterable`: Invalid operation",
|
||||
"message": "Got an error during or right after parsing `interface ReadonlyIterable`: Missing return type",
|
||||
"line": 2
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"message": "Got an error during or right after parsing `interface Foo`: Record key must be DOMString, USVString, or ByteString",
|
||||
"message": "Got an error during or right after parsing `interface Foo`: Record key must be a string type",
|
||||
"line": 2
|
||||
}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"message": "Got an error during or right after parsing `interface Foo`: Missing comma after record key type",
|
||||
"line": 2
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"message": "Got an error during or right after parsing `interface X`: No value for const",
|
||||
"line": 2
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"message": "Got an error during or right after parsing `interface X`: Unterminated operation",
|
||||
"line": 2
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"message": "Got an error during or right after parsing `interface Util`: No value for const"
|
||||
"message": "Got an error during or right after parsing `interface Util`: No type for const"
|
||||
, "line": 2
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"message": "Got an error during or right after parsing `interface Widget`: Invalid operation"
|
||||
"message": "Got an error during or right after parsing `interface Widget`: Missing return type"
|
||||
, "line": 14
|
||||
}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"message": "Got an error before parsing any named definition: No type after open parenthesis or 'or' in union type",
|
||||
"line": 1
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"message": "Got an error before parsing any named definition: At least two types are expected in a union type but found less",
|
||||
"line": 1
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"message": "Got an error before parsing any named definition: No type after open parenthesis or 'or' in union type",
|
||||
"line": 1
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"message": "Got an error during or right after parsing `interface FetchEvent`: Unsupported generic type ResponsePromise",
|
||||
"line": 2
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue