[ubuntu-mono] [Bug 449970] [NEW] monodoc browser unusable on Karmic due to Webkit behavioural change

directhex directhex at apebox.org
Mon Oct 12 23:57:48 UTC 2009


Public bug reported:

A change in the Webkit library between Jaunty and Karmic is causing the
Monodoc documentation browser to be useless (it dies on startup, with
lots of console spew).

The Monodoc browser works by passing raw HTML to the WebView via
LoadHtmlString(). LoadHtmlString takes two parameters - a string with
the HTML in it, and a "Base URI". Previously, this worked without
incident - at some point after Jaunty, Webkit instead started to fire
off a NavigationRequest event whenever you use LoadHtmlString, using the
value of the Base URI as the supposed requested URI in the event
parameters. This caused a recursive feedback loop in Monodoc browser,
due to constantly being told to load a null base URI (interpreted as
about:blank) every time it tried  to load a null base URI (interpreted
as about:blank)

The attached debdiff fixes this by simply ignoring any events with
about:blank as the request URI, before the event is fired.

ProblemType: Bug
Architecture: amd64
Date: Tue Oct 13 00:52:45 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: monodoc-browser 2.4.2-1ubuntu1
PackageArchitecture: all
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-13.44-generic
SourcePackage: mono-tools
Uname: Linux 2.6.31-13-generic x86_64

** Affects: mono-tools (Ubuntu)
     Importance: High
         Status: New


** Tags: amd64 apport-bug

-- 
monodoc browser unusable on Karmic due to Webkit behavioural change
https://bugs.launchpad.net/bugs/449970
You received this bug notification because you are a member of MOTU Mono
Team, which is subscribed to mono-tools in ubuntu.




More information about the Ubuntu-mono mailing list