Bug 22039 - javascript problems at www.maschbau-ac.de
Summary: javascript problems at www.maschbau-ac.de
Status: CLOSED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: kjs (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-10 10:48 UTC by Gunter Ohrner
Modified: 2002-09-16 14:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gunter Ohrner 2001-03-10 10:41:13 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kjs
Version:           KDE 2.1.0 
Severity:          normal
Installed from:    SuSE RPMs
Compiler:          gcc 2.95.2
OS:                Linux
OS/Compiler notes: SuSE Linux 7.0

Hi!

The site http://www.maschbau-ac.de/ doesnt't work. It looks to me like a javascript problem.

Greetinx

  Gunter Ohrner

(Submitted via bugs.kde.org)
Comment 1 Harri Porten 2001-06-02 22:26:38 UTC
> Hi!
> 
> The site http://www.maschbau-ac.de/ doesnt't work. It looks to me like a javascript problem.

Works now (for KDE 2.2). A property of the Image object was not
implemented.

Harri.
Comment 2 Harri Porten 2001-06-06 14:13:58 UTC
reopen 22039
stop

On Wed 6 Jun 2001 Gunter Ohrner wrote:

> Am Sonntag  3. Juni 2001 00:33 schrieben Sie:
> > > The site http://www.maschbau-ac.de/ doesnt't work. It looks to me like
> > > a javascript problem.
> > Works now (for KDE 2.2). A property of the Image object was not
> > implemented.

Actually I just noticed that it still doesn't work correctly. It's a cache
problem which is hard to debug. I'll reopen the report for now. Sorry.

Harri.
Comment 3 David Faure 2001-12-04 22:54:22 UTC
khtml (jscript): KJS::originCheck DENIED! http://www.maschbau-ac.de/ <-> 
http://www.graphodata.de/lukas/maschbau/loader.php3
khtml (jscript): WARNING: Window::get property not found: readytest
khtml (jscript): WARNING: Window::get property not found: readytest

Err how is this site supposed to work ? It violates the security check 
between frames since their URL is of totally different websites (even the 
domain doesn't match).
Works in Netscape though. I start to suspect that the other browsers don't 
implement this security check (which is in the spec though....)
--
David FAURE david@mandrakesoft.com faure@kde.org
http://perso.mandrakesoft.com/~david/  http://www.konqueror.org/
KDE 3.0: Konquering the Desktops
Comment 4 Gunter Ohrner 2001-12-05 06:38:36 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Tuesday 4. December 2001 23:54 schrieben Sie:
> Err how is this site supposed to work ? It violates the security check
> between frames since their URL is of totally different websites (even the
> domain doesn't match).

Well to be honest I simply don't know I do not know very much about 
ECMAscript / JS.
However if the site really violates the standard Konqueror should probably 
just issue an error message or similar.
I'll forward your comment to the sites webmaster so that he can fix it.

Thank you very much!

  Gunter Ohrner

- -- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+ http://www.CustomCDROM.de - Ihr persönlicher DatenCD-Brennservice im Web! +
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Nanny Ogg looked him up and down or at least down and further down. "You're 
a dwarf" she said.        -- Nanny Ogg meets Casanunda           (Terry 
Pratchett Witches Abroad)
+-+-+-+-+-+-+-+-+-+-+-+-+-+ http://www.lspace.org +-+-+-+-+-+-+-+-+-+-+-+-+-+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8DcD20ORHvREo8l8RAshuAJ9QRQjdOqHersvE7KBbCmJyZilupACfRu91
QBJ9gQou8guFrHXRCGaw/eo=
=2hYm
-----END PGP SIGNATURE-----
Comment 5 David Faure 2002-01-21 21:32:30 UTC
On Wednesday 05 December 2001 07:38 Gunter Ohrner wrote:
> Am Tuesday 4. December 2001 23:54 schrieben Sie:
> > Err how is this site supposed to work ? It violates the security check
> > between frames since their URL is of totally different websites (even the
> > domain doesn't match).

I was wrong about this the domain of frames is set to the one of the 
frameset and that's why there's no security issue in this case -> fixed.

The site uses NS-specific code by default though so to get it to work 
properly one needs to set a IE useragent on www.graphodata.de which is used 
internally by the site (REALLY not easy to find out !).

Submenus don't appear but the Javascript code runs fine looks like a 
rendering issue due to the current layouting engine changes.
Closing since the javascript part is ok now and there are other testcases for 
this rendering issue.

Thanks for the report.

-- 
David FAURE david@mandrakesoft.com faure@kde.org
http://people.mandrakesoft.com/~david http://www.konqueror.org
KDE 3.0: Konquering the Desktops