From 713c3bb881b7a31e94cb60de8ffaffd821625d2c Mon Sep 17 00:00:00 2001 From: "peterv%netscape.com" Date: Tue, 16 Jul 2002 15:46:39 +0000 Subject: [PATCH] Temporarily disable the code that caused the slowdown in Txul, Tp and Ts. Bug 156452. --- content/base/src/nsContentUtils.cpp | 4 ++++ extensions/transformiix/source/base/txURIUtils.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/content/base/src/nsContentUtils.cpp b/content/base/src/nsContentUtils.cpp index a7c3a4b5b46..78d652abda5 100644 --- a/content/base/src/nsContentUtils.cpp +++ b/content/base/src/nsContentUtils.cpp @@ -414,6 +414,10 @@ nsContentUtils::CheckSameOrigin(nsIDOMNode *aNode1, nsIDOMNode *aNode2) PRBool nsContentUtils::CanCallerAccess(nsIDOMNode *aNode) { + // DISABLED UNTIL THE SLOWDOWN IN TXUL, TP AND TS GETS RESOLVED + // (SEE BUG 156452). + return PR_TRUE; + nsCOMPtr doc(do_QueryInterface(aNode)); if (!doc) { diff --git a/extensions/transformiix/source/base/txURIUtils.cpp b/extensions/transformiix/source/base/txURIUtils.cpp index bd0c0cd607e..a10f66732a0 100644 --- a/extensions/transformiix/source/base/txURIUtils.cpp +++ b/extensions/transformiix/source/base/txURIUtils.cpp @@ -320,6 +320,10 @@ URIUtils::ParsedURI* URIUtils::parseURI(const String& uri) { // static MBool URIUtils::CanCallerAccess(nsIDOMNode *aNode) { + // DISABLED UNTIL THE SLOWDOWN IN TXUL, TP AND TS GETS RESOLVED + // (SEE BUG 156452). + return PR_TRUE; + nsCOMPtr doc(do_QueryInterface(aNode)); if (!doc) {