Bug 9464 - [S60] Javascript console
Summary: [S60] Javascript console
Status: CLOSED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 420+
Hardware: S60 Emulator S60 3rd edition
: P2 Enhancement
Assignee: Nobody
URL:
Keywords: EasyFix, PlatformOnly
Depends on: 9860
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-16 03:06 PDT by piet.jonas
Modified: 2011-03-21 11:52 PDT (History)
3 users (show)

See Also:


Attachments
Simple test page (159 bytes, text/html)
2006-07-13 11:18 PDT, David Carson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description piet.jonas 2006-06-16 03:06:38 PDT
I would like to ask for a proper Javascript console, at least on the emulator version. This would help finding bugs and adapting existing web apps to the phone a lot.
Comment 1 David Carson 2006-07-13 11:13:53 PDT
The issue is that on the device there is no real place to output this information to. I can see that it would be useful on the emulator.
It would be an easy item to implement. The location where the text should be written to an output window is in JavaScriptCore\kjs\interpreter.cpp Interpreter::evaluate() function. At the end of the function there is:
#ifndef NOKIA_CHANGES
All that needs to be done is to put in a #elseif and do something reasonable with the string variable 'message'
Comment 2 David Carson 2006-07-13 11:18:53 PDT
Created attachment 9435 [details]
Simple test page

This test page will produce errors to be printed to a JavaScript console.
Comment 3 Bradley Morrison 2008-04-09 11:32:01 PDT
Bulk update of s60 bugs - tagging and closing.
Comment 4 Bradley Morrison 2008-04-09 11:39:52 PDT
Bulk closing of all s60 platform bugs. 

Sorry for the noise!
Comment 5 Joel Parks 2011-03-21 11:52:18 PDT
re-purposing InTSW keyword for use by QtWebkit team