webkit

console.log() statements do not appear in Safari error log

I am debugging a Safari-specific javascript issue, and I can't get console.log to output to the error log. This is a documented feature of Safari (I'm using version 4.0.3). These statements in my code just seem to be ignored, however. Any ideas why? I'm not finding leads through Google. ...

I think I found a bug in WebKit (or jQuery), can others confirm?

I believe I have found a bug in WebKit. It involves outerWidth(true) (and I assume outerHeight(true) ) in jQuery. In every browser but Safari and Chrome, the third box is 200. In Safari and Chrome, it is (almost) the width of my screen. Click here to see my results: You can test is for yourself here: http://ramblingwood.com/sandbox/w...

AJAX problems in WebKit browsers

Hi. I'm developing an AJAX site. So the problem is browsers (Safari, Chrome) do not show spaces in AJAX-loaded HTML content after tags like Strong, Em etc. Then I added a doctype to the AJAX output. Everything was fine, there were all spaces, unless I tested the site in WebKit browsers. When I loaded the page in Safari, I got error: ...

Webkit as a Win32 API control

Has anyone tried to wrap the webkit browser widget into a simple Win32 C control? ...

Is there a public specification of WebGL anywhere?

It seems the Khronos group is fairly closed when it comes to releasing early specs for WebGL to the public. Does anyone know of a resource to keep up to date on API changes? The only thing I can seem to find, short of doing a checkout of Firefox or WebKit sources, is a page from 2007 on Vladimir Vukićević's blog with a small list of Op...

NSImageView empty in WebKit plugin

I'm writing a webkit plugin that downloads an image and prints it.I have verified that the correct data is downloaded and the NSImage has the correct dimensions. Unfortunately, the NSImageView containing the image doesn't display anything, neither in the document sent to the printer nor a window containing the view as it's content view's...

Python WebkitGtk: How to respond to the default context menu items?

The default context menu contains items like "Open link in new window" and "Download linked file", which don't seem to do anything. I obviously like to react on these items, but can't figure out how, since the port's documentation is a bit sparse. Does anybody know? ...

How do you push Android Instrumentation Tests to Emulator/Device?

I'm trying to run the Webkit Layout Tests on the Android emulator using the command line shell in Ubuntu 9.04. adb -s emulator-5554 shell am instrument -w \ com.android.dumprendertree/com.android.dumprendertree.LayoutTestsAutoRunner I get this error: INSTRUMENTATION_STATUS: Error=Unable to find instrumentation info for: ComponentInf...

build webkit on ubuntu 9.04

i have checked out webkit source code from they svn server, when i issued ./autogen, it gave me following error, checking for GLIB... configure: error: Package requirements (glib-2.0 >= 2.21.3 gobject-2.0 >= 2.0 gthread-2.0 >= 2.0) were not met: Requested 'glib-2.0 >= 2.21.3' but version of GLib is ...

Controlling CSS page breaks when printing in Webkit

I'm attempting to improve the appearance of html documents printed using Webkit, in this case by exerting some control over where page breaks occur. I'm able to insert page breaks where I need using: page-break-after: always; However, I can't find a way to avoid page breaks being inserted in the middle of items. For example, I have h...

Standard (32/64-bit Universal), WebKit, Flash Plugin and Leopard

I have an Xcode project which builds a Cocoa desktop Browser application. My Browser links to the standard WebKit.framework on the system (it does not embed its own WebKit.framework). The "Base SDK" for my Xcode project is set to "Mac OS X 10.5". The "Valid Architectures" for my Xcode project is set to "i386 ppc ppc64 ppc7400 ppc970 ...

How do I embed a WebView in an NSScrollView?

So I have a project that has some content being displayed in a WebView and I want to stick above that. I want the header to scroll with the WebView content. Now, WebView generally wants to do it's own scroll handling but you can tell it not to using: [[webView mainFrame] setAllowsScrolling:NO]; which successfully makes the WebView's...

Objective C - NSImageView, NSImage, NSBitmapImage rep object lifecycle?

I've built a video viewer that is a Safari plugin that displays video from networked devices. The viewer reads bitmap images, prepares them, and sets them on the NSImageView object as follows: NSBitmapImage *bmImg = [[NSBitmapImage alloc] initWithBitmapDataPlanes: . . .] NSImage *img = [[NSImage alloc] init]; [img addRepresentation:bmI...

What version of WebKit does Adobe Air use?

In the most recent release of Adobe Air, what version of the WebKit rendering engine does it use? ...

Chrome/Safari: jQuery works in .htm but not in .aspx

I have a site where I display some jQuery dialogs. But in Chrome/Safari the dialog is not opened in center of the screen but a long way down the page. The site is programmed in ASP.NET but when I copy-paste the generated HTML to a .htm file the thing works fine. Very weird :/ Try: http://tinyurl.com/yj4vkm7 - works in Safari/Chrome. A...

Use Google Chrome/ Chromium instead of WebKit on MacOS

I would like to use Google Chrome instead of the WebKit Framework in one of my projects. I found the 'chromiumembedded' project for Windows but nothing similar for Mac. Best would be to have it in form of a Framework to just drop it into a XCode project. Question: Is there an easy way to integrate the Webkit of Google Chromium in own Ma...

Webkit on Windows Mobile

I wish to embed webkit in a windows mobile application. The goal is to allow it to run web apps. I've tried the Qt version, but only webkit is required and not the rest of the functionality Qt has. ...

disjoin browser from http - QtWebKit the right decision?

Hi, im planning to create control-panels (touchscreeen-visualizations) for my house (KNX - bus). The control panel will be designed by HTML/CSS so it can also be accessed by a browser via the WWW. But inside the house i need a very fast and dynamic interface (eg use a js-slider and dimm a light in real-time). so i want to disjoin a brow...

Webkit.framework and Google Gears drag and drop support

I would like to support drag and drop from Google Gears in my MacOS application (Google Wave client Waveboard - http://www.getwaveboard.com). Although the Gears plugin seems to work in my WebView it does not respond to drag and drop actions like it should. In Safari and Fluid this works fine. Question: Does someone know if I need to set...

How do I prevent a WebView from scaling down a rendered web page?

I'm developing a Cocoa/Obj-C application that involves a WebView (from the WebKit framework). I've noticed that this WebView presents a slightly scaled-down version of the rendered webpage. An example screenshot: In a browser (Safari or Firefox): In my WebView: These happen to be local HTML/CSS files generated by the program, but ...