Peter: window.open() und localhost-URL...

Beitrag lesen

HI @ll,

ein Phänomen das ich mir nicht erklären kann bzw. das ich nicht verstehe:

verwende ich window.open("http://localhost/test", "Test") meldet mir mein Firefox (3.5.2) ==>

Fehler: uncaught exception: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMJSWindow.open]"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: "http://localhost/test :: <TOP_LEVEL> :: line 300"  data: no]

verwende ich window.open("http://RechnerName/test", "Test") funktioniert es ohne Fehler...

Erklärung...?

Danke und MFG
Peter