| 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 f63c00bc5156eedc97a249c9f32dd394148b1dd1..6190449c7ec82602310d390f79034afac2759d1a 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 button = rootNode.find({role: 'button'});
|
| assertEq(rootNode, button.root);
|
|
|
| - rootNode.addEventListener('destroyed', function() {
|
| + rootNode.addEventListener(EventType.destroyed, function() {
|
| // Poll until the root node doesn't have a role anymore
|
| // indicating that it really did get cleaned up.
|
| function checkSuccess() {
|
|
|