seppel: object expected?

Beitrag lesen

hier noch der Fehler in der Konsole:

Fehler: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebNavigation.loadURI]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: chrome://global/content/viewSource.js :: viewSource :: line 145"  data: no]

an line 145 steht folgendes Statement:

139 if (loadFromURL) {
140    //
141    // Currently, an exception is thrown if the URL load fails...
142    //
143    var loadFlags = Components.interfaces.nsIWebNavigation.LOAD_FLAGS_NONE;
144    var viewSrcUrl = "view-source:" + url;
145    getBrowser().webNavigation.loadURI(viewSrcUrl, loadFlags, null, null, null);
146  }

wie könnte ich mir die Variable "viewSrcUrl" ansehen oder bringt mir das nix?