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

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

Issue 751223003: IDL: Support runtime enabled overloads affecting Function.length (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 // 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 "V8TestObject.h" 8 #include "V8TestObject.h"
9 9
10 #include "bindings/core/v8/BindingSecurity.h" 10 #include "bindings/core/v8/BindingSecurity.h"
(...skipping 7724 matching lines...) Expand 10 before | Expand all | Expand 10 after
7735 return; 7735 return;
7736 } 7736 }
7737 break; 7737 break;
7738 case 2: 7738 case 2:
7739 if (true) { 7739 if (true) {
7740 overloadedMethodA2Method(info); 7740 overloadedMethodA2Method(info);
7741 return; 7741 return;
7742 } 7742 }
7743 break; 7743 break;
7744 default: 7744 default:
7745 break;
7746 }
7747 if (info.Length() < 1) {
7745 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length())); 7748 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length()));
7746 exceptionState.throwIfNeeded(); 7749 exceptionState.throwIfNeeded();
7747 return; 7750 return;
7748 } 7751 }
7749 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 7752 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
7750 exceptionState.throwIfNeeded(); 7753 exceptionState.throwIfNeeded();
7751 } 7754 }
7752 7755
7753 static void overloadedMethodAMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 7756 static void overloadedMethodAMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
7754 { 7757 {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
7803 return; 7806 return;
7804 } 7807 }
7805 break; 7808 break;
7806 case 2: 7809 case 2:
7807 if (true) { 7810 if (true) {
7808 overloadedMethodB2Method(info); 7811 overloadedMethodB2Method(info);
7809 return; 7812 return;
7810 } 7813 }
7811 break; 7814 break;
7812 default: 7815 default:
7816 break;
7817 }
7818 if (info.Length() < 1) {
7813 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length())); 7819 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length()));
7814 exceptionState.throwIfNeeded(); 7820 exceptionState.throwIfNeeded();
7815 return; 7821 return;
7816 } 7822 }
7817 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 7823 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
7818 exceptionState.throwIfNeeded(); 7824 exceptionState.throwIfNeeded();
7819 } 7825 }
7820 7826
7821 static void overloadedMethodBMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 7827 static void overloadedMethodBMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
7822 { 7828 {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
7854 if (V8TestInterfaceEmpty::hasInstance(info[0], info.GetIsolate())) { 7860 if (V8TestInterfaceEmpty::hasInstance(info[0], info.GetIsolate())) {
7855 overloadedMethodC2Method(info); 7861 overloadedMethodC2Method(info);
7856 return; 7862 return;
7857 } 7863 }
7858 if (true) { 7864 if (true) {
7859 overloadedMethodC1Method(info); 7865 overloadedMethodC1Method(info);
7860 return; 7866 return;
7861 } 7867 }
7862 break; 7868 break;
7863 default: 7869 default:
7870 break;
7871 }
7872 if (info.Length() < 1) {
7864 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length())); 7873 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length()));
7865 exceptionState.throwIfNeeded(); 7874 exceptionState.throwIfNeeded();
7866 return; 7875 return;
7867 } 7876 }
7868 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 7877 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
7869 exceptionState.throwIfNeeded(); 7878 exceptionState.throwIfNeeded();
7870 } 7879 }
7871 7880
7872 static void overloadedMethodCMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 7881 static void overloadedMethodCMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
7873 { 7882 {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
7906 if (info[0]->IsArray()) { 7915 if (info[0]->IsArray()) {
7907 overloadedMethodD2Method(info); 7916 overloadedMethodD2Method(info);
7908 return; 7917 return;
7909 } 7918 }
7910 if (true) { 7919 if (true) {
7911 overloadedMethodD1Method(info); 7920 overloadedMethodD1Method(info);
7912 return; 7921 return;
7913 } 7922 }
7914 break; 7923 break;
7915 default: 7924 default:
7925 break;
7926 }
7927 if (info.Length() < 1) {
7916 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length())); 7928 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length()));
7917 exceptionState.throwIfNeeded(); 7929 exceptionState.throwIfNeeded();
7918 return; 7930 return;
7919 } 7931 }
7920 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 7932 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
7921 exceptionState.throwIfNeeded(); 7933 exceptionState.throwIfNeeded();
7922 } 7934 }
7923 7935
7924 static void overloadedMethodDMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 7936 static void overloadedMethodDMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
7925 { 7937 {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
7961 if (V8TestInterfaceEmpty::hasInstance(info[0], info.GetIsolate())) { 7973 if (V8TestInterfaceEmpty::hasInstance(info[0], info.GetIsolate())) {
7962 overloadedMethodE2Method(info); 7974 overloadedMethodE2Method(info);
7963 return; 7975 return;
7964 } 7976 }
7965 if (true) { 7977 if (true) {
7966 overloadedMethodE1Method(info); 7978 overloadedMethodE1Method(info);
7967 return; 7979 return;
7968 } 7980 }
7969 break; 7981 break;
7970 default: 7982 default:
7983 break;
7984 }
7985 if (info.Length() < 1) {
7971 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length())); 7986 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length()));
7972 exceptionState.throwIfNeeded(); 7987 exceptionState.throwIfNeeded();
7973 return; 7988 return;
7974 } 7989 }
7975 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 7990 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
7976 exceptionState.throwIfNeeded(); 7991 exceptionState.throwIfNeeded();
7977 } 7992 }
7978 7993
7979 static void overloadedMethodEMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 7994 static void overloadedMethodEMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
7980 { 7995 {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
8030 if (true) { 8045 if (true) {
8031 overloadedMethodF1Method(info); 8046 overloadedMethodF1Method(info);
8032 return; 8047 return;
8033 } 8048 }
8034 if (true) { 8049 if (true) {
8035 overloadedMethodF2Method(info); 8050 overloadedMethodF2Method(info);
8036 return; 8051 return;
8037 } 8052 }
8038 break; 8053 break;
8039 default: 8054 default:
8055 break;
8056 }
8057 if (info.Length() < 0) {
bashi 2014/12/02 23:56:17 nit: It's nice to avoid generating this branch, bu
Jens Widell 2014/12/03 07:19:31 This could be fixed by adding {% if overloads.leng
8040 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length())); 8058 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length()));
8041 exceptionState.throwIfNeeded(); 8059 exceptionState.throwIfNeeded();
8042 return; 8060 return;
8043 } 8061 }
8044 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 8062 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
8045 exceptionState.throwIfNeeded(); 8063 exceptionState.throwIfNeeded();
8046 } 8064 }
8047 8065
8048 static void overloadedMethodFMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 8066 static void overloadedMethodFMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
8049 { 8067 {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
8099 if (V8TestInterfaceEmpty::hasInstance(info[0], info.GetIsolate())) { 8117 if (V8TestInterfaceEmpty::hasInstance(info[0], info.GetIsolate())) {
8100 overloadedMethodG2Method(info); 8118 overloadedMethodG2Method(info);
8101 return; 8119 return;
8102 } 8120 }
8103 if (true) { 8121 if (true) {
8104 overloadedMethodG1Method(info); 8122 overloadedMethodG1Method(info);
8105 return; 8123 return;
8106 } 8124 }
8107 break; 8125 break;
8108 default: 8126 default:
8127 break;
8128 }
8129 if (info.Length() < 0) {
8109 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length())); 8130 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length()));
8110 exceptionState.throwIfNeeded(); 8131 exceptionState.throwIfNeeded();
8111 return; 8132 return;
8112 } 8133 }
8113 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 8134 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
8114 exceptionState.throwIfNeeded(); 8135 exceptionState.throwIfNeeded();
8115 } 8136 }
8116 8137
8117 static void overloadedMethodGMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 8138 static void overloadedMethodGMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
8118 { 8139 {
(...skipping 30 matching lines...) Expand all
8149 if (V8TestInterface::hasInstance(info[0], info.GetIsolate())) { 8170 if (V8TestInterface::hasInstance(info[0], info.GetIsolate())) {
8150 overloadedMethodH1Method(info); 8171 overloadedMethodH1Method(info);
8151 return; 8172 return;
8152 } 8173 }
8153 if (V8TestInterfaceEmpty::hasInstance(info[0], info.GetIsolate())) { 8174 if (V8TestInterfaceEmpty::hasInstance(info[0], info.GetIsolate())) {
8154 overloadedMethodH2Method(info); 8175 overloadedMethodH2Method(info);
8155 return; 8176 return;
8156 } 8177 }
8157 break; 8178 break;
8158 default: 8179 default:
8180 break;
8181 }
8182 if (info.Length() < 1) {
8159 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length())); 8183 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length()));
8160 exceptionState.throwIfNeeded(); 8184 exceptionState.throwIfNeeded();
8161 return; 8185 return;
8162 } 8186 }
8163 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 8187 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
8164 exceptionState.throwIfNeeded(); 8188 exceptionState.throwIfNeeded();
8165 } 8189 }
8166 8190
8167 static void overloadedMethodHMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 8191 static void overloadedMethodHMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
8168 { 8192 {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
8204 if (true) { 8228 if (true) {
8205 overloadedMethodI1Method(info); 8229 overloadedMethodI1Method(info);
8206 return; 8230 return;
8207 } 8231 }
8208 if (true) { 8232 if (true) {
8209 overloadedMethodI2Method(info); 8233 overloadedMethodI2Method(info);
8210 return; 8234 return;
8211 } 8235 }
8212 break; 8236 break;
8213 default: 8237 default:
8238 break;
8239 }
8240 if (info.Length() < 1) {
8214 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length())); 8241 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length()));
8215 exceptionState.throwIfNeeded(); 8242 exceptionState.throwIfNeeded();
8216 return; 8243 return;
8217 } 8244 }
8218 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 8245 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
8219 exceptionState.throwIfNeeded(); 8246 exceptionState.throwIfNeeded();
8220 } 8247 }
8221 8248
8222 static void overloadedMethodIMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 8249 static void overloadedMethodIMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
8223 { 8250 {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
8260 if (info[0]->IsObject()) { 8287 if (info[0]->IsObject()) {
8261 overloadedMethodJ2Method(info); 8288 overloadedMethodJ2Method(info);
8262 return; 8289 return;
8263 } 8290 }
8264 if (true) { 8291 if (true) {
8265 overloadedMethodJ1Method(info); 8292 overloadedMethodJ1Method(info);
8266 return; 8293 return;
8267 } 8294 }
8268 break; 8295 break;
8269 default: 8296 default:
8297 break;
8298 }
8299 if (info.Length() < 1) {
8270 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length())); 8300 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length()));
8271 exceptionState.throwIfNeeded(); 8301 exceptionState.throwIfNeeded();
8272 return; 8302 return;
8273 } 8303 }
8274 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 8304 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
8275 exceptionState.throwIfNeeded(); 8305 exceptionState.throwIfNeeded();
8276 } 8306 }
8277 8307
8278 static void overloadedMethodJMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 8308 static void overloadedMethodJMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
8279 { 8309 {
(...skipping 30 matching lines...) Expand all
8310 if (info[0]->IsFunction()) { 8340 if (info[0]->IsFunction()) {
8311 overloadedMethodK1Method(info); 8341 overloadedMethodK1Method(info);
8312 return; 8342 return;
8313 } 8343 }
8314 if (true) { 8344 if (true) {
8315 overloadedMethodK2Method(info); 8345 overloadedMethodK2Method(info);
8316 return; 8346 return;
8317 } 8347 }
8318 break; 8348 break;
8319 default: 8349 default:
8350 break;
8351 }
8352 if (info.Length() < 1) {
8320 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length())); 8353 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length()));
8321 exceptionState.throwIfNeeded(); 8354 exceptionState.throwIfNeeded();
8322 return; 8355 return;
8323 } 8356 }
8324 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 8357 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
8325 exceptionState.throwIfNeeded(); 8358 exceptionState.throwIfNeeded();
8326 } 8359 }
8327 8360
8328 static void overloadedMethodKMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 8361 static void overloadedMethodKMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
8329 { 8362 {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
8384 if (true) { 8417 if (true) {
8385 overloadedMethodL2Method(info); 8418 overloadedMethodL2Method(info);
8386 return; 8419 return;
8387 } 8420 }
8388 if (true) { 8421 if (true) {
8389 overloadedMethodL1Method(info); 8422 overloadedMethodL1Method(info);
8390 return; 8423 return;
8391 } 8424 }
8392 break; 8425 break;
8393 default: 8426 default:
8427 break;
8428 }
8429 if (info.Length() < 1) {
8394 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length())); 8430 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length()));
8395 exceptionState.throwIfNeeded(); 8431 exceptionState.throwIfNeeded();
8396 return; 8432 return;
8397 } 8433 }
8398 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 8434 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
8399 exceptionState.throwIfNeeded(); 8435 exceptionState.throwIfNeeded();
8400 } 8436 }
8401 8437
8402 static void overloadedMethodLMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 8438 static void overloadedMethodLMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
8403 { 8439 {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
8457 promiseOverloadMethod3Method(info); 8493 promiseOverloadMethod3Method(info);
8458 return; 8494 return;
8459 } 8495 }
8460 break; 8496 break;
8461 default: 8497 default:
8462 if (info.Length() >= 0) { 8498 if (info.Length() >= 0) {
8463 setArityTypeError(exceptionState, "[0, 2]", info.Length()); 8499 setArityTypeError(exceptionState, "[0, 2]", info.Length());
8464 v8SetReturnValue(info, exceptionState.reject(ScriptState::current(in fo.GetIsolate())).v8Value()); 8500 v8SetReturnValue(info, exceptionState.reject(ScriptState::current(in fo.GetIsolate())).v8Value());
8465 return; 8501 return;
8466 } 8502 }
8503 break;
8504 }
8505 if (info.Length() < 0) {
8467 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length())); 8506 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length()));
8468 v8SetReturnValue(info, exceptionState.reject(ScriptState::current(info.G etIsolate())).v8Value()); 8507 v8SetReturnValue(info, exceptionState.reject(ScriptState::current(info.G etIsolate())).v8Value());
8469 return; 8508 return;
8470 } 8509 }
8471 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 8510 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
8472 v8SetReturnValue(info, exceptionState.reject(ScriptState::current(info.GetIs olate())).v8Value()); 8511 v8SetReturnValue(info, exceptionState.reject(ScriptState::current(info.GetIs olate())).v8Value());
8473 } 8512 }
8474 8513
8475 static void promiseOverloadMethodMethodCallback(const v8::FunctionCallbackInfo<v 8::Value>& info) 8514 static void promiseOverloadMethodMethodCallback(const v8::FunctionCallbackInfo<v 8::Value>& info)
8476 { 8515 {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
8512 return; 8551 return;
8513 } 8552 }
8514 break; 8553 break;
8515 case 1: 8554 case 1:
8516 if (true) { 8555 if (true) {
8517 overloadedPerWorldBindingsMethod2Method(info); 8556 overloadedPerWorldBindingsMethod2Method(info);
8518 return; 8557 return;
8519 } 8558 }
8520 break; 8559 break;
8521 default: 8560 default:
8561 break;
8562 }
8563 if (info.Length() < 0) {
8522 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length())); 8564 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length()));
8523 exceptionState.throwIfNeeded(); 8565 exceptionState.throwIfNeeded();
8524 return; 8566 return;
8525 } 8567 }
8526 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 8568 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
8527 exceptionState.throwIfNeeded(); 8569 exceptionState.throwIfNeeded();
8528 } 8570 }
8529 8571
8530 static void overloadedPerWorldBindingsMethodMethodCallback(const v8::FunctionCal lbackInfo<v8::Value>& info) 8572 static void overloadedPerWorldBindingsMethodMethodCallback(const v8::FunctionCal lbackInfo<v8::Value>& info)
8531 { 8573 {
(...skipping 23 matching lines...) Expand all
8555 return; 8597 return;
8556 } 8598 }
8557 break; 8599 break;
8558 case 1: 8600 case 1:
8559 if (true) { 8601 if (true) {
8560 overloadedPerWorldBindingsMethod2MethodForMainWorld(info); 8602 overloadedPerWorldBindingsMethod2MethodForMainWorld(info);
8561 return; 8603 return;
8562 } 8604 }
8563 break; 8605 break;
8564 default: 8606 default:
8607 break;
8608 }
8609 if (info.Length() < 0) {
8565 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length())); 8610 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length()));
8566 exceptionState.throwIfNeeded(); 8611 exceptionState.throwIfNeeded();
8567 return; 8612 return;
8568 } 8613 }
8569 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 8614 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
8570 exceptionState.throwIfNeeded(); 8615 exceptionState.throwIfNeeded();
8571 } 8616 }
8572 8617
8573 static void overloadedPerWorldBindingsMethodMethodCallbackForMainWorld(const v8: :FunctionCallbackInfo<v8::Value>& info) 8618 static void overloadedPerWorldBindingsMethodMethodCallbackForMainWorld(const v8: :FunctionCallbackInfo<v8::Value>& info)
8574 { 8619 {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
8609 return; 8654 return;
8610 } 8655 }
8611 break; 8656 break;
8612 case 2: 8657 case 2:
8613 if (true) { 8658 if (true) {
8614 overloadedStaticMethod2Method(info); 8659 overloadedStaticMethod2Method(info);
8615 return; 8660 return;
8616 } 8661 }
8617 break; 8662 break;
8618 default: 8663 default:
8664 break;
8665 }
8666 if (info.Length() < 1) {
8619 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length())); 8667 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length()));
8620 exceptionState.throwIfNeeded(); 8668 exceptionState.throwIfNeeded();
8621 return; 8669 return;
8622 } 8670 }
8623 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 8671 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
8624 exceptionState.throwIfNeeded(); 8672 exceptionState.throwIfNeeded();
8625 } 8673 }
8626 8674
8627 static void overloadedStaticMethodMethodCallback(const v8::FunctionCallbackInfo< v8::Value>& info) 8675 static void overloadedStaticMethodMethodCallback(const v8::FunctionCallbackInfo< v8::Value>& info)
8628 { 8676 {
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
9123 } 9171 }
9124 break; 9172 break;
9125 case 1: 9173 case 1:
9126 if (true) { 9174 if (true) {
9127 UseCounter::countDeprecationIfNotPrivateScript(info.GetIsolate(), ca llingExecutionContext(info.GetIsolate()), UseCounter::TestFeatureB); 9175 UseCounter::countDeprecationIfNotPrivateScript(info.GetIsolate(), ca llingExecutionContext(info.GetIsolate()), UseCounter::TestFeatureB);
9128 DeprecateAsOverloadedMethod2Method(info); 9176 DeprecateAsOverloadedMethod2Method(info);
9129 return; 9177 return;
9130 } 9178 }
9131 break; 9179 break;
9132 default: 9180 default:
9181 break;
9182 }
9183 if (info.Length() < 0) {
9133 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length())); 9184 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length()));
9134 exceptionState.throwIfNeeded(); 9185 exceptionState.throwIfNeeded();
9135 return; 9186 return;
9136 } 9187 }
9137 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 9188 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
9138 exceptionState.throwIfNeeded(); 9189 exceptionState.throwIfNeeded();
9139 } 9190 }
9140 9191
9141 static void DeprecateAsOverloadedMethodMethodCallback(const v8::FunctionCallback Info<v8::Value>& info) 9192 static void DeprecateAsOverloadedMethodMethodCallback(const v8::FunctionCallback Info<v8::Value>& info)
9142 { 9193 {
(...skipping 30 matching lines...) Expand all
9173 return; 9224 return;
9174 } 9225 }
9175 break; 9226 break;
9176 case 1: 9227 case 1:
9177 if (true) { 9228 if (true) {
9178 DeprecateAsSameValueOverloadedMethod2Method(info); 9229 DeprecateAsSameValueOverloadedMethod2Method(info);
9179 return; 9230 return;
9180 } 9231 }
9181 break; 9232 break;
9182 default: 9233 default:
9234 break;
9235 }
9236 if (info.Length() < 0) {
9183 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length())); 9237 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length()));
9184 exceptionState.throwIfNeeded(); 9238 exceptionState.throwIfNeeded();
9185 return; 9239 return;
9186 } 9240 }
9187 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 9241 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
9188 exceptionState.throwIfNeeded(); 9242 exceptionState.throwIfNeeded();
9189 } 9243 }
9190 9244
9191 static void DeprecateAsSameValueOverloadedMethodMethodCallback(const v8::Functio nCallbackInfo<v8::Value>& info) 9245 static void DeprecateAsSameValueOverloadedMethodMethodCallback(const v8::Functio nCallbackInfo<v8::Value>& info)
9192 { 9246 {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
9224 } 9278 }
9225 break; 9279 break;
9226 case 1: 9280 case 1:
9227 if (true) { 9281 if (true) {
9228 UseCounter::countIfNotPrivateScript(info.GetIsolate(), callingExecut ionContext(info.GetIsolate()), UseCounter::TestFeatureB); 9282 UseCounter::countIfNotPrivateScript(info.GetIsolate(), callingExecut ionContext(info.GetIsolate()), UseCounter::TestFeatureB);
9229 measureAsOverloadedMethod2Method(info); 9283 measureAsOverloadedMethod2Method(info);
9230 return; 9284 return;
9231 } 9285 }
9232 break; 9286 break;
9233 default: 9287 default:
9288 break;
9289 }
9290 if (info.Length() < 0) {
9234 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length())); 9291 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length()));
9235 exceptionState.throwIfNeeded(); 9292 exceptionState.throwIfNeeded();
9236 return; 9293 return;
9237 } 9294 }
9238 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 9295 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
9239 exceptionState.throwIfNeeded(); 9296 exceptionState.throwIfNeeded();
9240 } 9297 }
9241 9298
9242 static void measureAsOverloadedMethodMethodCallback(const v8::FunctionCallbackIn fo<v8::Value>& info) 9299 static void measureAsOverloadedMethodMethodCallback(const v8::FunctionCallbackIn fo<v8::Value>& info)
9243 { 9300 {
(...skipping 30 matching lines...) Expand all
9274 return; 9331 return;
9275 } 9332 }
9276 break; 9333 break;
9277 case 1: 9334 case 1:
9278 if (true) { 9335 if (true) {
9279 measureAsSameValueOverloadedMethod2Method(info); 9336 measureAsSameValueOverloadedMethod2Method(info);
9280 return; 9337 return;
9281 } 9338 }
9282 break; 9339 break;
9283 default: 9340 default:
9341 break;
9342 }
9343 if (info.Length() < 0) {
9284 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length())); 9344 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length()));
9285 exceptionState.throwIfNeeded(); 9345 exceptionState.throwIfNeeded();
9286 return; 9346 return;
9287 } 9347 }
9288 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 9348 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
9289 exceptionState.throwIfNeeded(); 9349 exceptionState.throwIfNeeded();
9290 } 9350 }
9291 9351
9292 static void measureAsSameValueOverloadedMethodMethodCallback(const v8::FunctionC allbackInfo<v8::Value>& info) 9352 static void measureAsSameValueOverloadedMethodMethodCallback(const v8::FunctionC allbackInfo<v8::Value>& info)
9293 { 9353 {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
9326 } 9386 }
9327 break; 9387 break;
9328 case 1: 9388 case 1:
9329 if (true) { 9389 if (true) {
9330 UseCounter::countDeprecationIfNotPrivateScript(info.GetIsolate(), ca llingExecutionContext(info.GetIsolate()), UseCounter::TestFeatureB); 9390 UseCounter::countDeprecationIfNotPrivateScript(info.GetIsolate(), ca llingExecutionContext(info.GetIsolate()), UseCounter::TestFeatureB);
9331 deprecateAsMeasureAsSameValueOverloadedMethod2Method(info); 9391 deprecateAsMeasureAsSameValueOverloadedMethod2Method(info);
9332 return; 9392 return;
9333 } 9393 }
9334 break; 9394 break;
9335 default: 9395 default:
9396 break;
9397 }
9398 if (info.Length() < 0) {
9336 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length())); 9399 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length()));
9337 exceptionState.throwIfNeeded(); 9400 exceptionState.throwIfNeeded();
9338 return; 9401 return;
9339 } 9402 }
9340 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 9403 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
9341 exceptionState.throwIfNeeded(); 9404 exceptionState.throwIfNeeded();
9342 } 9405 }
9343 9406
9344 static void deprecateAsMeasureAsSameValueOverloadedMethodMethodCallback(const v8 ::FunctionCallbackInfo<v8::Value>& info) 9407 static void deprecateAsMeasureAsSameValueOverloadedMethodMethodCallback(const v8 ::FunctionCallbackInfo<v8::Value>& info)
9345 { 9408 {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
9378 } 9441 }
9379 break; 9442 break;
9380 case 1: 9443 case 1:
9381 if (true) { 9444 if (true) {
9382 UseCounter::countIfNotPrivateScript(info.GetIsolate(), callingExecut ionContext(info.GetIsolate()), UseCounter::TestFeatureB); 9445 UseCounter::countIfNotPrivateScript(info.GetIsolate(), callingExecut ionContext(info.GetIsolate()), UseCounter::TestFeatureB);
9383 deprecateAsSameValueMeasureAsOverloadedMethod2Method(info); 9446 deprecateAsSameValueMeasureAsOverloadedMethod2Method(info);
9384 return; 9447 return;
9385 } 9448 }
9386 break; 9449 break;
9387 default: 9450 default:
9451 break;
9452 }
9453 if (info.Length() < 0) {
9388 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length())); 9454 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length()));
9389 exceptionState.throwIfNeeded(); 9455 exceptionState.throwIfNeeded();
9390 return; 9456 return;
9391 } 9457 }
9392 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 9458 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
9393 exceptionState.throwIfNeeded(); 9459 exceptionState.throwIfNeeded();
9394 } 9460 }
9395 9461
9396 static void deprecateAsSameValueMeasureAsOverloadedMethodMethodCallback(const v8 ::FunctionCallbackInfo<v8::Value>& info) 9462 static void deprecateAsSameValueMeasureAsOverloadedMethodMethodCallback(const v8 ::FunctionCallbackInfo<v8::Value>& info)
9397 { 9463 {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
9429 return; 9495 return;
9430 } 9496 }
9431 break; 9497 break;
9432 case 1: 9498 case 1:
9433 if (true) { 9499 if (true) {
9434 deprecateAsSameValueMeasureAsSameValueOverloadedMethod2Method(info); 9500 deprecateAsSameValueMeasureAsSameValueOverloadedMethod2Method(info);
9435 return; 9501 return;
9436 } 9502 }
9437 break; 9503 break;
9438 default: 9504 default:
9505 break;
9506 }
9507 if (info.Length() < 0) {
9439 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length())); 9508 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i nfo.Length()));
9440 exceptionState.throwIfNeeded(); 9509 exceptionState.throwIfNeeded();
9441 return; 9510 return;
9442 } 9511 }
9443 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 9512 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
9444 exceptionState.throwIfNeeded(); 9513 exceptionState.throwIfNeeded();
9445 } 9514 }
9446 9515
9447 static void deprecateAsSameValueMeasureAsSameValueOverloadedMethodMethodCallback (const v8::FunctionCallbackInfo<v8::Value>& info) 9516 static void deprecateAsSameValueMeasureAsSameValueOverloadedMethodMethodCallback (const v8::FunctionCallbackInfo<v8::Value>& info)
9448 { 9517 {
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
9867 if (true) { 9936 if (true) {
9868 runtimeEnabledOverloadedVoidMethod1Method(info); 9937 runtimeEnabledOverloadedVoidMethod1Method(info);
9869 return; 9938 return;
9870 } 9939 }
9871 if (true) { 9940 if (true) {
9872 runtimeEnabledOverloadedVoidMethod2Method(info); 9941 runtimeEnabledOverloadedVoidMethod2Method(info);
9873 return; 9942 return;
9874 } 9943 }
9875 break; 9944 break;
9876 default: 9945 default:
9946 break;
9947 }
9948 if (info.Length() < 1) {
9877 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length())); 9949 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length()));
9878 exceptionState.throwIfNeeded(); 9950 exceptionState.throwIfNeeded();
9879 return; 9951 return;
9880 } 9952 }
9881 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 9953 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
9882 exceptionState.throwIfNeeded(); 9954 exceptionState.throwIfNeeded();
9883 } 9955 }
9884 9956
9885 static void runtimeEnabledOverloadedVoidMethodMethodCallback(const v8::FunctionC allbackInfo<v8::Value>& info) 9957 static void runtimeEnabledOverloadedVoidMethodMethodCallback(const v8::FunctionC allbackInfo<v8::Value>& info)
9886 { 9958 {
(...skipping 20 matching lines...) Expand all
9907 testInterface = V8TestInterface::toImplWithTypeCheck(info.GetIsolate(), info[0]); 9979 testInterface = V8TestInterface::toImplWithTypeCheck(info.GetIsolate(), info[0]);
9908 } 9980 }
9909 impl->partiallyRuntimeEnabledOverloadedVoidMethod(testInterface); 9981 impl->partiallyRuntimeEnabledOverloadedVoidMethod(testInterface);
9910 } 9982 }
9911 9983
9912 static void partiallyRuntimeEnabledOverloadedVoidMethod3Method(const v8::Functio nCallbackInfo<v8::Value>& info) 9984 static void partiallyRuntimeEnabledOverloadedVoidMethod3Method(const v8::Functio nCallbackInfo<v8::Value>& info)
9913 { 9985 {
9914 ExceptionState exceptionState(ExceptionState::ExecutionContext, "partiallyRu ntimeEnabledOverloadedVoidMethod", "TestObject", info.Holder(), info.GetIsolate( )); 9986 ExceptionState exceptionState(ExceptionState::ExecutionContext, "partiallyRu ntimeEnabledOverloadedVoidMethod", "TestObject", info.Holder(), info.GetIsolate( ));
9915 TestObject* impl = V8TestObject::toImpl(info.Holder()); 9987 TestObject* impl = V8TestObject::toImpl(info.Holder());
9916 int longArg; 9988 int longArg;
9989 V8StringResource<> stringArg;
9917 { 9990 {
9918 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(longArg, toInt32(info[0], exceptio nState), exceptionState); 9991 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(longArg, toInt32(info[0], exceptio nState), exceptionState);
9992 TOSTRING_VOID_INTERNAL(stringArg, info[1]);
9919 } 9993 }
9920 impl->partiallyRuntimeEnabledOverloadedVoidMethod(longArg); 9994 impl->partiallyRuntimeEnabledOverloadedVoidMethod(longArg, stringArg);
9995 }
9996
9997 static int partiallyRuntimeEnabledOverloadedVoidMethodMethodLength()
9998 {
9999 if (RuntimeEnabledFeatures::featureName1Enabled()) {
10000 return 1;
10001 }
10002 if (RuntimeEnabledFeatures::featureName2Enabled()) {
10003 return 1;
10004 }
10005 return 2;
9921 } 10006 }
9922 10007
9923 static void partiallyRuntimeEnabledOverloadedVoidMethodMethod(const v8::Function CallbackInfo<v8::Value>& info) 10008 static void partiallyRuntimeEnabledOverloadedVoidMethodMethod(const v8::Function CallbackInfo<v8::Value>& info)
9924 { 10009 {
9925 ExceptionState exceptionState(ExceptionState::ExecutionContext, "partiallyRu ntimeEnabledOverloadedVoidMethod", "TestObject", info.Holder(), info.GetIsolate( )); 10010 ExceptionState exceptionState(ExceptionState::ExecutionContext, "partiallyRu ntimeEnabledOverloadedVoidMethod", "TestObject", info.Holder(), info.GetIsolate( ));
9926 switch (std::min(1, info.Length())) { 10011 switch (std::min(2, info.Length())) {
9927 case 1: 10012 case 1:
9928 if (RuntimeEnabledFeatures::featureName2Enabled()) { 10013 if (RuntimeEnabledFeatures::featureName2Enabled()) {
9929 if (V8TestInterface::hasInstance(info[0], info.GetIsolate())) { 10014 if (V8TestInterface::hasInstance(info[0], info.GetIsolate())) {
9930 partiallyRuntimeEnabledOverloadedVoidMethod2Method(info); 10015 partiallyRuntimeEnabledOverloadedVoidMethod2Method(info);
9931 return; 10016 return;
9932 } 10017 }
9933 } 10018 }
9934 if (info[0]->IsNumber()) {
9935 partiallyRuntimeEnabledOverloadedVoidMethod3Method(info);
9936 return;
9937 }
9938 if (RuntimeEnabledFeatures::featureName1Enabled()) { 10019 if (RuntimeEnabledFeatures::featureName1Enabled()) {
9939 if (true) { 10020 if (true) {
9940 partiallyRuntimeEnabledOverloadedVoidMethod1Method(info); 10021 partiallyRuntimeEnabledOverloadedVoidMethod1Method(info);
9941 return; 10022 return;
9942 } 10023 }
9943 } 10024 }
10025 break;
10026 case 2:
9944 if (true) { 10027 if (true) {
9945 partiallyRuntimeEnabledOverloadedVoidMethod3Method(info); 10028 partiallyRuntimeEnabledOverloadedVoidMethod3Method(info);
9946 return; 10029 return;
9947 } 10030 }
9948 break; 10031 break;
9949 default: 10032 default:
9950 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length())); 10033 break;
10034 }
10035 if (info.Length() < TestObjectV8Internal::partiallyRuntimeEnabledOverloadedV oidMethodMethodLength()) {
10036 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(Test ObjectV8Internal::partiallyRuntimeEnabledOverloadedVoidMethodMethodLength(), inf o.Length()));
9951 exceptionState.throwIfNeeded(); 10037 exceptionState.throwIfNeeded();
9952 return; 10038 return;
9953 } 10039 }
9954 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 10040 exceptionState.throwTypeError("No function was found that matched the signat ure provided.");
9955 exceptionState.throwIfNeeded(); 10041 exceptionState.throwIfNeeded();
9956 } 10042 }
9957 10043
9958 static void partiallyRuntimeEnabledOverloadedVoidMethodMethodCallback(const v8:: FunctionCallbackInfo<v8::Value>& info) 10044 static void partiallyRuntimeEnabledOverloadedVoidMethodMethodCallback(const v8:: FunctionCallbackInfo<v8::Value>& info)
9959 { 10045 {
9960 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 10046 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
10859 {"perWorldBindingsVoidMethodTestInterfaceEmptyArg", TestObjectV8Internal::pe rWorldBindingsVoidMethodTestInterfaceEmptyArgMethodCallback, TestObjectV8Interna l::perWorldBindingsVoidMethodTestInterfaceEmptyArgMethodCallbackForMainWorld, 1, V8DOMConfiguration::ExposedToAllScripts}, 10945 {"perWorldBindingsVoidMethodTestInterfaceEmptyArg", TestObjectV8Internal::pe rWorldBindingsVoidMethodTestInterfaceEmptyArgMethodCallback, TestObjectV8Interna l::perWorldBindingsVoidMethodTestInterfaceEmptyArgMethodCallbackForMainWorld, 1, V8DOMConfiguration::ExposedToAllScripts},
10860 {"activityLoggingForAllWorldsPerWorldBindingsVoidMethod", TestObjectV8Intern al::activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallback, TestObj ectV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallba ckForMainWorld, 0, V8DOMConfiguration::ExposedToAllScripts}, 10946 {"activityLoggingForAllWorldsPerWorldBindingsVoidMethod", TestObjectV8Intern al::activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallback, TestObj ectV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallba ckForMainWorld, 0, V8DOMConfiguration::ExposedToAllScripts},
10861 {"activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod", TestObjectV8I nternal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodCallbac k, TestObjectV8Internal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMet hodMethodCallbackForMainWorld, 0, V8DOMConfiguration::ExposedToAllScripts}, 10947 {"activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod", TestObjectV8I nternal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodCallbac k, TestObjectV8Internal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMet hodMethodCallbackForMainWorld, 0, V8DOMConfiguration::ExposedToAllScripts},
10862 {"raisesExceptionVoidMethod", TestObjectV8Internal::raisesExceptionVoidMetho dMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 10948 {"raisesExceptionVoidMethod", TestObjectV8Internal::raisesExceptionVoidMetho dMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
10863 {"raisesExceptionStringMethod", TestObjectV8Internal::raisesExceptionStringM ethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 10949 {"raisesExceptionStringMethod", TestObjectV8Internal::raisesExceptionStringM ethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
10864 {"raisesExceptionVoidMethodOptionalLongArg", TestObjectV8Internal::raisesExc eptionVoidMethodOptionalLongArgMethodCallback, 0, 0, V8DOMConfiguration::Exposed ToAllScripts}, 10950 {"raisesExceptionVoidMethodOptionalLongArg", TestObjectV8Internal::raisesExc eptionVoidMethodOptionalLongArgMethodCallback, 0, 0, V8DOMConfiguration::Exposed ToAllScripts},
10865 {"raisesExceptionVoidMethodTestCallbackInterfaceArg", TestObjectV8Internal:: raisesExceptionVoidMethodTestCallbackInterfaceArgMethodCallback, 0, 1, V8DOMConf iguration::ExposedToAllScripts}, 10951 {"raisesExceptionVoidMethodTestCallbackInterfaceArg", TestObjectV8Internal:: raisesExceptionVoidMethodTestCallbackInterfaceArgMethodCallback, 0, 1, V8DOMConf iguration::ExposedToAllScripts},
10866 {"raisesExceptionVoidMethodOptionalTestCallbackInterfaceArg", TestObjectV8In ternal::raisesExceptionVoidMethodOptionalTestCallbackInterfaceArgMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 10952 {"raisesExceptionVoidMethodOptionalTestCallbackInterfaceArg", TestObjectV8In ternal::raisesExceptionVoidMethodOptionalTestCallbackInterfaceArgMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
10867 {"raisesExceptionTestInterfaceEmptyVoidMethod", TestObjectV8Internal::raises ExceptionTestInterfaceEmptyVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::E xposedToAllScripts}, 10953 {"raisesExceptionTestInterfaceEmptyVoidMethod", TestObjectV8Internal::raises ExceptionTestInterfaceEmptyVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::E xposedToAllScripts},
10868 {"callWithExecutionContextRaisesExceptionVoidMethodLongArg", TestObjectV8Int ernal::callWithExecutionContextRaisesExceptionVoidMethodLongArgMethodCallback, 0 , 1, V8DOMConfiguration::ExposedToAllScripts}, 10954 {"callWithExecutionContextRaisesExceptionVoidMethodLongArg", TestObjectV8Int ernal::callWithExecutionContextRaisesExceptionVoidMethodLongArgMethodCallback, 0 , 1, V8DOMConfiguration::ExposedToAllScripts},
10869 {"partiallyRuntimeEnabledOverloadedVoidMethod", TestObjectV8Internal::partia llyRuntimeEnabledOverloadedVoidMethodMethodCallback, 0, 1, V8DOMConfiguration::E xposedToAllScripts},
10870 {"treatReturnedNullStringAsNullStringMethod", TestObjectV8Internal::treatRet urnedNullStringAsNullStringMethodMethodCallback, 0, 0, V8DOMConfiguration::Expos edToAllScripts}, 10955 {"treatReturnedNullStringAsNullStringMethod", TestObjectV8Internal::treatRet urnedNullStringAsNullStringMethodMethodCallback, 0, 0, V8DOMConfiguration::Expos edToAllScripts},
10871 {"treatReturnedNullStringAsUndefinedStringMethod", TestObjectV8Internal::tre atReturnedNullStringAsUndefinedStringMethodMethodCallback, 0, 0, V8DOMConfigurat ion::ExposedToAllScripts}, 10956 {"treatReturnedNullStringAsUndefinedStringMethod", TestObjectV8Internal::tre atReturnedNullStringAsUndefinedStringMethodMethodCallback, 0, 0, V8DOMConfigurat ion::ExposedToAllScripts},
10872 {"treatReturnedNullStringAsNullByteStringMethod", TestObjectV8Internal::trea tReturnedNullStringAsNullByteStringMethodMethodCallback, 0, 0, V8DOMConfiguratio n::ExposedToAllScripts}, 10957 {"treatReturnedNullStringAsNullByteStringMethod", TestObjectV8Internal::trea tReturnedNullStringAsNullByteStringMethodMethodCallback, 0, 0, V8DOMConfiguratio n::ExposedToAllScripts},
10873 {"treatReturnedNullStringAsUndefinedByteStringMethod", TestObjectV8Internal: :treatReturnedNullStringAsUndefinedByteStringMethodMethodCallback, 0, 0, V8DOMCo nfiguration::ExposedToAllScripts}, 10958 {"treatReturnedNullStringAsUndefinedByteStringMethod", TestObjectV8Internal: :treatReturnedNullStringAsUndefinedByteStringMethodMethodCallback, 0, 0, V8DOMCo nfiguration::ExposedToAllScripts},
10874 {"treatReturnedNullStringAsNullUSVStringMethod", TestObjectV8Internal::treat ReturnedNullStringAsNullUSVStringMethodMethodCallback, 0, 0, V8DOMConfiguration: :ExposedToAllScripts}, 10959 {"treatReturnedNullStringAsNullUSVStringMethod", TestObjectV8Internal::treat ReturnedNullStringAsNullUSVStringMethodMethodCallback, 0, 0, V8DOMConfiguration: :ExposedToAllScripts},
10875 {"treatReturnedNullStringAsUndefinedUSVStringMethod", TestObjectV8Internal:: treatReturnedNullStringAsUndefinedUSVStringMethodMethodCallback, 0, 0, V8DOMConf iguration::ExposedToAllScripts}, 10960 {"treatReturnedNullStringAsUndefinedUSVStringMethod", TestObjectV8Internal:: treatReturnedNullStringAsUndefinedUSVStringMethodMethodCallback, 0, 0, V8DOMConf iguration::ExposedToAllScripts},
10876 {"typeCheckingInterfaceVoidMethodTestInterfaceEmptyArg", TestObjectV8Interna l::typeCheckingInterfaceVoidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, V8D OMConfiguration::ExposedToAllScripts}, 10961 {"typeCheckingInterfaceVoidMethodTestInterfaceEmptyArg", TestObjectV8Interna l::typeCheckingInterfaceVoidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, V8D OMConfiguration::ExposedToAllScripts},
10877 {"typeCheckingInterfaceVoidMethodTestInterfaceEmptyVariadicArg", TestObjectV 8Internal::typeCheckingInterfaceVoidMethodTestInterfaceEmptyVariadicArgMethodCal lback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 10962 {"typeCheckingInterfaceVoidMethodTestInterfaceEmptyVariadicArg", TestObjectV 8Internal::typeCheckingInterfaceVoidMethodTestInterfaceEmptyVariadicArgMethodCal lback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
10878 {"useToImpl4ArgumentsCheckingIfPossibleWithOptionalArg", TestObjectV8Interna l::useToImpl4ArgumentsCheckingIfPossibleWithOptionalArgMethodCallback, 0, 1, V8D OMConfiguration::ExposedToAllScripts}, 10963 {"useToImpl4ArgumentsCheckingIfPossibleWithOptionalArg", TestObjectV8Interna l::useToImpl4ArgumentsCheckingIfPossibleWithOptionalArgMethodCallback, 0, 1, V8D OMConfiguration::ExposedToAllScripts},
10879 {"useToImpl4ArgumentsCheckingIfPossibleWithNullableArg", TestObjectV8Interna l::useToImpl4ArgumentsCheckingIfPossibleWithNullableArgMethodCallback, 0, 2, V8D OMConfiguration::ExposedToAllScripts}, 10964 {"useToImpl4ArgumentsCheckingIfPossibleWithNullableArg", TestObjectV8Interna l::useToImpl4ArgumentsCheckingIfPossibleWithNullableArgMethodCallback, 0, 2, V8D OMConfiguration::ExposedToAllScripts},
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
10963 COMPILE_ASSERT(0X20 == TestObject::CONST_VALUE_13, TheValueOfTestObject_CONS T_VALUE_13DoesntMatchWithImplementation); 11048 COMPILE_ASSERT(0X20 == TestObject::CONST_VALUE_13, TheValueOfTestObject_CONS T_VALUE_13DoesntMatchWithImplementation);
10964 COMPILE_ASSERT(0x1abc == TestObject::CONST_VALUE_14, TheValueOfTestObject_CO NST_VALUE_14DoesntMatchWithImplementation); 11049 COMPILE_ASSERT(0x1abc == TestObject::CONST_VALUE_14, TheValueOfTestObject_CO NST_VALUE_14DoesntMatchWithImplementation);
10965 COMPILE_ASSERT(010 == TestObject::CONST_VALUE_15, TheValueOfTestObject_CONST _VALUE_15DoesntMatchWithImplementation); 11050 COMPILE_ASSERT(010 == TestObject::CONST_VALUE_15, TheValueOfTestObject_CONST _VALUE_15DoesntMatchWithImplementation);
10966 COMPILE_ASSERT(-010 == TestObject::CONST_VALUE_16, TheValueOfTestObject_CONS T_VALUE_16DoesntMatchWithImplementation); 11051 COMPILE_ASSERT(-010 == TestObject::CONST_VALUE_16, TheValueOfTestObject_CONS T_VALUE_16DoesntMatchWithImplementation);
10967 COMPILE_ASSERT(-0x1A == TestObject::CONST_VALUE_16, TheValueOfTestObject_CON ST_VALUE_16DoesntMatchWithImplementation); 11052 COMPILE_ASSERT(-0x1A == TestObject::CONST_VALUE_16, TheValueOfTestObject_CON ST_VALUE_16DoesntMatchWithImplementation);
10968 COMPILE_ASSERT(-0X1a == TestObject::CONST_VALUE_17, TheValueOfTestObject_CON ST_VALUE_17DoesntMatchWithImplementation); 11053 COMPILE_ASSERT(-0X1a == TestObject::CONST_VALUE_17, TheValueOfTestObject_CON ST_VALUE_17DoesntMatchWithImplementation);
10969 COMPILE_ASSERT(1 == TestObject::DEPRECATED_CONSTANT, TheValueOfTestObject_DE PRECATED_CONSTANTDoesntMatchWithImplementation); 11054 COMPILE_ASSERT(1 == TestObject::DEPRECATED_CONSTANT, TheValueOfTestObject_DE PRECATED_CONSTANTDoesntMatchWithImplementation);
10970 COMPILE_ASSERT(1 == TestObject::MEASURED_CONSTANT, TheValueOfTestObject_MEAS URED_CONSTANTDoesntMatchWithImplementation); 11055 COMPILE_ASSERT(1 == TestObject::MEASURED_CONSTANT, TheValueOfTestObject_MEAS URED_CONSTANTDoesntMatchWithImplementation);
10971 COMPILE_ASSERT(1 == TestObject::FEATURE_ENABLED_CONST, TheValueOfTestObject_ FEATURE_ENABLED_CONSTDoesntMatchWithImplementation); 11056 COMPILE_ASSERT(1 == TestObject::FEATURE_ENABLED_CONST, TheValueOfTestObject_ FEATURE_ENABLED_CONSTDoesntMatchWithImplementation);
10972 COMPILE_ASSERT(1 == TestObject::CONST_IMPL, TheValueOfTestObject_CONST_IMPLD oesntMatchWithImplementation); 11057 COMPILE_ASSERT(1 == TestObject::CONST_IMPL, TheValueOfTestObject_CONST_IMPLD oesntMatchWithImplementation);
10973 static const V8DOMConfiguration::MethodConfiguration staticVoidMethodMethodC onfiguration = { 11058 const V8DOMConfiguration::MethodConfiguration staticVoidMethodMethodConfigur ation = {
10974 "staticVoidMethod", TestObjectV8Internal::staticVoidMethodMethodCallback , 0, 0, V8DOMConfiguration::ExposedToAllScripts, 11059 "staticVoidMethod", TestObjectV8Internal::staticVoidMethodMethodCallback , 0, 0, V8DOMConfiguration::ExposedToAllScripts,
10975 }; 11060 };
10976 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature> (), v8::None, staticVoidMethodMethodConfiguration, isolate); 11061 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature> (), v8::None, staticVoidMethodMethodConfiguration, isolate);
10977 static const V8DOMConfiguration::MethodConfiguration overloadedStaticMethodM ethodConfiguration = { 11062 const V8DOMConfiguration::MethodConfiguration overloadedStaticMethodMethodCo nfiguration = {
10978 "overloadedStaticMethod", TestObjectV8Internal::overloadedStaticMethodMe thodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScripts, 11063 "overloadedStaticMethod", TestObjectV8Internal::overloadedStaticMethodMe thodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScripts,
10979 }; 11064 };
10980 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature> (), v8::None, overloadedStaticMethodMethodConfiguration, isolate); 11065 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature> (), v8::None, overloadedStaticMethodMethodConfiguration, isolate);
10981 #if ENABLE(CONDITION) 11066 #if ENABLE(CONDITION)
10982 static const V8DOMConfiguration::MethodConfiguration conditionalConditionSta ticVoidMethodMethodConfiguration = { 11067 const V8DOMConfiguration::MethodConfiguration conditionalConditionStaticVoid MethodMethodConfiguration = {
10983 "conditionalConditionStaticVoidMethod", TestObjectV8Internal::conditiona lConditionStaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAll Scripts, 11068 "conditionalConditionStaticVoidMethod", TestObjectV8Internal::conditiona lConditionStaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAll Scripts,
10984 }; 11069 };
10985 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature> (), v8::None, conditionalConditionStaticVoidMethodMethodConfiguration, isolate); 11070 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature> (), v8::None, conditionalConditionStaticVoidMethodMethodConfiguration, isolate);
10986 #endif // ENABLE(CONDITION) 11071 #endif // ENABLE(CONDITION)
10987 static const V8DOMConfiguration::MethodConfiguration doNotCheckSignatureVoid MethodMethodConfiguration = { 11072 const V8DOMConfiguration::MethodConfiguration doNotCheckSignatureVoidMethodM ethodConfiguration = {
10988 "doNotCheckSignatureVoidMethod", TestObjectV8Internal::doNotCheckSignatu reVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, 11073 "doNotCheckSignatureVoidMethod", TestObjectV8Internal::doNotCheckSignatu reVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts,
10989 }; 11074 };
10990 V8DOMConfiguration::installMethod(prototypeTemplate, v8::Local<v8::Signature >(), v8::None, doNotCheckSignatureVoidMethodMethodConfiguration, isolate); 11075 V8DOMConfiguration::installMethod(prototypeTemplate, v8::Local<v8::Signature >(), v8::None, doNotCheckSignatureVoidMethodMethodConfiguration, isolate);
10991 static const V8DOMConfiguration::MethodConfiguration notEnumerableVoidMethod MethodConfiguration = { 11076 const V8DOMConfiguration::MethodConfiguration notEnumerableVoidMethodMethodC onfiguration = {
10992 "notEnumerableVoidMethod", TestObjectV8Internal::notEnumerableVoidMethod MethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, 11077 "notEnumerableVoidMethod", TestObjectV8Internal::notEnumerableVoidMethod MethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts,
10993 }; 11078 };
10994 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, stati c_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), notEnumerableVoidM ethodMethodConfiguration, isolate); 11079 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, stati c_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), notEnumerableVoidM ethodMethodConfiguration, isolate);
10995 if (RuntimeEnabledFeatures::featureNameEnabled()) { 11080 if (RuntimeEnabledFeatures::featureNameEnabled()) {
10996 static const V8DOMConfiguration::MethodConfiguration runtimeEnabledVoidM ethodMethodConfiguration = { 11081 const V8DOMConfiguration::MethodConfiguration runtimeEnabledVoidMethodMe thodConfiguration = {
10997 "runtimeEnabledVoidMethod", TestObjectV8Internal::runtimeEnabledVoid MethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, 11082 "runtimeEnabledVoidMethod", TestObjectV8Internal::runtimeEnabledVoid MethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts,
10998 }; 11083 };
10999 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v 8::None, runtimeEnabledVoidMethodMethodConfiguration, isolate); 11084 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v 8::None, runtimeEnabledVoidMethodMethodConfiguration, isolate);
11000 } 11085 }
11001 if (RuntimeEnabledFeatures::featureNameEnabled()) { 11086 if (RuntimeEnabledFeatures::featureNameEnabled()) {
11002 static const V8DOMConfiguration::MethodConfiguration perWorldBindingsRun timeEnabledVoidMethodMethodConfiguration = { 11087 const V8DOMConfiguration::MethodConfiguration perWorldBindingsRuntimeEna bledVoidMethodMethodConfiguration = {
11003 "perWorldBindingsRuntimeEnabledVoidMethod", TestObjectV8Internal::pe rWorldBindingsRuntimeEnabledVoidMethodMethodCallback, TestObjectV8Internal::perW orldBindingsRuntimeEnabledVoidMethodMethodCallbackForMainWorld, 0, V8DOMConfigur ation::ExposedToAllScripts, 11088 "perWorldBindingsRuntimeEnabledVoidMethod", TestObjectV8Internal::pe rWorldBindingsRuntimeEnabledVoidMethodMethodCallback, TestObjectV8Internal::perW orldBindingsRuntimeEnabledVoidMethodMethodCallbackForMainWorld, 0, V8DOMConfigur ation::ExposedToAllScripts,
11004 }; 11089 };
11005 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v 8::None, perWorldBindingsRuntimeEnabledVoidMethodMethodConfiguration, isolate); 11090 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v 8::None, perWorldBindingsRuntimeEnabledVoidMethodMethodConfiguration, isolate);
11006 } 11091 }
11007 if (RuntimeEnabledFeatures::featureNameEnabled()) { 11092 if (RuntimeEnabledFeatures::featureNameEnabled()) {
11008 static const V8DOMConfiguration::MethodConfiguration runtimeEnabledOverl oadedVoidMethodMethodConfiguration = { 11093 const V8DOMConfiguration::MethodConfiguration runtimeEnabledOverloadedVo idMethodMethodConfiguration = {
11009 "runtimeEnabledOverloadedVoidMethod", TestObjectV8Internal::runtimeE nabledOverloadedVoidMethodMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAll Scripts, 11094 "runtimeEnabledOverloadedVoidMethod", TestObjectV8Internal::runtimeE nabledOverloadedVoidMethodMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAll Scripts,
11010 }; 11095 };
11011 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v 8::None, runtimeEnabledOverloadedVoidMethodMethodConfiguration, isolate); 11096 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v 8::None, runtimeEnabledOverloadedVoidMethodMethodConfiguration, isolate);
11012 } 11097 }
11013 static const V8DOMConfiguration::MethodConfiguration unforgeableVoidMethodMe thodConfiguration = { 11098 const V8DOMConfiguration::MethodConfiguration partiallyRuntimeEnabledOverloa dedVoidMethodMethodConfiguration = {
11099 "partiallyRuntimeEnabledOverloadedVoidMethod", TestObjectV8Internal::par tiallyRuntimeEnabledOverloadedVoidMethodMethodCallback, 0, TestObjectV8Internal: :partiallyRuntimeEnabledOverloadedVoidMethodMethodLength(), V8DOMConfiguration:: ExposedToAllScripts,
11100 };
11101 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v8::N one, partiallyRuntimeEnabledOverloadedVoidMethodMethodConfiguration, isolate);
11102 const V8DOMConfiguration::MethodConfiguration unforgeableVoidMethodMethodCon figuration = {
11014 "unforgeableVoidMethod", TestObjectV8Internal::unforgeableVoidMethodMeth odCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, 11103 "unforgeableVoidMethod", TestObjectV8Internal::unforgeableVoidMethodMeth odCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts,
11015 }; 11104 };
11016 V8DOMConfiguration::installMethod(instanceTemplate, defaultSignature, static _cast<v8::PropertyAttribute>(v8::DontDelete | v8::ReadOnly), unforgeableVoidMeth odMethodConfiguration, isolate); 11105 V8DOMConfiguration::installMethod(instanceTemplate, defaultSignature, static _cast<v8::PropertyAttribute>(v8::DontDelete | v8::ReadOnly), unforgeableVoidMeth odMethodConfiguration, isolate);
11017 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticStrin gAttribute"), TestObjectV8Internal::staticStringAttributeAttributeGetterCallback , TestObjectV8Internal::staticStringAttributeAttributeSetterCallback, v8::Extern al::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8 ::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); 11106 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticStrin gAttribute"), TestObjectV8Internal::staticStringAttributeAttributeGetterCallback , TestObjectV8Internal::staticStringAttributeAttributeSetterCallback, v8::Extern al::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8 ::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT));
11018 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticLongA ttribute"), TestObjectV8Internal::staticLongAttributeAttributeGetterCallback, Te stObjectV8Internal::staticLongAttributeAttributeSetterCallback, v8::External::Ne w(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::Acce ssorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); 11107 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticLongA ttribute"), TestObjectV8Internal::staticLongAttributeAttributeGetterCallback, Te stObjectV8Internal::staticLongAttributeAttributeSetterCallback, v8::External::Ne w(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::Acce ssorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT));
11019 11108
11020 // Custom toString template 11109 // Custom toString template
11021 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate()); 11110 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate());
11022 } 11111 }
11023 11112
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
11550 return false; 11639 return false;
11551 11640
11552 ScriptState::Scope scope(scriptState); 11641 ScriptState::Scope scope(scriptState);
11553 v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Glob al(), scriptState->isolate()); 11642 v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Glob al(), scriptState->isolate());
11554 11643
11555 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate Script", "TestObject", scriptState->context()->Global(), scriptState->isolate()) ; 11644 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate Script", "TestObject", scriptState->context()->Global(), scriptState->isolate()) ;
11556 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState-> isolate(), cppValue)); 11645 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState-> isolate(), cppValue));
11557 } 11646 }
11558 11647
11559 } // namespace blink 11648 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/V8TestInterface.cpp ('k') | Source/bindings/tests/results/modules/V8TestInterface5.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698