New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 804371 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Last visit 28 days ago
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Page.reload() hangs after a form submission with no way to override

Reported by max.mais...@gmail.com, Jan 22 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36

Steps to reproduce the problem:
1. Load a page with a form on it
2. Submit the form by clicking a button getting a non-redirected response
3. call Page.reload()

Chrome when run with a head will pop up a "Should I resubmit this information?" dialog box that cannot be caught in the Chrome DevTools, thus hanging the automation process. Chrome headless will not show any indication but simply hang.

What is the expected behavior?
Either the resubmit question should not pop up when calling Page.reload() or it should be signalled, possibly through
a Page.javascriptDialogOpening() message

What went wrong?
Page.javascriptDialogOpening is not called and the new popup on Page.reload() blocks any DevTools client.

Did this work before? Yes Chromium 65.0.3317.0

Chrome version: 66.0.3239.0  Channel: dev
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

It is only a regression in the sense that half of a new feature has landed but that new feature irreparably breaks other stuff until the supporting functionality has landed in Page.javascriptDialogOpening.
 

Comment 1 by l...@chromium.org, Jan 22 2018

Components: Internals>Headless
Owner: lushnikov@chromium.org
Status: Assigned (was: Unconfirmed)
lushnikov@, could you please take a look?

Sign in to add a comment