| 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() {
|
|
|