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

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

Issue 2335203006: Add [CachedAccessor] attribute to cache (almost) constant accessors (window.document). (Closed)
Patch Set: Fix rebase dirt Created 4 years, 2 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 # 1 #
2 # This file describes all Blink IDL extended attributes and allowed values. 2 # This file describes all Blink IDL extended attributes and allowed values.
3 # If any IDL file uses an extended attribute or values not listed below, the 3 # If any IDL file uses an extended attribute or values not listed below, the
4 # build will fail. 4 # build will fail.
5 # If you would like to add a new extended attribute or value, please: 5 # If you would like to add a new extended attribute or value, please:
6 # (1) add the extended attribute or value to this file 6 # (1) add the extended attribute or value to this file
7 # (2) add an explanation to the Blink IDL extended attributes document: 7 # (2) add an explanation to the Blink IDL extended attributes document:
8 # IDLExtendedAttributes.md (in this directory) 8 # IDLExtendedAttributes.md (in this directory)
9 # (3) add appropriate test cases to run-bindings-tests 9 # (3) add appropriate test cases to run-bindings-tests
10 # 10 #
(...skipping 15 matching lines...) Expand all
26 # arbitrary, and combinations thereof, e.g. [Attr=IndexedDB], 26 # arbitrary, and combinations thereof, e.g. [Attr=IndexedDB],
27 # [Attr=DeleteFunction], [Attr=X|Y]. 27 # [Attr=DeleteFunction], [Attr=X|Y].
28 # - "Attr=|*" means that Attr takes an optional value, which can be 28 # - "Attr=|*" means that Attr takes an optional value, which can be
29 # arbitrary, e.g. [Attr], [Attr=X]. 29 # arbitrary, e.g. [Attr], [Attr=X].
30 # - "Attr=X|*" means that Attr takes an required value, which can be 30 # - "Attr=X|*" means that Attr takes an required value, which can be
31 # arbitrary, but that "X" is standard, e.g. [Attr=X], [Attr=Foo]. 31 # arbitrary, but that "X" is standard, e.g. [Attr=X], [Attr=Foo].
32 # 32 #
33 33
34 ActiveScriptWrappable 34 ActiveScriptWrappable
35 CEReactions 35 CEReactions
36 CachedAccessor
36 CachedAttribute=* 37 CachedAttribute=*
37 CallWith=ExecutionContext|ScriptState|ScriptArguments|CurrentWindow|EnteredWindo w|ThisValue 38 CallWith=ExecutionContext|ScriptState|ScriptArguments|CurrentWindow|EnteredWindo w|ThisValue
38 CheckSecurity=Receiver|ReturnValue 39 CheckSecurity=Receiver|ReturnValue
39 Clamp 40 Clamp
40 Constructor 41 Constructor
41 # FIXME: remove [ConstructorCallWith=Document], as can instead use 42 # FIXME: remove [ConstructorCallWith=Document], as can instead use
42 # [ConstructorCallWith=ExecutionContext] + toDocument(executionContext) 43 # [ConstructorCallWith=ExecutionContext] + toDocument(executionContext)
43 ConstructorCallWith=ExecutionContext|ScriptState|Document 44 ConstructorCallWith=ExecutionContext|ScriptState|Document
44 Custom=|Getter|Setter|LegacyCallAsFunction|VisitDOMWrapper|PropertyGetter|Proper tyEnumerator|PropertyQuery|CallPrologue|CallEpilogue 45 Custom=|Getter|Setter|LegacyCallAsFunction|VisitDOMWrapper|PropertyGetter|Proper tyEnumerator|PropertyQuery|CallPrologue|CallEpilogue
45 CustomConstructor 46 CustomConstructor
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 SaveSameObject 95 SaveSameObject
95 SecureContext 96 SecureContext
96 SetWrapperReferenceFrom=* 97 SetWrapperReferenceFrom=*
97 SetWrapperReferenceTo=* 98 SetWrapperReferenceTo=*
98 SetterCallWith=ExecutionContext|ScriptArguments|CurrentWindow|EnteredWindow 99 SetterCallWith=ExecutionContext|ScriptArguments|CurrentWindow|EnteredWindow
99 TreatNullAs=NullString|EmptyString 100 TreatNullAs=NullString|EmptyString
100 TreatUndefinedAs=NullString 101 TreatUndefinedAs=NullString
101 URL 102 URL
102 Unforgeable 103 Unforgeable
103 Unscopable 104 Unscopable
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698