Closed Bug 158766 Opened 22 years ago Closed 22 years ago

using url field in inspector doesn't provide a dom

Categories

(Other Applications :: DOM Inspector, defect)

x86
All
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: timeless, Assigned: sicking)

Details

(Keywords: regression)

Attachments

(1 file)

2002072008
inspect window fills the dom view pane, but entering a url in the location field
doesn't.
Error: uncaught exception: Security Error: Content at
http://bugzilla.mozilla.org/ may not load data from
chrome://inspector/content/inspector.xul.
/me cries
Assignee: hewitt → sicking
Keywords: regression
ok apparently this isn't 100% reproducable. i'll try to track down more complete
steps, however given that caillon experienced it, i assert that i wasn't
hallucinating.
Attached file Stack trace
Sicking asked me to upload this stack -- this is in nsRange::SetStart()

We're failing here:

  if (!nsContentUtils::CanCallerAccess(aParent)) {
    return NS_ERROR_DOM_SECURITY_ERR;
  }
I don't fully understand what's happening here, but my guess is that the
js-stack isn't fully set up so we end up comparing against the wrong url.

It also seems that this doesn't happen on all pages, probably only ones
containing javascript. It happens for me on http://bugzilla.mozilla.org but not
on http://www.mozilla.org
oh, and the DOM does show up, at least for me. But the exception is worrying anyway
Note that the only problem mentioned in this bug that is related to bug 156452
is the fact that an exception is thrown. Both the missing nodeinfo view and the
extra DOM-tree is from something else (and might even be by design for all i know)
Blocks: 143047
Whiteboard: [adt2 RTM] [ETA 07/25] [needs reviews]
I don't think this bug was meant to be nsbeta1+. DOM Inspector is not shipped by
Netscape as far as I know.
No longer blocks: 143047
Keywords: approval, nsbeta1+
Whiteboard: [adt2 RTM] [ETA 07/25] [needs reviews]
WFM
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Product: Core → Other Applications
QA Contact: timeless → dom-inspector
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: