Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: third_party/WebKit/Source/bindings/IDLExtendedAttributes.md

Issue 2341673004: [Binding] Replace 'Unscopeable' with 'Unscopable' (Closed)
Patch Set: . Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Blink IDL Extended Attributes 1 # Blink IDL Extended Attributes
2 2
3 [TOC] 3 [TOC]
4 4
5 ## Introduction 5 ## Introduction
6 6
7 The main interest in extended attributes are their _semantics_: Blink implements many more extended attributes than the Web IDL standard, to specify various beh avior. 7 The main interest in extended attributes are their _semantics_: Blink implements many more extended attributes than the Web IDL standard, to specify various beh avior.
8 8
9 The authoritative list of allowed extended attributes and values is [bindings/ID LExtendedAttributes.txt](https://code.google.com/p/chromium/codesearch#chromium/ src/third_party/WebKit/Source/bindings/IDLExtendedAttributes.txt). This is compl ete but not necessarily precise (there may be unused extended attributes or valu es), since validation is run on build, but coverage isn't checked. 9 The authoritative list of allowed extended attributes and values is [bindings/ID LExtendedAttributes.txt](https://code.google.com/p/chromium/codesearch#chromium/ src/third_party/WebKit/Source/bindings/IDLExtendedAttributes.txt). This is compl ete but not necessarily precise (there may be unused extended attributes or valu es), since validation is run on build, but coverage isn't checked.
10 10
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 [Unforgeable] attribute DOMString str; 471 [Unforgeable] attribute DOMString str;
472 [Unforgeable] interface XXX { ... }; 472 [Unforgeable] interface XXX { ... };
473 ``` 473 ```
474 474
475 By default, interface members are configurable (i.e. you can modify a property d escriptor corresponding to the member and also you can delete the property). `[U nforgeable]` makes the member unconfiguable so that you cannot modify or delete the property corresponding to the member. 475 By default, interface members are configurable (i.e. you can modify a property d escriptor corresponding to the member and also you can delete the property). `[U nforgeable]` makes the member unconfiguable so that you cannot modify or delete the property corresponding to the member.
476 476
477 `[Unconfiguable]` changes where the member is defined, too. By default, attribut e getters/setters and methods are defined on a prototype chain. `[Unforgeable]` defines the member on the instance object instead of the prototype object. 477 `[Unconfiguable]` changes where the member is defined, too. By default, attribut e getters/setters and methods are defined on a prototype chain. `[Unforgeable]` defines the member on the instance object instead of the prototype object.
478 478
479 Implementation: **Non-standard**: `[Unforgeable]` for attributes has an unspeced side-effect that it makes the property data-type property (`{writable: ..., val ue: ...}`) although it must be accessor-type property (`{get: ..., set: ...}`). ([Bug 497616](https://crbug.co/497616)) 479 Implementation: **Non-standard**: `[Unforgeable]` for attributes has an unspeced side-effect that it makes the property data-type property (`{writable: ..., val ue: ...}`) although it must be accessor-type property (`{get: ..., set: ...}`). ([Bug 497616](https://crbug.co/497616))
480 480
481 ### [Unscopeable] _(o, a)_ 481 ### [Unscopable] _(o, a)_
482 482
483 Standard: [Unscopeable](http://heycam.github.io/webidl/#Unscopeable) 483 Standard: [Unscopable](http://heycam.github.io/webidl/#Unscopable)
484 484
485 Summary: The interface member will not appear as a named property within `with` statements. 485 Summary: The interface member will not appear as a named property within `with` statements.
486 486
487 Usage: Can be specified on attributes or interfaces. 487 Usage: Can be specified on attributes or interfaces.
488 488
489 ## Common Blink-specific IDL Extended Attributes 489 ## Common Blink-specific IDL Extended Attributes
490 490
491 These extended attributes are widely used. 491 These extended attributes are widely used.
492 492
493 ### [ActiveScriptWrappable] _(i)_ 493 ### [ActiveScriptWrappable] _(i)_
(...skipping 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after
1589 Copyright (C) 2009 Apple Inc. All rights reserved. 1589 Copyright (C) 2009 Apple Inc. All rights reserved.
1590 1590
1591 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1591 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1592 1592
1593 1. Redistributions of source code must retain the above copyright notice, this l ist of conditions and the following disclaimer. 1593 1. Redistributions of source code must retain the above copyright notice, this l ist of conditions and the following disclaimer.
1594 1594
1595 2. Redistributions in binary form must reproduce the above copyright notice, thi s list of conditions and the following disclaimer in the documentation and/or ot her materials provided with the distribution. 1595 2. Redistributions in binary form must reproduce the above copyright notice, thi s list of conditions and the following disclaimer in the documentation and/or ot her materials provided with the distribution.
1596 1596
1597 THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS “AS IS” AND ANY EXP RESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIE S OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, I NCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMI TED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFI TS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHE THER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSI BILITY OF SUCH DAMAGE. 1597 THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS “AS IS” AND ANY EXP RESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIE S OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, I NCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMI TED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFI TS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHE THER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSI BILITY OF SUCH DAMAGE.
1598 *** 1598 ***
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698