Security denied in view selection souce

RESOLVED FIXED

Status

Core Graveyard
View Source
RESOLVED FIXED
15 years ago
8 years ago

People

(Reporter: rbs, Assigned: Doron Rosenberg (IBM))

Tracking

Trunk
x86
Windows 2000

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
Seems that the security folks have tightened the security checks recently. I
cannot use view selection source on the trunk. Any clues? I get the error:

JavaScript error:
 line 0: uncaught exception: [Exception... "Security error"  code: "1000" nsresu
lt: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://navigator/cont
ent/viewPartialSource.js Line: 199"]

----------
line 199 is:
  var loadFlags = Components.interfaces.nsIWebNavigation.LOAD_FLAGS_BYPASS_CACHE;
  getBrowser().webNavigation
line199>>>>   .loadURI("view-source:data:text/html;charset=utf-8," +
escape(tmpNode.innerHTML),
                       loadFlags, null, null, null);
Probably fixed by the patch in bug 209946.
Depends on: 209946
(Reporter)

Comment 2

15 years ago
That's right. Fixed by caillon's checkin for bug 209946:
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=mozilla/content/base/src&command=DIFF_FRAMESET&file=nsContentUtils.cpp&rev1=1.42&rev2=1.43&root=/cvsroot
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey

Updated

8 years ago
Component: View Source → View Source
Product: SeaMonkey → Core Graveyard
You need to log in before you can comment on or make changes to this bug.