// 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<float> coordinates); | |
sequence<float> getInflectionPoints(); | |
// ... | |
}; | |
// Make sure sequence can still be registered as a type. | |
interface Foo { | |
sequence bar(); | |
}; |