зеркало из https://github.com/mozilla/pjs.git
Files:
caps/idl/nsICertificatePrincipal.idl caps/idl/nsIPrincipal.idl caps/src/nsBasePrincipal.cpp Implement the ability to manipulate multiple capabilties simultaneously. r=mstoltz@netscape.com Files: caps/src/nsCodebasePrincipal.cpp Codebase equality should be based upon origin, not full path. r=mstoltz@netscape.com Files: caps/src/nsScriptSecurityManager.cpp Change URI checking to deny based upon scheme rather than allow based upon scheme for greater flexibility. r=mstoltz@netscape.com Files: dom/public/nsDOMPropEnums.h dom/public/nsDOMPropNames.h dom/src/base/nsGlobalWindow.cpp modules/libpref/src/init/all.js Fix bug 20469 Seeing JS functions and global variables from arbitrary host r=vidur@netscape.com Files: dom/src/base/nsJSUtils.cpp dom/src/base/nsJSUtils.h dom/src/base/nsJSEnvironment.cpp dom/tools/JSStubGen.cpp layout/base/src/nsDocument.cpp layout/html/content/src/nsGenericHTMLElement.cpp Improve performance by removing NS_WITH_SERVICE call for every DOM access. Propagate XPCOM failure codes out properly. r=vidur@netscape.com Files: layout/html/document/src/nsFrameFrame.cpp Fix 27387 Circumventing Same Origin security policy using setAttribute r=vidur@netscape.com
This commit is contained in:
Родитель
6e68ccfd61
Коммит
3c52ebf2ea
|
@ -625,22 +625,22 @@ function RevealSearchPanel()
|
|||
}
|
||||
|
||||
function createInstance( progid, iidName ) {
|
||||
var iid = eval( "Components.interfaces." + iidName );
|
||||
var iid = Components.interfaces[iidName];
|
||||
return Components.classes[ progid ].createInstance( iid );
|
||||
}
|
||||
|
||||
function createInstanceById( cid, iidName ) {
|
||||
var iid = eval( "Components.interfaces." + iidName );
|
||||
var iid = Components.interfaces[iidName];
|
||||
return Components.classesByID[ cid ].createInstance( iid );
|
||||
}
|
||||
|
||||
function getService( progid, iidName ) {
|
||||
var iid = eval( "Components.interfaces." + iidName );
|
||||
var iid = Components.interfaces[iidName];
|
||||
return Components.classes[ progid ].getService( iid );
|
||||
}
|
||||
|
||||
function getServiceById( cid, iidName ) {
|
||||
var iid = eval( "Components.interfaces." + iidName );
|
||||
var iid = Components.interfaces[iidName];
|
||||
return Components.classesByID[ cid ].getService( iid );
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче