Closed Bug 1275003 Opened 8 years ago Closed 8 years ago

MOZ_CRASH(Accessing the Subject Principal without an AutoJSAPI on the stack is forbidden), while editing confluence wiki

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox49 --- affected

People

(Reporter: dbaron, Unassigned)

References

Details

(Keywords: assertion, crash)

Attachments

(1 file)

I was editing a confluence wiki at https://mana.mozilla.org/ to try to reproduce bug 1266882 under rr, and instead I hit:

Hit MOZ_CRASH(Accessing the Subject Principal without an AutoJSAPI on the stack is forbidden) at /home/dbaron/builds/ssd/mozilla-central/mozilla/dom/base/nsContentUtils.cpp:2673

I have an rr recording of this, although it's only good until I next rebuild.

(Some more info coming shortly.)
Is there anything else you need here other than the stack, given that I have an rr recording of this happening (which will only last until I next rebuild)?
Flags: needinfo?(bzbarsky)
Flags: needinfo?(bobbyholley)
A stack is enough here, thanks!
Flags: needinfo?(bzbarsky)
Er, never mind; this is due to local changes for a patch I still haven't managed to land (bug 474655).
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(bobbyholley)
Resolution: --- → INVALID
What this stack means is that nsHTMLEditor::CheckPositionedElementBGandFG should not be calling nsComputedDOMStyle::GetPropertyCSSValue directly, since the latter is a webidl-exposed method. The two of them should delegate to a helper, and nsComputedDOMStyle::GetPropertyCSSValue should perform any necessary security checks.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: