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

Issue 2867613002: Fix HandleJavaScriptDialog. (Closed)

Created:
3 years, 7 months ago by Avi (use Gerrit)
Modified:
3 years, 7 months ago
Reviewers:
Nico
CC:
chromium-reviews, johnchen+watch_chromium.org, mac-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix HandleJavaScriptDialog. The new dialogs had a bug where they misinterpreted a null pointer in HandleJavaScriptDialog as a request to return an empty string rather than the contents in the dialog. Turning on the new dialogs for trunk revealed this on the Chromedriver bots, but there was no test coverage in Chromium proper to catch this. This change adds testing for HandleJavaScriptDialog in the Chromium repo, and fixes the bug. BUG=chromedriver:1792, 719551 TEST=re-enabled chromedriver test, new JavaScriptDialogTest.HandleJavaScriptDialog Review-Url: https://codereview.chromium.org/2867613002 Cr-Commit-Position: refs/heads/master@{#470020} Committed: https://chromium.googlesource.com/chromium/src/+/b38dc9a7d0f5457f892a031b407f0346b666430d

Patch Set 1 #

Messages

Total messages: 28 (18 generated)
Avi (use Gerrit)
3 years, 7 months ago (2017-05-06 23:22:04 UTC) #8
Nico
code lgtm, but please write a CL description (afaiu after reading the bug, something like ...
3 years, 7 months ago (2017-05-08 13:55:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2867613002/1
3 years, 7 months ago (2017-05-08 15:49:21 UTC) #18
Nico
On 2017/05/08 15:49:21, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
3 years, 7 months ago (2017-05-08 16:03:45 UTC) #19
Avi (use Gerrit)
On 2017/05/08 16:03:45, Nico wrote: > On 2017/05/08 15:49:21, commit-bot: I haz the power wrote: ...
3 years, 7 months ago (2017-05-08 16:05:39 UTC) #20
Nico
Cl descriptions are for people reading them years later, wondering why a change was made. ...
3 years, 7 months ago (2017-05-08 16:12:07 UTC) #21
Nico
See also https://www.chromium.org/developers/contributing-code#TOC-Writing-change-list-descriptions On May 8, 2017 12:12 PM, "Nico Weber" <thakis@chromium.org> wrote: > Cl ...
3 years, 7 months ago (2017-05-08 16:16:04 UTC) #22
Avi (use Gerrit)
On 2017/05/08 16:16:04, Nico wrote: > See also > https://www.chromium.org/developers/contributing-code#TOC-Writing-change-list-descriptions > > On May 8, ...
3 years, 7 months ago (2017-05-08 16:20:11 UTC) #24
Nico
On 2017/05/08 16:20:11, Avi (ping after 24h) wrote: > On 2017/05/08 16:16:04, Nico wrote: > ...
3 years, 7 months ago (2017-05-08 16:23:21 UTC) #25
commit-bot: I haz the power
3 years, 7 months ago (2017-05-08 16:55:23 UTC) #28
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/b38dc9a7d0f5457f892a031b407f...

Powered by Google App Engine
This is Rietveld 408576698