Subject: | Booting with non-empty window fails |
Booting with a non-empty window (as in Synopsis of POE::XUL) fails in
browser after receiving boot post response.
firefox -v:
Mozilla Firefox 3.0.10, Copyright (c) 1998 - 2009 mozilla.org
uname -a:
Linux ubumacs 2.6.29-ARCH #1 SMP PREEMPT Wed May 20 06:42:43 UTC 2009
x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux
Firebug description of error:
uncaught exception: Node cannot be inserted at the specified point in
the hierarchy (NS_ERROR_DOM_HIERARCHY_REQUEST_ERR)
NS6lib.js (line 1700)
Workaround:
Change NS6lib.js line 1668 (javascript/src/Runner.js line 824)
diff -u:
--- Runner.js.orig 2009-06-17 15:00:35.000000000 -0400
+++ Runner.js 2009-06-17 15:01:03.000000000 -0400
@@ -821,7 +821,7 @@
_._getNode = function (nodeId) {
if( this.windowId == nodeId ) {
- return this.document.firstChild;
+ return this.document.documentElement;
}
else {
return this.document.getElementById(nodeId);