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

Side by Side Diff: ppapi/native_client/tests/ppapi_browser/ppp_instance/ppapi_ppp_instance.js

Issue 7778046: Update Native Client Authors to be Chromium Authors for the code moved from the (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 (c) 2011 The Native Client Authors. All rights reserved. 1 // Copyright (c) 2011 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 function startsWith(str, prefix) { 5 function startsWith(str, prefix) {
6 return (str.indexOf(prefix) === 0); 6 return (str.indexOf(prefix) === 0);
7 } 7 }
8 8
9 function setupTests(tester, plugin) { 9 function setupTests(tester, plugin) {
10 ////////////////////////////////////////////////////////////////////////////// 10 //////////////////////////////////////////////////////////////////////////////
11 // Test Helpers 11 // Test Helpers
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 }); 60 });
61 61
62 // PPP_Instance::HandleDocumentLoad is only used with full-frame plugins. 62 // PPP_Instance::HandleDocumentLoad is only used with full-frame plugins.
63 // This is tested in tests/ppapi_browser/extension_mime_handler/ 63 // This is tested in tests/ppapi_browser/extension_mime_handler/
64 64
65 // PPP_Instance::DidDestroy is never invoked in the untrusted code. 65 // PPP_Instance::DidDestroy is never invoked in the untrusted code.
66 // We could wait for a crash event from it, but CallOnMainThread semantics 66 // We could wait for a crash event from it, but CallOnMainThread semantics
67 // on shutdown are still buggy, so it might never come even if the function 67 // on shutdown are still buggy, so it might never come even if the function
68 // triggered. Plus waiting for something not to happen makes the test flaky. 68 // triggered. Plus waiting for something not to happen makes the test flaky.
69 } 69 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698