Both Composer and Help are confused by error pages: * Trying to load an unavailable page into Composer loads a broken error page * Clicking an unavailable link in Help has no effect So I would like some per-docshell way of turning error pages off.
I guess we could stick some stuff for this on nsIDocShell for now, but eventually we want to expose this to embeddors too. Too bad nsIWebBrowserSetup is frozen. :(
Created attachment 188667 [details] [diff] [review] Proposed patch
Comment on attachment 188667 [details] [diff] [review] Proposed patch looks fine to me. get r= from bz or biesi as well.
Comment on attachment 188667 [details] [diff] [review] Proposed patch looks ok to me... when (if) docshell observes pref changes, it needs to be careful not to overwrite explicit setting... it'd probably be also nice to expose this on an interface that has chances of ever being frozen...
We could just get the browser to observe the pref change instead...
Fix checked in.