| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 interface Storage { | 26 interface Storage { |
| 27 [RaisesException, ImplementedAs=anonymousIndexedGetter, NotEnumerable] gette
r DOMString(unsigned long index); | 27 [RaisesException, ImplementedAs=anonymousIndexedGetter, NotEnumerable] gette
r DOMString(unsigned long index); |
| 28 [RaisesException, ImplementedAs=anonymousIndexedSetter] setter DOMString (un
signed long index, DOMString value); | 28 [RaisesException, ImplementedAs=anonymousIndexedSetter] setter DOMString (un
signed long index, DOMString value); |
| 29 [ImplementedAs=anonymousIndexedDeleter, RaisesException] deleter boolean (un
signed long index); | 29 [ImplementedAs=anonymousIndexedDeleter, RaisesException] deleter boolean (un
signed long index); |
| 30 [RaisesException, ImplementedAs=anonymousNamedGetter] getter DOMString(DOMSt
ring name); | 30 [RaisesException, ImplementedAs=anonymousNamedGetter] getter DOMString(DOMSt
ring name); |
| 31 [RaisesException, ImplementedAs=anonymousNamedSetter] setter DOMString(DOMSt
ring name, DOMString value); | 31 [RaisesException, ImplementedAs=anonymousNamedSetter] setter DOMString(DOMSt
ring name, DOMString value); |
| 32 [ImplementedAs=anonymousNamedDeleter, RaisesException] deleter boolean (DOMS
tring name); | 32 [ImplementedAs=anonymousNamedDeleter, RaisesException] deleter boolean (DOMS
tring name); |
| 33 [NotEnumerable, GetterRaisesException] readonly attribute unsigned long leng
th; | 33 [NotEnumerable, GetterRaisesException] readonly attribute unsigned long leng
th; |
| 34 [NotEnumerable, TreatReturnedNullStringAs=Null, RaisesException] DOMString k
ey(unsigned long index); | 34 [NotEnumerable, TreatReturnedNullStringAs=Null, RaisesException] DOMString k
ey(unsigned long index); |
| 35 [NotEnumerable, TreatReturnedNullStringAs=Null, PerWorldBindings, ActivityLo
gging=AccessForIsolatedWorlds, RaisesException] DOMString getItem(DOMString key)
; | 35 [NotEnumerable, TreatReturnedNullStringAs=Null, PerWorldBindings, ActivityLo
gging=ForIsolatedWorlds, RaisesException] DOMString getItem(DOMString key); |
| 36 [NotEnumerable, RaisesException, PerWorldBindings, ActivityLogging=AccessFor
IsolatedWorlds] void setItem(DOMString key, DOMString data); | 36 [NotEnumerable, RaisesException, PerWorldBindings, ActivityLogging=ForIsolat
edWorlds] void setItem(DOMString key, DOMString data); |
| 37 [NotEnumerable, RaisesException, PerWorldBindings, ActivityLogging=AccessFor
IsolatedWorlds] void removeItem(DOMString key); | 37 [NotEnumerable, RaisesException, PerWorldBindings, ActivityLogging=ForIsolat
edWorlds] void removeItem(DOMString key); |
| 38 [NotEnumerable, RaisesException, PerWorldBindings, ActivityLogging=AccessFor
IsolatedWorlds] void clear(); | 38 [NotEnumerable, RaisesException, PerWorldBindings, ActivityLogging=ForIsolat
edWorlds] void clear(); |
| 39 }; | 39 }; |
| 40 | 40 |
| OLD | NEW |