Closed
Bug 20261
Opened 26 years ago
Closed 26 years ago
Security error adding textNode to anchor element.
Categories
(Core :: Security, defect, P3)
Tracking
()
VERIFIED
FIXED
M13
People
(Reporter: rginda, Assigned: norrisboyd)
Details
JavaScript Error: access disallowed from scripts at
file:////home/rginda/src/mozilla_RIGHT/mozilla/dist/bin/irc/tests/test3.xul to
documents at another domain
URL: resource:///irc/tests/test3-static.js
LineNo: 278
test3.xul has no web content. test3-static.js is included in test3.xul via a
<script src='...'> tag. The code being run is:
var a = document.createElement (tagName);
a.setAttribute ("class", className);
switch (typeof data)
{
case "string":
278: a.appendChild (document.createTextNode (data));
break;
setting security.checkdomprops to false is a temporary workaround.
| Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•26 years ago
|
||
Does this still occur?
| Assignee | ||
Updated•26 years ago
|
Target Milestone: M13
| Reporter | ||
Comment 2•26 years ago
|
||
This occurs in a new spot now:
JavaScript Error: access disallowed from scripts at [Codebase
file:///home/rginda/src/mozilla_RIGHT/mozilla/dist/bin/irc/tests/test3.xul] to
documents at another domain
URL: resource:///irc/tests/test3-static.js
LineNo: 284
281: var oc = top.frames[0].document;
282:
283: oc.close();
284: oc.open();
It happens before the code previously reported runs, so it's impossible to tell
if the last problem went away.
Again, top.frames[0].document is pointing to about:blank at the time of the
error.
| Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 3•26 years ago
|
||
IRC Chat should now work without modifying any security preferences.
Bulk moving all Browser Security bugs to new Security: General component. The
previous Security component for Browser will be deleted.
Component: Security → Security: General
You need to log in
before you can comment on or make changes to this bug.
Description
•