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

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

Issue 2650733002: Revert of Update json_schema_compiler to handle the Automation extension API (Closed)
Patch Set: 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/location.js
diff --git a/chrome/test/data/extensions/api_test/automation/tests/tabs/location.js b/chrome/test/data/extensions/api_test/automation/tests/tabs/location.js
index 628d2eef2f61d23b17004dd063cb3a8881867eb5..a4e48a51153004add7dbfb4222e6f5198e41cb22 100644
--- a/chrome/test/data/extensions/api_test/automation/tests/tabs/location.js
+++ b/chrome/test/data/extensions/api_test/automation/tests/tabs/location.js
@@ -5,7 +5,7 @@
var allTests = [
function testLocation() {
function assertOkButtonLocation(event) {
- var okButton = rootNode.find({ role: RoleType.BUTTON,
+ var okButton = rootNode.find({ role: RoleType.button,
attributes: { name: 'Ok' }});
assertTrue('location' in okButton);
@@ -25,7 +25,7 @@
assertTrue('width' in okButton.location, 'no width in location');
rootNode.addEventListener(
- EventType.CHILDREN_CHANGED, assertOkButtonLocation);
+ EventType.childrenChanged, assertOkButtonLocation);
chrome.tabs.executeScript({ 'code':
'document.querySelector("button")' +
'.setAttribute("style", "position: absolute; left: 100; top: 200; ' +

Powered by Google App Engine
This is Rietveld 408576698