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

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

Issue 1155183006: Reimplement automation API on top of C++-backed AXTree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@automation_faster_2
Patch Set: Copy observers Created 5 years, 6 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/tree_change.js
diff --git a/chrome/test/data/extensions/api_test/automation/tests/tabs/tree_change.js b/chrome/test/data/extensions/api_test/automation/tests/tabs/tree_change.js
index dcb1861b222a1f50288999326e97d845a28bdd47..19a14168075fdf170c8d8000ec1fd65f2543b78e 100644
--- a/chrome/test/data/extensions/api_test/automation/tests/tabs/tree_change.js
+++ b/chrome/test/data/extensions/api_test/automation/tests/tabs/tree_change.js
@@ -5,7 +5,7 @@
var allTests = [
function testTreeChangedObserverForCreatingNode() {
chrome.automation.addTreeChangeObserver(function(change) {
- if (change.type == "nodeCreated" && change.target.name == "New") {
+ if (change.type == "subtreeCreated" && change.target.name == "New") {
chrome.test.succeed();
}
});

Powered by Google App Engine
This is Rietveld 408576698