OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 // FIXME: close() method which is necessary for Stream building feature | 31 // FIXME: close() method which is necessary for Stream building feature |
32 // is omitted for now. Add it when necessary. | 32 // is omitted for now. Add it when necessary. |
33 // | 33 // |
34 // FIXME: Add a flag to indicate if this stream frees memory when read or not | 34 // FIXME: Add a flag to indicate if this stream frees memory when read or not |
35 // (e.g. boolean isReadOnce()). | 35 // (e.g. boolean isReadOnce()). |
36 // | 36 // |
37 // FIXME: Make the Blob a subclass of the Stream. | 37 // FIXME: Make the Blob a subclass of the Stream. |
38 | 38 |
39 [ | 39 [ |
40 EnabledAtRuntime=Stream | 40 RuntimeEnabled=Stream, |
| 41 ActiveDOMObject |
41 ] interface Stream { | 42 ] interface Stream { |
42 readonly attribute DOMString type; | 43 readonly attribute DOMString type; |
43 }; | 44 }; |
OLD | NEW |