Update web-platform-tests to revision 28b5323e37274805b1d1416273e3a941c9c7e08e

This commit is contained in:
WPT Sync Bot 2018-06-18 21:08:01 -04:00
parent 615a127b99
commit f7775a289e
439 changed files with 8598 additions and 14793 deletions

View file

@ -0,0 +1 @@
enum Empty {};

View file

@ -0,0 +1 @@
enum NoComma { "value1" "value2" };

View file

@ -0,0 +1,2 @@
[Exposed=()]
interface Unexposed {};

View file

@ -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;

View file

@ -0,0 +1,3 @@
namespace CSS {
attribute object readwrite;
};

View file

@ -1,5 +1,6 @@
interface Foo {};
interface NonNullable {
attribute Foo?? foo;
};
attribute Foo??
foo;
};

View file

@ -0,0 +1,4 @@
interface X {
attribute Promise<void>?
promise;
};

View file

@ -0,0 +1,3 @@
interface Foo {
void foo(record<DOMString> param);
};

View file

@ -0,0 +1,3 @@
interface X {
const float infinity = - Infinity;
};

View file

@ -0,0 +1,3 @@
interface X {
void operation(object . . . args);
};

View file

@ -0,0 +1 @@
typedef (One or Two or) UnionOr;

View file

@ -0,0 +1 @@
typedef (OnlyOne) UnionOne;

View file

@ -0,0 +1 @@
typedef () UnionZero;

View file

@ -0,0 +1,3 @@
interface FetchEvent : Event {
ResponsePromise<any> default();
};

View file

@ -0,0 +1,4 @@
{
"message": "Got an error during or right after parsing `enum Empty`: No value in enum",
"line": 1
}

View file

@ -0,0 +1,4 @@
{
"message": "Got an error during or right after parsing `enum NoComma`: No comma between enum values",
"line": 1
}

View file

@ -0,0 +1,4 @@
{
"message": "Got an error before parsing any named definition: Expected identifiers but not found",
"line": 1
}

View file

@ -0,0 +1,4 @@
{
"message": "Got an error before parsing any named definition: No name for interface",
"line": 1
}

View file

@ -0,0 +1,4 @@
{
"message": "Got an error before parsing any named definition: Unrecognised tokens",
"line": 4
}

View file

@ -0,0 +1,4 @@
{
"message": "Got an error during or right after parsing `namespace CSS`: Attributes must be readonly in this context",
"line": 2
}

View file

@ -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
}

View file

@ -0,0 +1,4 @@
{
"message": "Got an error during or right after parsing `interface X`: Promise type cannot be nullable",
"line": 2
}

View file

@ -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
}

View file

@ -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
}

View file

@ -0,0 +1,4 @@
{
"message": "Got an error during or right after parsing `interface Foo`: Missing comma after record key type",
"line": 2
}

View file

@ -0,0 +1,4 @@
{
"message": "Got an error during or right after parsing `interface X`: No value for const",
"line": 2
}

View file

@ -0,0 +1,4 @@
{
"message": "Got an error during or right after parsing `interface X`: Unterminated operation",
"line": 2
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}

View file

@ -0,0 +1,4 @@
{
"message": "Got an error during or right after parsing `interface FetchEvent`: Unsupported generic type ResponsePromise",
"line": 2
}