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

Issue 816343004: Send an ack msg to a parent iframe when setting iframe ids for ChromeVox. (Closed)

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

Description

Send an ack msg to a parent iframe when setting iframe ids for ChromeVox. This fixes a few cases in which ChromeVox gets stuck when entering or exiting an iframe: - during continuous reading, multiple inter frame messages get sent - on some iframes, even though there's a valid src, ChromeVox isn't injected; this results in the outer ChromeVox continuously messaging into an iframe with out ChromeVox running. This occurs typically with dymaically loaded iframes. TEST=manual; create a page with an iframe src='http://www.google.com'; previously, ChromeVox gets stuck trying to enter the iframe. Now, it should skip it. On MacRumors.com, attempt to enter one of the iframes containing YouTube content; perform continuous read immediately before the content. Should no longer get stuck. Committed: https://crrev.com/76fc11f0408b05ecf3177953401f5a746ef53f61 Cr-Commit-Position: refs/heads/master@{#309460}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -11 lines) Patch
M chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.js View 1 8 chunks +27 lines, -10 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/chromevox/injected/serializer.js View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/common/interframe.js View 4 chunks +28 lines, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
David Tseng
6 years ago (2014-12-22 18:38:11 UTC) #2
dmazzoni
Thanks for fixing this! https://codereview.chromium.org/816343004/diff/1/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.js File chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.js (right): https://codereview.chromium.org/816343004/diff/1/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.js#newcode1182 chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.js:1182: this.iframeRetries_ = 0; This logic ...
6 years ago (2014-12-22 19:18:26 UTC) #3
David Tseng
https://codereview.chromium.org/816343004/diff/1/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.js File chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.js (right): https://codereview.chromium.org/816343004/diff/1/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.js#newcode1182 chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.js:1182: this.iframeRetries_ = 0; On 2014/12/22 19:18:25, dmazzoni wrote: > ...
6 years ago (2014-12-22 19:28:57 UTC) #4
dmazzoni
lgtm
6 years ago (2014-12-22 19:35:01 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/816343004/20001
6 years ago (2014-12-22 19:41:11 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years ago (2014-12-22 20:59:36 UTC) #8
commit-bot: I haz the power
6 years ago (2014-12-22 21:00:26 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/76fc11f0408b05ecf3177953401f5a746ef53f61
Cr-Commit-Position: refs/heads/master@{#309460}

Powered by Google App Engine
This is Rietveld 408576698