mirror of
https://github.com/servo/servo.git
synced 2025-08-23 22:35:33 +01:00
Update web-platform-tests to revision 0d318188757a9c996e20b82db201fd04de5aa255
This commit is contained in:
parent
b2a5225831
commit
1a81b18b9f
12321 changed files with 544385 additions and 6 deletions
18
tests/wpt/web-platform-tests/WebIDL/valid/idl/constants.widl
Normal file
18
tests/wpt/web-platform-tests/WebIDL/valid/idl/constants.widl
Normal file
|
@ -0,0 +1,18 @@
|
|||
// 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;
|
||||
};
|
||||
|
||||
exception Error {
|
||||
const short ERR_UNKNOWN = 0;
|
||||
const short ERR_OUT_OF_MEMORY = 1;
|
||||
|
||||
short errorCode;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue