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

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

Issue 1017733003: [DO NOT LAND] Set @@toStringTag for DOM object prototypes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test expectations Created 5 years, 6 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 "V8TestInterface3.h" 8 #include "V8TestInterface3.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 }; 318 };
319 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSig nature, v8::None, entriesMethodConfiguration); 319 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSig nature, v8::None, entriesMethodConfiguration);
320 } 320 }
321 if (RuntimeEnabledFeatures::featureNameEnabled()) { 321 if (RuntimeEnabledFeatures::featureNameEnabled()) {
322 const V8DOMConfiguration::MethodConfiguration forEachMethodConfiguration = { 322 const V8DOMConfiguration::MethodConfiguration forEachMethodConfiguration = {
323 "forEach", TestInterface3V8Internal::forEachMethodCallback, 0, 1, V8 DOMConfiguration::ExposedToAllScripts, 323 "forEach", TestInterface3V8Internal::forEachMethodCallback, 0, 1, V8 DOMConfiguration::ExposedToAllScripts,
324 }; 324 };
325 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSig nature, v8::None, forEachMethodConfiguration); 325 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSig nature, v8::None, forEachMethodConfiguration);
326 } 326 }
327 327
328 prototypeTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(i solate, "TestInterface3"));
329
328 // Custom toString template 330 // Custom toString template
329 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate()); 331 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate());
330 } 332 }
331 333
332 v8::Local<v8::FunctionTemplate> V8TestInterface3::domTemplate(v8::Isolate* isola te) 334 v8::Local<v8::FunctionTemplate> V8TestInterface3::domTemplate(v8::Isolate* isola te)
333 { 335 {
334 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI nfo*>(&wrapperTypeInfo), installV8TestInterface3Template); 336 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI nfo*>(&wrapperTypeInfo), installV8TestInterface3Template);
335 } 337 }
336 338
337 bool V8TestInterface3::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* is olate) 339 bool V8TestInterface3::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* is olate)
(...skipping 15 matching lines...) Expand all
353 { 355 {
354 scriptWrappable->toImpl<TestInterface3>()->ref(); 356 scriptWrappable->toImpl<TestInterface3>()->ref();
355 } 357 }
356 358
357 void V8TestInterface3::derefObject(ScriptWrappable* scriptWrappable) 359 void V8TestInterface3::derefObject(ScriptWrappable* scriptWrappable)
358 { 360 {
359 scriptWrappable->toImpl<TestInterface3>()->deref(); 361 scriptWrappable->toImpl<TestInterface3>()->deref();
360 } 362 }
361 363
362 } // namespace blink 364 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698