Opened 11 years ago

Closed 11 years ago

#5838 closed defect (fixed)

Debug console doesn't work properly in xhtml document (MIME: application/xhtml+xml)

Reported by: guest Owned by: James Burke
Priority: high Milestone: 1.1
Component: General Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

In dojo 1.0.2, The consoleFrame defined in the following file

dojo\_firebugfirebug.js line 355

is not well-formed html fragment, so in XHTML mode it causes DOM exception. The consoleFrame causes Firefox to throw and DOM exception when that part of code is called in XHTML mode.

To fix this problem, go to line 362 and change input tag element from

+ '<input type="text" id="firebugCommandLine">'

and replace it with

+ '<input type="text" id="firebugCommandLine"/>'

That closes the input element and will make the code compilance with XHTML.

Change History (2)

comment:1 Changed 11 years ago by James Burke

Milestone: 1.1
Owner: changed from anonymous to James Burke

comment:2 Changed 11 years ago by James Burke

Resolution: fixed
Status: newclosed

(In [12429]) Fixes #5838: allow console to work with xhtml documents. !strict

Note: See TracTickets for help on using tickets.