Reviewed by Darin.
- fixed <rdar://problem/
3752509> Pop up windows not showing up within SAP's BW Module (changing location.href on new window created by window.open)
(actually the previous fix for this bug was mostly correct, but
this additional change is needed to avoid the regression in
<rdar://problem/
3751025> REGRESSION: website rejects Safari 125.9
as "need to upgrade to IE 6", but didn't reject 125.8
So if merging for a software update, make sure to include both
this and the previous fix.
* khtml/html/htmltokenizer.cpp:
(khtml::HTMLTokenizer::write): When there is an immediate reidrect pending,
make sure to stop tokenizing, because we need to make sure no further
script tags are processed beyond the one that triggered the redirect.
* khtml/khtml_part.cpp:
(KHTMLPart::isImmediateRedirectPending): New method to allow
checking if a redirect is pending.
* khtml/khtml_part.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7263
268f45cc-cd09-0410-ab3c-
d52691b4dbfc