Bug 102155 - javascript error in contentAreaUtils.js

whitespace fixes only
patch by caillon@returnzero.com r=stephend@netscape.com sr=alecf
This commit is contained in:
timeless%mac.com 2001-10-31 23:29:05 +00:00
parent 370f19d526
commit a41528a381

View File

@ -54,10 +54,10 @@
function urlSecurityCheck(url, doc) {
// URL Loading Security Check
var focusedWindow = doc.commandDispatcher.focusedWindow;
var sourceWin = isDocumentFrame(focusedWindow) ? focusedWindow.location.href : focusedWindow._content.location.href;
var sourceWin = isDocumentFrame(focusedWindow) ? focusedWindow.location.href : focusedWindow._content.location.href;
const nsIScriptSecurityManager = Components.interfaces.nsIScriptSecurityManager;
var secMan = Components.classes["@mozilla.org/scriptsecuritymanager;1"].getService().
QueryInterface(nsIScriptSecurityManager);
QueryInterface(nsIScriptSecurityManager);
try {
secMan.checkLoadURIStr(sourceWin, url, nsIScriptSecurityManager.STANDARD);
} catch (e) {
@ -67,7 +67,7 @@
function openNewWindowWith(url) {
urlSecurityCheck(url, document);
urlSecurityCheck(url, document);
var newWin;
var wintype = document.firstChild.getAttribute('windowtype');