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

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

Issue 2601333002: Update json_schema_compiler to handle the Automation extension API (Closed)
Patch Set: Fix select_to_speak 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/image_data.js
diff --git a/chrome/test/data/extensions/api_test/automation/tests/tabs/image_data.js b/chrome/test/data/extensions/api_test/automation/tests/tabs/image_data.js
index d98296ef7651cc6160ae3de79e240792a1302bba..cdc94c27655e0b2bae801f2e270d8bad9477a5fd 100644
--- a/chrome/test/data/extensions/api_test/automation/tests/tabs/image_data.js
+++ b/chrome/test/data/extensions/api_test/automation/tests/tabs/image_data.js
@@ -4,8 +4,8 @@
var allTests = [
function testGetImageData() {
- var image = rootNode.find({ role: RoleType.image });
- image.addEventListener(EventType.imageFrameUpdated, function() {
+ var image = rootNode.find({ role: RoleType.IMAGE });
+ image.addEventListener(EventType.IMAGE_FRAME_UPDATED, function() {
assertEq(image.imageDataUrl.substr(0, 22), 'data:image/png;base64,');
var imgElement = document.createElement('img');
imgElement.src = image.imageDataUrl;

Powered by Google App Engine
This is Rietveld 408576698