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

Side by Side Diff: Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp

Issue 1017733003: [DO NOT LAND] Set @@toStringTag for DOM object prototypes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More test rebaselines Created 5 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #include "config.h" 7 #include "config.h"
8 #include "V8TestSpecialOperationsNotEnumerable.h" 8 #include "V8TestSpecialOperationsNotEnumerable.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 ALLOW_UNUSED_LOCAL(prototypeTemplate); 87 ALLOW_UNUSED_LOCAL(prototypeTemplate);
88 { 88 {
89 v8::IndexedPropertyHandlerConfiguration config(TestSpecialOperationsNotE numerableV8Internal::indexedPropertyGetterCallback, 0, 0, 0, 0); 89 v8::IndexedPropertyHandlerConfiguration config(TestSpecialOperationsNotE numerableV8Internal::indexedPropertyGetterCallback, 0, 0, 0, 0);
90 functionTemplate->InstanceTemplate()->SetHandler(config); 90 functionTemplate->InstanceTemplate()->SetHandler(config);
91 } 91 }
92 { 92 {
93 v8::NamedPropertyHandlerConfiguration config(TestSpecialOperationsNotEnu merableV8Internal::namedPropertyGetterCallback, 0, 0, 0, 0); 93 v8::NamedPropertyHandlerConfiguration config(TestSpecialOperationsNotEnu merableV8Internal::namedPropertyGetterCallback, 0, 0, 0, 0);
94 functionTemplate->InstanceTemplate()->SetHandler(config); 94 functionTemplate->InstanceTemplate()->SetHandler(config);
95 } 95 }
96 96
97 instanceTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(is olate, "TestSpecialOperationsNotEnumerable"));
98
99 prototypeTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(i solate, "TestSpecialOperationsNotEnumerablePrototype"));
100
97 // Custom toString template 101 // Custom toString template
98 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate()); 102 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate());
99 } 103 }
100 104
101 v8::Local<v8::FunctionTemplate> V8TestSpecialOperationsNotEnumerable::domTemplat e(v8::Isolate* isolate) 105 v8::Local<v8::FunctionTemplate> V8TestSpecialOperationsNotEnumerable::domTemplat e(v8::Isolate* isolate)
102 { 106 {
103 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI nfo*>(&wrapperTypeInfo), installV8TestSpecialOperationsNotEnumerableTemplate); 107 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI nfo*>(&wrapperTypeInfo), installV8TestSpecialOperationsNotEnumerableTemplate);
104 } 108 }
105 109
106 bool V8TestSpecialOperationsNotEnumerable::hasInstance(v8::Local<v8::Value> v8Va lue, v8::Isolate* isolate) 110 bool V8TestSpecialOperationsNotEnumerable::hasInstance(v8::Local<v8::Value> v8Va lue, v8::Isolate* isolate)
(...skipping 15 matching lines...) Expand all
122 { 126 {
123 scriptWrappable->toImpl<TestSpecialOperationsNotEnumerable>()->ref(); 127 scriptWrappable->toImpl<TestSpecialOperationsNotEnumerable>()->ref();
124 } 128 }
125 129
126 void V8TestSpecialOperationsNotEnumerable::derefObject(ScriptWrappable* scriptWr appable) 130 void V8TestSpecialOperationsNotEnumerable::derefObject(ScriptWrappable* scriptWr appable)
127 { 131 {
128 scriptWrappable->toImpl<TestSpecialOperationsNotEnumerable>()->deref(); 132 scriptWrappable->toImpl<TestSpecialOperationsNotEnumerable>()->deref();
129 } 133 }
130 134
131 } // namespace blink 135 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698