mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-10-09 16:55:15 +00:00
18 lines
502 B
Plaintext
18 lines
502 B
Plaintext
|
// 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;
|
||
|
};
|