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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp

Issue 2430223006: Bindings: Rebaseline run-bindings-tests results (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // clang-format off 7 // clang-format off
8 #include "V8TestException.h" 8 #include "V8TestException.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 TestExceptionV8Internal::readonlyStringAttributeAttributeGetter(info); 77 TestExceptionV8Internal::readonlyStringAttributeAttributeGetter(info);
78 } 78 }
79 79
80 static void toStringMethod(const v8::FunctionCallbackInfo<v8::Value>& info) 80 static void toStringMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
81 { 81 {
82 TestException* impl = V8TestException::toImpl(info.Holder()); 82 TestException* impl = V8TestException::toImpl(info.Holder());
83 83
84 v8SetReturnValueString(info, impl->toString(), info.GetIsolate()); 84 v8SetReturnValueString(info, impl->toString(), info.GetIsolate());
85 } 85 }
86 86
87 static void toStringMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& in fo) 87 void toStringMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
88 { 88 {
89 TestExceptionV8Internal::toStringMethod(info); 89 TestExceptionV8Internal::toStringMethod(info);
90 } 90 }
91 91
92 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) 92 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
93 { 93 {
94 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::Constructio nContext, "TestException"); 94 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::Constructio nContext, "TestException");
95 95
96 if (UNLIKELY(info.Length() < 1)) { 96 if (UNLIKELY(info.Length() < 1)) {
97 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length())); 97 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length()));
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 { 170 {
171 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value); 171 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value);
172 } 172 }
173 173
174 TestException* V8TestException::toImplWithTypeCheck(v8::Isolate* isolate, v8::Lo cal<v8::Value> value) 174 TestException* V8TestException::toImplWithTypeCheck(v8::Isolate* isolate, v8::Lo cal<v8::Value> value)
175 { 175 {
176 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(valu e)) : nullptr; 176 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(valu e)) : nullptr;
177 } 177 }
178 178
179 } // namespace blink 179 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698