Update web-platform-tests to revision 7da6acfd668e66adae5ab4e2d389810d3b1460be

This commit is contained in:
James Graham
2015-10-05 17:15:15 +01:00
parent 50db64a20e
commit bae87d193d
307 changed files with 35826 additions and 209 deletions

View File

@@ -2,4 +2,6 @@ callback AsyncOperationCallback = void (DOMString status);
callback interface EventHandler {
void eventOccurred(DOMString details);
};
};
callback SortCallback = boolean (any a, any b);

View File

@@ -3,6 +3,10 @@ dictionary PaintOptions {
DOMString? fillPattern = "black";
DOMString? strokePattern = null;
Point position;
// https://heycam.github.io/webidl/#dfn-optional-argument-default-value allows sequences to default to "[]".
sequence<long> seq = [];
// https://heycam.github.io/webidl/#required-dictionary-member
required long reqSeq;
};
partial dictionary A {

View File

@@ -5,4 +5,6 @@ interface Meal {
attribute float size; // in grams
void initialize(MealType type, float size);
};
};
enum AltMealType { "rice", "noodles", "other", };

View File

@@ -0,0 +1,6 @@
// Extracted from http://www.w3.org/TR/2015/WD-service-workers-20150205/
[Global=(Worker,ServiceWorker), Exposed=ServiceWorker]
interface ServiceWorkerGlobalScope : WorkerGlobalScope {
};

View File

@@ -1,5 +1,6 @@
interface Foo {
Promise<ResponsePromise<sequence<DOMString?>>> bar();
readonly attribute Promise<DOMString>[] baz;
};
// Extracted from https://slightlyoff.github.io/ServiceWorker/spec/service_worker/ on 2014-05-08
@@ -14,4 +15,3 @@ interface ServiceWorkerClients {
interface FetchEvent : Event {
ResponsePromise<any> default();
};

View File

@@ -0,0 +1,7 @@
interface IterableOne {
iterable<long>;
};
interface IterableTwo {
iterable<short, double?>;
};

View File

@@ -0,0 +1,3 @@
interface LegacyIterable {
legacyiterable<long>;
};

View File

@@ -0,0 +1,7 @@
interface MapLike {
maplike<long, float>;
};
interface ReadOnlyMapLike {
readonly maplike<long, float>;
};

View File

@@ -0,0 +1,7 @@
interface SetLike {
setlike<long>;
};
interface ReadOnlySetLike {
readonly setlike<long>;
};

View File

@@ -0,0 +1,22 @@
interface Point {
attribute float x;
attribute float y;
};
interface Rect {
attribute Point topleft;
attribute Point bottomright;
};
interface Widget {
typedef sequence<Point> PointSequence;
readonly attribute Rect bounds;
boolean pointWithinBounds(Point p);
boolean allPointsWithinBounds(PointSequence ps);
};
typedef [Clamp] octet value;