зеркало из https://github.com/mozilla/gecko-dev.git
Bug 933585 - WebIDL changes for Uint8Array. r=khuey
This commit is contained in:
Родитель
6fc4849635
Коммит
230f8560f2
2
CLOBBER
2
CLOBBER
|
@ -18,4 +18,4 @@
|
|||
# Modifying this file will now automatically clobber the buildbot machines \o/
|
||||
#
|
||||
|
||||
Bug 947080 - bug 937317 required clobber on windows
|
||||
Bug 933585 - clobber required on windows
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
/* Copyright © 2013 Deutsche Telekom, Inc. */
|
||||
|
||||
[Constructor(octet tnf, DOMString type, DOMString id, DOMString payload)]
|
||||
[Constructor(octet tnf, Uint8Array type, Uint8Array id, Uint8Array payload)]
|
||||
interface MozNdefRecord
|
||||
{
|
||||
/**
|
||||
|
@ -19,20 +19,25 @@ interface MozNdefRecord
|
|||
* tnf_unchanged: 0x06
|
||||
* tnf_reserved: 0x07
|
||||
*/
|
||||
[Constant]
|
||||
readonly attribute octet tnf;
|
||||
|
||||
/**
|
||||
* type - Describes the content of the payload. This can be a mime type.
|
||||
*/
|
||||
readonly attribute DOMString type;
|
||||
[Constant]
|
||||
readonly attribute Uint8Array type;
|
||||
|
||||
/**
|
||||
* id - Identifer is application dependent.
|
||||
*/
|
||||
readonly attribute DOMString id;
|
||||
[Constant]
|
||||
readonly attribute Uint8Array id;
|
||||
|
||||
/**
|
||||
* payload - Binary data blob. The meaning of this field is application dependent.
|
||||
* payload - Binary data blob. The meaning of this field is application
|
||||
* dependent.
|
||||
*/
|
||||
readonly attribute DOMString payload;
|
||||
[Constant]
|
||||
readonly attribute Uint8Array payload;
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче