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

Unified Diff: chrome/test/data/extensions/api_test/automation/tests/tabs/close_tab.js

Issue 2601333002: Update json_schema_compiler to handle the Automation extension API (Closed)
Patch Set: Rebase Created 3 years, 11 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: chrome/test/data/extensions/api_test/automation/tests/tabs/close_tab.js
diff --git a/chrome/test/data/extensions/api_test/automation/tests/tabs/close_tab.js b/chrome/test/data/extensions/api_test/automation/tests/tabs/close_tab.js
index 6190449c7ec82602310d390f79034afac2759d1a..f63c00bc5156eedc97a249c9f32dd394148b1dd1 100644
--- a/chrome/test/data/extensions/api_test/automation/tests/tabs/close_tab.js
+++ b/chrome/test/data/extensions/api_test/automation/tests/tabs/close_tab.js
@@ -10,7 +10,7 @@ var allTests = [
var button = rootNode.find({role: 'button'});
assertEq(rootNode, button.root);
- rootNode.addEventListener(EventType.destroyed, function() {
+ rootNode.addEventListener('destroyed', function() {
// Poll until the root node doesn't have a role anymore
// indicating that it really did get cleaned up.
function checkSuccess() {

Powered by Google App Engine
This is Rietveld 408576698