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

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

Issue 9414006: Temporarily disable known failing test to make builder cycle green. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 10 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
« no previous file with comments | « test/cctest/cctest.status ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 11043 matching lines...) Expand 10 before | Expand all | Expand 10 after
11054 v8::Handle<v8::String> h; 11054 v8::Handle<v8::String> h;
11055 11055
11056 static bool NamedGetAccessBlockAandH(Local<v8::Object> obj, 11056 static bool NamedGetAccessBlockAandH(Local<v8::Object> obj,
11057 Local<Value> name, 11057 Local<Value> name,
11058 v8::AccessType type, 11058 v8::AccessType type,
11059 Local<Value> data) { 11059 Local<Value> data) {
11060 return !(name->Equals(a) || name->Equals(h)); 11060 return !(name->Equals(a) || name->Equals(h));
11061 } 11061 }
11062 11062
11063 11063
11064 THREADED_TEST(TurnOnAccessCheckAndRecompile) { 11064 // TODO(1952): Enable this test for threading test once the underlying bug is
11065 // fixed.
11066 TEST(TurnOnAccessCheckAndRecompile) {
11065 v8::HandleScope handle_scope; 11067 v8::HandleScope handle_scope;
11066 11068
11067 // Create an environment with access check to the global object disabled by 11069 // Create an environment with access check to the global object disabled by
11068 // default. When the registered access checker will block access to properties 11070 // default. When the registered access checker will block access to properties
11069 // a and h 11071 // a and h
11070 a = v8_str("a"); 11072 a = v8_str("a");
11071 h = v8_str("h"); 11073 h = v8_str("h");
11072 v8::Handle<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New(); 11074 v8::Handle<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New();
11073 global_template->SetAccessCheckCallbacks(NamedGetAccessBlockAandH, 11075 global_template->SetAccessCheckCallbacks(NamedGetAccessBlockAandH,
11074 IndexedGetAccessBlocker, 11076 IndexedGetAccessBlocker,
(...skipping 5015 matching lines...) Expand 10 before | Expand all | Expand 10 after
16090 CompileRun("throw 'exception';"); 16092 CompileRun("throw 'exception';");
16091 } 16093 }
16092 16094
16093 16095
16094 TEST(CallCompletedCallbackTwoExceptions) { 16096 TEST(CallCompletedCallbackTwoExceptions) {
16095 v8::HandleScope scope; 16097 v8::HandleScope scope;
16096 LocalContext env; 16098 LocalContext env;
16097 v8::V8::AddCallCompletedCallback(CallCompletedCallbackException); 16099 v8::V8::AddCallCompletedCallback(CallCompletedCallbackException);
16098 CompileRun("throw 'first exception';"); 16100 CompileRun("throw 'first exception';");
16099 } 16101 }
OLDNEW
« no previous file with comments | « test/cctest/cctest.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698