Bug 48724

Summary: [Qt] QWKPage::loadFinished is not emitted if document.open() is invoked on a new window
Product: WebKit Reporter: Kimmo Kinnunen <kimmo.t.kinnunen>
Component: WebKit2Assignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, commit-queue, eric, webkit.review.bot, zalan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
test-case
none
fix hanging UI state none

Description Kimmo Kinnunen 2010-10-31 04:13:20 PDT
Created attachment 72452 [details]
test-case

QWKPage::loadFinished is not emitted if document.open() is invoked on a new window.

Steps to reproduce:
1) open new window with js
2) use document.write or document.open on the new window doc
3) call document.close

Expected: QWKPage::loadFinished emitted

Result: QWKPage::loadFinished not emitted

Can be observed with MiniBrowser. MiniBrowser Stop -button remains active even if the page load has finished.

See attached test-case.
Comment 1 zalan 2010-11-26 08:23:00 PST
Created attachment 74941 [details]
fix hanging UI state

the root cause is tracked here: https://bugs.webkit.org/show_bug.cgi?id=50106
Comment 2 WebKit Commit Bot 2010-12-14 03:48:34 PST
Comment on attachment 74941 [details]
fix hanging UI state

Clearing flags on attachment: 74941

Committed r74013: <http://trac.webkit.org/changeset/74013>
Comment 3 WebKit Commit Bot 2010-12-14 03:48:39 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 WebKit Review Bot 2010-12-14 04:18:58 PST
http://trac.webkit.org/changeset/74013 might have broken Qt Linux Release
The following tests are not passing:
inspector/styles-source-offsets.html