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

Issue 2074513002: Parse meta tag that disables ChromeVox content script and forces compat mode. (Closed)

Created:
4 years, 6 months ago by dmazzoni
Modified:
4 years, 6 months ago
Reviewers:
David Tseng
CC:
chromium-reviews, oshima+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, arv+watch_chromium.org, dtseng+watch_chromium.org, dmazzoni+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Parse meta tag that disables ChromeVox content script and forces compat mode. Users can now add this HTML snippet to their document HEAD to ensure that ChromeVox only uses Next or Compat mode with that url. <meta name="chromevox" content-script="no"> BUG=619736 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/d7c818035c58437b1a3f6d428d81f561c8307d0c Cr-Commit-Position: refs/heads/master@{#400794}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Only kill Classic in current tab #

Total comments: 2

Patch Set 3 : Force next should disable ChromeVox everywhere #

Total comments: 6

Patch Set 4 : Address last feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -10 lines) Patch
M chrome/browser/resources/chromeos/chromevox/chromevox/injected/externs.js View 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/chromevox/injected/init_document.js View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js View 1 2 3 5 chunks +41 lines, -10 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
dmazzoni
4 years, 6 months ago (2016-06-15 22:34:27 UTC) #3
David Tseng
lgtm https://codereview.chromium.org/2074513002/diff/1/chrome/browser/resources/chromeos/chromevox/chromevox/injected/init_document.js File chrome/browser/resources/chromeos/chromevox/chromevox/injected/init_document.js (right): https://codereview.chromium.org/2074513002/diff/1/chrome/browser/resources/chromeos/chromevox/chromevox/injected/init_document.js#newcode88 chrome/browser/resources/chromeos/chromevox/chromevox/injected/init_document.js:88: document.querySelectorAll('head meta[name="chromevox"]').forEach( Could you do: document.head.querySelectorAll(... https://codereview.chromium.org/2074513002/diff/1/chrome/browser/resources/chromeos/chromevox/chromevox/injected/init_document.js#newcode90 chrome/browser/resources/chromeos/chromevox/chromevox/injected/init_document.js:90: ...
4 years, 6 months ago (2016-06-15 22:50:17 UTC) #4
dmazzoni
Feedback addressed, and also made it so that it only disables Classic in the current ...
4 years, 6 months ago (2016-06-16 20:00:06 UTC) #5
David Tseng
https://codereview.chromium.org/2074513002/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js (right): https://codereview.chromium.org/2074513002/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js#newcode255 chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js:255: this.disableClassicChromeVox_(tabs); If setting force next mode, we do want ...
4 years, 6 months ago (2016-06-16 21:36:33 UTC) #6
dmazzoni
https://codereview.chromium.org/2074513002/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js (right): https://codereview.chromium.org/2074513002/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js#newcode255 chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js:255: this.disableClassicChromeVox_(tabs); On 2016/06/16 21:36:33, David Tseng wrote: > If ...
4 years, 6 months ago (2016-06-17 22:20:38 UTC) #7
David Tseng
lgtm https://codereview.chromium.org/2074513002/diff/40001/chrome/browser/resources/chromeos/chromevox/chromevox/injected/init_document.js File chrome/browser/resources/chromeos/chromevox/chromevox/injected/init_document.js (right): https://codereview.chromium.org/2074513002/diff/40001/chrome/browser/resources/chromeos/chromevox/chromevox/injected/init_document.js#newcode98 chrome/browser/resources/chromeos/chromevox/chromevox/injected/init_document.js:98: window.console.log('Disabling ChromeVox content script due to meta tag.'); ...
4 years, 6 months ago (2016-06-20 16:26:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2074513002/60001
4 years, 6 months ago (2016-06-20 20:06:06 UTC) #11
dmazzoni
https://codereview.chromium.org/2074513002/diff/40001/chrome/browser/resources/chromeos/chromevox/chromevox/injected/init_document.js File chrome/browser/resources/chromeos/chromevox/chromevox/injected/init_document.js (right): https://codereview.chromium.org/2074513002/diff/40001/chrome/browser/resources/chromeos/chromevox/chromevox/injected/init_document.js#newcode98 chrome/browser/resources/chromeos/chromevox/chromevox/injected/init_document.js:98: window.console.log('Disabling ChromeVox content script due to meta tag.'); On ...
4 years, 6 months ago (2016-06-20 20:06:24 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-20 21:43:38 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-06-20 21:45:33 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d7c818035c58437b1a3f6d428d81f561c8307d0c
Cr-Commit-Position: refs/heads/master@{#400794}

Powered by Google App Engine
This is Rietveld 408576698