Confirmed users
368
edits
(→Notes: updated and clearer) |
(→Proposed API: add onchange) |
||
Line 24: | Line 24: | ||
// Estimated bandwidth (in MB/s) of the current connection. | // Estimated bandwidth (in MB/s) of the current connection. | ||
readonly attribute double bandwidth; | readonly attribute double bandwidth; | ||
// Return whether the current connection is metered (like quota limitation, pay per use, etc.). | // Return whether the current connection is metered (like quota limitation, pay per use, etc.). | ||
readonly attribute boolean metered; | readonly attribute boolean metered; | ||
// A 'change' event is fired when one of the previous attributes is changed. | |||
attribute Function onchange; | |||
} | } | ||