Bug 933585 - WebIDL changes for Uint8Array. r=khuey

This commit is contained in:
Arno Puder 2013-11-08 15:04:47 -08:00
parent c1b1bfe5ff
commit 0f42abb026
2 changed files with 11 additions and 6 deletions

View File

@ -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

View File

@ -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;
};