I have a strange problem with midas:
I have a page with an Iframe (id=xy) which has the initial page blank.html. Now I overwrite the contents with
xy.document.open('text/html','replace');
xy.document.write(a html doc);
xy.document.close();
// now I switch designMode to on
xy.document.designMode='on';
this results in an error:
Error: uncaught exception: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "wyciwyg://17/http://127.0.0.1:8080/test.html Line: 3"]
Does anybody know how this wyciwyg:// protocol comes in here?
wyciwyg is a magic internal protocol to deal with the result of document.write(), and should never be exposed to the user, instead all internal functions need to be taught about it. Unfortunately this one obviously hasn't :-(
Meanwhile, perhaps there is a Midas function to insert HTML that you can use instead? Or try using DOM functions to set up the document.
