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

Side by Side Diff: test/cctest/test-api.cc

Issue 23513004: remove old style callbacks (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: inlined a function used once Created 7 years, 3 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "objects.h" 46 #include "objects.h"
47 #include "parser.h" 47 #include "parser.h"
48 #include "platform.h" 48 #include "platform.h"
49 #include "snapshot.h" 49 #include "snapshot.h"
50 #include "unicode-inl.h" 50 #include "unicode-inl.h"
51 #include "utils.h" 51 #include "utils.h"
52 #include "vm-state.h" 52 #include "vm-state.h"
53 53
54 static const bool kLogThreading = false; 54 static const bool kLogThreading = false;
55 55
56 using ::v8::AccessorInfo;
57 using ::v8::Arguments;
58 using ::v8::Boolean; 56 using ::v8::Boolean;
59 using ::v8::BooleanObject; 57 using ::v8::BooleanObject;
60 using ::v8::Context; 58 using ::v8::Context;
61 using ::v8::Extension; 59 using ::v8::Extension;
62 using ::v8::Function; 60 using ::v8::Function;
63 using ::v8::FunctionTemplate; 61 using ::v8::FunctionTemplate;
64 using ::v8::Handle; 62 using ::v8::Handle;
65 using ::v8::HandleScope; 63 using ::v8::HandleScope;
66 using ::v8::Local; 64 using ::v8::Local;
67 using ::v8::Message; 65 using ::v8::Message;
(...skipping 20201 matching lines...) Expand 10 before | Expand all | Expand 10 after
20269 CheckCorrectThrow("%GetLocalPropertyNames(other, true)"); 20267 CheckCorrectThrow("%GetLocalPropertyNames(other, true)");
20270 CheckCorrectThrow("%DefineOrRedefineAccessorProperty(" 20268 CheckCorrectThrow("%DefineOrRedefineAccessorProperty("
20271 "other, 'x', null, null, 1)"); 20269 "other, 'x', null, null, 1)");
20272 20270
20273 // Reset the failed access check callback so it does not influence 20271 // Reset the failed access check callback so it does not influence
20274 // the other tests. 20272 // the other tests.
20275 v8::V8::SetFailedAccessCheckCallbackFunction(NULL); 20273 v8::V8::SetFailedAccessCheckCallbackFunction(NULL);
20276 } 20274 }
20277 20275
20278 #endif // WIN32 20276 #endif // WIN32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698