[webkit-dev] Adding HTTP headers to URL request in WebView

2008-09-29 Thread Bill Patterson
I need to add several HTTP headers to the URL request that is sent after the user clicks any HTTP link in a WebView. I am having difficulty finding a delegate that gives me access the NSURLRequest before it is deep copied, so that I can replace it with a NSMutableURLRequest. Any

Re: [webkit-dev] Win32 App

2008-09-29 Thread Ariya Hidayat
In Cocoa I have made a command line application that init's a WebView, then calls, stringByEvaluatingJavaScriptFromString, however, I'm trying to get this to work in Windows. I've compiled WebKit and added a new Win32 command line project, however, I'm always getting back null when calling

[webkit-dev] Blocking UI (linux/gtk)

2008-09-29 Thread zaheer ahmad
hi, Iam analyzing the UI response issues on the webkit linux/gtk port on arm embedded platform. One observation is that the webcore timer driven callbacks (e.g. layout, network, tokenizer etc) can block for unbounded time. The other is that TimerBase::fireTimers fires all pending timers at once

[webkit-dev] Extreme drop in memory consumption

2008-09-29 Thread Istvan Siket
Hi All, We have started to monitor the memory consumption of JavaScriptCore under linux (qt port) and we noticed two extreme drops. The first (from r36283 to r36285) change hardly effects SunSpider (it used 2.5% less memory only) but the gain for V8 is almost 50% and for WindScorpion

Re: [webkit-dev] Win32 App

2008-09-29 Thread Jason Hullinger
(reply all this time) Well, it looks like stringByEvaluatingJavaScriptFromString is calling: JSC::JSValue* scriptExecutionResult = coreFrame-loader()-executeScript(WebCore::String(script), true); The problem, I believe, is that coreFrame (an IWebFrame) is not set to a value because I'm not using

[webkit-dev] Maintainer wanted for wkpdf command-line client to WebKit

2008-09-29 Thread Christian Plessl
Dear WebKit developers I'm the developer of a small open-source utility named wkpdf which is basically a command-line interface to the WebKit framework on Mac OS X (see http://wkpdf.plesslweb.ch). The goal of wkdpf is to allow rendering HTML to PDF files from the command line. A number of

[webkit-dev] setTimeout as browser speed throttle

2008-09-29 Thread Mike Belshe
Hi, One of the differences between Chrome and Safari is that Chrome sets the setTimeout clamp to 1ms as opposed to 10ms. This means that if the application writer requests a timer of less than 10ms, Chrome will allow it, whereas Safari will clamp the minimum timeout to 10ms. The reason we did

Re: [webkit-dev] stringByEvaluatingJavaScriptFromString: OSX Windows

2008-09-29 Thread Michael Goddard
On Monday 22 September 2008 13:57, Jason Hullinger wrote: That function is not exported by the WebKit DLL, so there is no direct way to GetProcAddress for the method name. Would anyone know what the best approach would be to compile WebKit in order to generate the libs to build my own program

Re: [webkit-dev] setTimeout as browser speed throttle

2008-09-29 Thread David Hyatt
We encountered 100% CPU spins on amazon.com, orbitz.com, mapquest.com, among others (looking through Radar histories). This was pre-clamp. Web sites make this mistake because they don't know any better, and it works fine in IE. It is a mistake these sites will continue to make, and