[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [konqueror] [Bug 313447] Konqueror crashes on opening a new window
From:       kavol <kavol () seznam ! cz>
Date:       2013-01-20 9:36:27
Message-ID: bug-313447-5021-ZnfPCoIJe4 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=313447

--- Comment #6 from kavol <kavol@seznam.cz> ---
(In reply to comment #5)
> I do not see any of the text you listed in the steps above, but that does
> not matter since I won't be able to login into a banking website.

yes, the text appears only after successful login

...
> > webkit
> 
> That is baffling because the crash happens in khtml! If webkit is your
> default engine, then I do not see how this request can end up in the khtml
> engine.

I remember, some time ago, there was a problem that Konqueror switched engines
involuntarily ... probably, this has something to do with it?

> Are you sure you are not switching between khtml and webkit using
> the "View" menu ?

it crashes before I have any opportunity to switch the engine for the new
window, if you ask about this

if I switch to KHTML manually in the original window *before* clicking "Platba
do ČR a SR" then it works as expected

> No matter what I tried I was unable to reproduce the problem, but then again
> I cannot login into the website in question.

they have some demo but you have to register[1] with lot's of personal info ...
probably you can fake it ...

> If not, I do not understand how khtml gets loaded except for the default
> "Introduction page" which you can change (Settings->Configure Konqueror
> ->General) to something like "Show blank page".

now this may be a clue - if you look at the code, there is:

<a href='dz-filler.cgi?SUBMIT=PREVOD&amp;ID_ucet=...' onclick="okno(650, 450,
'dz_orders')" target='dz_orders'>Platba do ČR a SR</a>

function okno( height, width, cil ) { var w;
    w=window.open ( "/ib/empty.html", cil,
"toolbar=n,height="+height+",width="+width+",resizable=1,scrollbars=1" );
    w.focus(this);
}


now, just a wild uninformed guess, doesn't the combination of using "target="
with a window label that doesn't exist yet together with "window.open" refering
to a blank page trick Konqueror into thinking that it needs to load the
"introductory page" for which, if I get you right, it uses KHTML?


just for comparison, the default blank page gives this source:

<html><head><title>about:blank</title></head><body></body></html>

while empty.html reads:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"><html><head></head>
<body>

</body></html>


[1] https://www.fio.cz/bankovni-sluzby/internetbanking/demo-internetbanking

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic