Bug 933585 - WebIDL changes for Uint8Array. r=khuey
authorArno Puder <arno@puder.org>
Fri, 08 Nov 2013 15:04:47 -0800
changeset 159207 374158c7f9a6f516113acee2abc535367b7e1b3b
parent 159206 b4d9c56e18a8ce319b04150a06c34ee9e67af257
child 159208 b237796ae6e599394a99a77c7955fd158804fb77
push id25776
push userryanvm@gmail.com
push dateFri, 06 Dec 2013 20:56:42 +0000
treeherdermozilla-central@79d1a5a93b64 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey
bugs933585
milestone28.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 933585 - WebIDL changes for Uint8Array. r=khuey
CLOBBER
dom/webidl/MozNdefRecord.webidl
--- a/CLOBBER
+++ b/CLOBBER
@@ -13,9 +13,9 @@
 #          |               |
 #          O <-- Clobber   O  <-- Clobber
 #
 # Note: The description below will be part of the error message shown to users.
 #
 # 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
--- a/dom/webidl/MozNdefRecord.webidl
+++ b/dom/webidl/MozNdefRecord.webidl
@@ -1,38 +1,43 @@
 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /* 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
 {
   /**
    * Type Name Field (3-bits) - Specifies the NDEF record type in general.
    *   tnf_empty: 0x00
    *   tnf_well_known: 0x01
    *   tnf_mime_media: 0x02
    *   tnf_absolute_uri: 0x03
    *   tnf_external type: 0x04
    *   tnf_unknown: 0x05
    *   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;
 };