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

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

Issue 304293002: Add human readable programmatic enum name/values to chrome.automation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Last feedback. Created 6 years, 7 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 c05fdad4880628863a128845321fa741f95d9cde..da6d71c8890372d193ecb3f9beb8e4961dc4b425 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
@@ -19,7 +19,8 @@ var allTests = [
assertTrue('height' in okButton.location, 'no height in location');
assertTrue('width' in okButton.location, 'no width in location');
- tree.root.addEventListener('childrenChanged', assertOkButtonLocation);
+ tree.root.addEventListener(
+ 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