Bug 140306 - Javascript misfunction in akregator built-in browser
Summary: Javascript misfunction in akregator built-in browser
Status: RESOLVED FIXED
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 142484 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-19 18:50 UTC by Raúl
Modified: 2007-03-04 00:20 UTC (History)
1 user (show)

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 Raúl 2007-01-19 18:50:26 UTC
Version:           1.2.5 (using KDE 3.5.5, Debian Package 4:3.5.5a.dfsg.1-5 (4.0))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.18rs

When you browse some javascript webs from the built-in akregator browser they doesn't fully understand javascript, e.g.: youtube.
Comment 1 Philip Rodrigues 2007-01-20 16:51:39 UTC
Can you give  a precise example so someone else can try to reproduce the problem?
Comment 2 Raúl 2007-01-21 23:53:59 UTC
For example, when you have a feed and inside one of the articles there's a link to for example, youtube, google video or some other web with some javascript contents, the embedded html browser acts if javascript weren't enabled.

I don't know if javascript isn't really enabled, we maybe JS is not interpreted correctly or there's some compatibility issue. What I see is that heavy javascript webs are not seen properly.

I also have been talking to Frank Osterfeld and told me that he knows about the issue. This is just a reminder.
Comment 3 Frank Osterfeld 2007-02-25 10:55:58 UTC
SVN commit 637063 by osterfeld:

explicitely disable java and javascript in the article viewer (as discussed with kde-security some time ago), but follow 
user defaults in the browser tabs.
BUG: 140306


 M  +4 -0      articleviewer.cpp  
 M  +0 -3      viewer.cpp  


--- branches/KDE/3.5/kdepim/akregator/src/articleviewer.cpp #637062:637063
@@ -160,6 +160,10 @@
 ArticleViewer::ArticleViewer(QWidget *parent, const char *name)
     : Viewer(parent, name), m_htmlFooter(), m_currentText(), m_node(0), m_viewMode(NormalView)
 {
+    setJScriptEnabled(false);
+    setJavaEnabled(false);
+    setPluginsEnabled(false);
+    
     m_showSummaryVisitor = new ShowSummaryVisitor(this);
     setXMLFile(locate("data", "akregator/articleviewer.rc"), true);
 
--- branches/KDE/3.5/kdepim/akregator/src/viewer.cpp #637062:637063
@@ -51,10 +51,7 @@
     : KHTMLPart(parent, name), m_url(0)
 {
     setZoomFactor(100);
-    setJScriptEnabled(false);
-    setJavaEnabled(true);
     setMetaRefreshEnabled(true);
-    setPluginsEnabled(true);
     setDNDEnabled(true);
     setAutoloadImages(true);
     setStatusMessagesEnabled(true);
Comment 4 Eckhart Wörner 2007-03-04 00:20:15 UTC
*** Bug 142484 has been marked as a duplicate of this bug. ***