Closed Bug 3324 Opened 26 years ago Closed 25 years ago

"view source" on XUL file causes assertion failure

Categories

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

x86
Windows NT
defect

Tracking

()

CLOSED WONTFIX

People

(Reporter: law, Assigned: hyatt)

References

Details

View a .xul file (in viewer). Choose File->View Source. It produces the following stack trace. I think "view source" causes something to emit fairly complicated html, which the XUL content sink can't handle. The root cause might be the way "view source" is handled. NTDLL! 77f76148() nsDebug::NotYetImplemented(const char * 0x018ea7b0, const char * 0x018ea780, int 0x00000034) line 148 + 13 bytes nsRDFParserUtils::EntityToUnicode(const char * 0x0012fa20) line 52 + 18 bytes XULContentSinkImpl::AddCharacterData(XULContentSinkImpl * const 0x0192d180, const nsIParserNode & {...}) line 763 + 9 bytes XULContentSinkImpl::AddLeaf(XULContentSinkImpl * const 0x0192d180, const nsIParserNode & {...}) line 529 WriteNBSP(int 0x00000001, nsIContentSink & {...}) line 471 + 19 bytes CViewSourceHTML::HandleToken(CViewSourceHTML * const 0x0195fb60, CToken * 0x01962af0, nsIParser * 0x0192d100) line 656 + 19 bytes CViewSourceHTML::BuildModel(CViewSourceHTML * const 0x0195fb60, nsIParser * 0x0192d100, nsITokenizer * 0x01942a50, nsITokenObserver * 0x00000000, nsIContentSink * 0x0192d180) line 289 + 20 bytes nsParser::BuildModel() line 706 + 34 bytes nsParser::ResumeParse(nsIDTD * 0x00000000) line 658 + 11 bytes nsParser::OnDataAvailable(nsParser * const 0x0192d104, nsIURL * 0x0192ca10, nsIInputStream * 0x0192c110, unsigned int 0x0000062e) line 870 + 17 bytes nsDocumentBindInfo::OnDataAvailable(nsDocumentBindInfo * const 0x0192cc20, nsIURL * 0x0192ca10, nsIInputStream * 0x0192c110, unsigned int 0x0000062e) line 1694 + 24 bytes OnDataAvailableProxyEvent::HandleEvent(OnDataAvailableProxyEvent * const 0x01953ad0) line 643 StreamListenerProxyEvent::HandlePLEvent(PLEvent * 0x01953ad4) line 482 + 12 bytes PL_HandleEvent(PLEvent * 0x01953ad4) line 478 + 10 bytes PL_ProcessPendingEvents(PLEventQueue * 0x00e8ed90) line 439 + 9 bytes _md_EventReceiverProc(HWND__ * 0x021e0374, unsigned int 0x0000c0bd, unsigned int 0x00000000, long 0x00e8ed90) line 822 + 9 bytes USER32! 77e713ed() 00e8ed90()
Status: NEW → ASSIGNED
Set target milestone to M4.
Whiteboard: waiting on resolution on bug 3915 'view source broken' for further action
Slipping to M5.
Assignee: waterson → hyatt
Status: ASSIGNED → NEW
Target Milestone: M5 → M7
moving to m7
*** Bug 7031 has been marked as a duplicate of this bug. ***
bug 3915 is marked verified+fixed so the status whiteboard is no longer up to date.
Target Milestone: M7 → M8
*** Bug 8081 has been marked as a duplicate of this bug. ***
Target Milestone: M8 → M12
My hands have deteriorated to the point where I can no longer type. I need help. If you think you can fix this bug on your own, please take it away from me. If you'd like to volunteer to be my hands for a specific bug, then I'll be happy to come up to your cube and sit with you and fix the bug (assuming you have the patience for that).
Depends on: 3915
Whiteboard: waiting on resolution on bug 3915 'view source broken' for further action
clearing whiteboard, adding 3915 as a linked dependency. This bug doesn't cause problems in today's opt bits.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
resolving as wontfix (in Viewer), use dogfood to view source.
Status: RESOLVED → CLOSED
Commercial Mozilla build 1999-10-21-11-M11 displays source code for .xul file without apparent problems. Please reopen if assertion exists in the commercial build. Closing bug.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.