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

Unified Diff: chrome/browser/resources/chromeos/chromevox/testing/chromevox_e2e_test_base.js

Issue 2008773002: Begin using ChromeVox Next to read tab and window titles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a bunch of tests. Created 4 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/browser/resources/chromeos/chromevox/testing/chromevox_e2e_test_base.js
diff --git a/chrome/browser/resources/chromeos/chromevox/testing/chromevox_e2e_test_base.js b/chrome/browser/resources/chromeos/chromevox/testing/chromevox_e2e_test_base.js
index d9d508957a5a7b2960d6a05d90a9b695e152629e..2ebc2a7ca7de96700170fed8e91c22db76d6db12 100644
--- a/chrome/browser/resources/chromeos/chromevox/testing/chromevox_e2e_test_base.js
+++ b/chrome/browser/resources/chromeos/chromevox/testing/chromevox_e2e_test_base.js
@@ -77,10 +77,7 @@ ChromeVoxE2ETest.prototype = {
* document is created.
*/
runWithTab: function(doc, opt_callback) {
- var docString = TestUtils.extractHtmlFromCommentEncodedString(doc);
- var url = 'data:text/html,<!doctype html>' +
- docString +
- '<!-- chromevox_next_test -->';
+ var url = TestUtils.createUrlForDoc(doc);
var createParams = {
active: true,
url: url

Powered by Google App Engine
This is Rietveld 408576698