backported HEAD

Stephan Kulow coolo at kde.org
Wed Nov 10 09:11:27 GMT 2004


Hi!

The HEAD code of khtml and kjs (and the two mimetypes added) 
is in KDE_3_3_BRANCH now. I wonder if this patch is all to hide
.layers even more. If not, I would leave it as it is.

I tagged khtml and kjs with last_3_3_merge to allow incremental
backports.

Greetings, Stephan

--- ecma/kjs_html.cpp   10 Nov 2004 09:00:19 -0000      1.266.2.7
+++ ecma/kjs_html.cpp   10 Nov 2004 09:08:44 -0000
@@ -297,6 +297,7 @@ Value KJS::HTMLDocument::tryGet(ExecStat
     case Forms:
       return getHTMLCollection(exec,doc.forms());
     case Layers:
+      break; // not in 3.3.2
       // ### Should not be hidden when we emulate Netscape4
       return getHTMLCollection(exec,doc.layers(), true);
     case Anchors:




More information about the kfm-devel mailing list