Open Bug 622370 Opened 14 years ago Updated 2 years ago

"ASSERTION: Must have a principal!"

Categories

(Core :: DOM: Core & HTML, defect, P5)

x86
macOS
defect

Tracking

()

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: assertion)

Attachments

(3 files, 1 obsolete file)

Attached file stack trace (obsolete) —
###!!! ASSERTION: Must have a principal!: 'mOwner', file netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp, line 279

Any idea what's going on here?
Not given just that stack.  Do we have anything resembling a testcase, even a non-minimal one?
Not yet :(

Thanks, bz.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
With a bunch of help from bz, I figured out enough about this bug to make a testcase!
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: INCOMPLETE → ---
Attached file stack traces
"ASSERTION: Chrome trying to load wyciwyg URI" fires before "ASSERTION: Must have a principal!".
Attachment #500624 - Attachment is obsolete: true
The problem seems to be useDefaultIcon assuming that if a document is an ImageDocument, then its URL is sane.

http://hg.mozilla.org/mozilla-central/annotate/969691cfe40e/browser/base/content/tabbrowser.xml#l677
Hmm.  Perhaps we should make document.write fail on ImageDocuments.
I guess that would fix bug 622778, too.
Status: REOPENED → NEW
(In reply to comment #8)
> Hmm.  Perhaps we should make document.write fail on ImageDocuments.
Yes.

Are there other features we should disable on ImageDocuments?
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: