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

Unified Diff: tests/ppapi_test_example/ppapi_test_example.js

Issue 7292002: Remove plugin connection to PPAPI scriptable objects (var deprecated). Also (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: tests/ppapi_test_example/ppapi_test_example.js
===================================================================
--- tests/ppapi_test_example/ppapi_test_example.js (revision 5984)
+++ tests/ppapi_test_example/ppapi_test_example.js (working copy)
@@ -9,11 +9,6 @@
// how to transition from synchronous scripting to postMessage as the test
// driving mechanism.
- // Before.
- tester.addTest('Example::SimpleSync', function() {
- assert(plugin.TestSimpleSync());
- });
-
// After.
polina 2011/07/12 08:58:01 forgot this one
sehr (please use chromium) 2011/07/12 16:44:23 Done.
tester.addAsyncTest('Example::SimpleAsync', function(status) {
polina 2011/07/12 08:58:01 Please drop Async in this file as well.
sehr (please use chromium) 2011/07/12 16:44:23 Done.
var messageListener = status.wrap(function(message) {
@@ -27,12 +22,6 @@
plugin.postMessage("TestSimpleAsync");
});
- // Before.
- tester.addTest('Example::CallbackSync', function(status) {
- status.assert(plugin.TestCallbackSync());
- status.waitForCallback('CallbackSync', 1);
- });
-
// After.
polina 2011/07/12 08:58:01 and this one
sehr (please use chromium) 2011/07/12 16:44:23 Done.
tester.addAsyncTest('Example::CallbackAsync', function(status) {
var gotPassed = false;

Powered by Google App Engine
This is Rietveld 408576698