Open Bug 623143 Opened 14 years ago Updated 2 months ago

bug in error console->evaluate when return html code

Categories

(Firefox :: General, defect)

3.6 Branch
x86
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: zkizzik, Unassigned)

Details

Attachments

(1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; es-ES; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; es-ES; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13

the evaluate system in error console execute the code but print the result in html format and traspase the plaintext to visor... but execute the text arbitrary html

Reproducible: Always

Steps to Reproduce:
1. Open error console
2. evaluate:
x = "x<script>alert(0)</script>x";

should run?
Actual Results:  
popup with message "0"

Expected Results:  
none

about:buildconfig

Source

Built from http://hg.mozilla.org/releases/mozilla-1.9.2/rev/0c159bd1d600
Build platform
target
i686-pc-mingw32

Build tools
Compiler 	Version 	Compiler flags
cl 	14.00.50727.762 	-TC -nologo -W3 -Gy -Fdgenerated.pdb -DNDEBUG -DTRIMMED -Zi -UDEBUG -DNDEBUG -GL -wd4624 -wd4952 -O1
cl 	14.00.50727.762 	-GR- -TP -nologo -Zc:wchar_t- -W3 -Gy -Fdgenerated.pdb -DNDEBUG -DTRIMMED -Zi -UDEBUG -DNDEBUG -GL -wd4624 -wd4952 -O1

Configure arguments
--enable-application=browser --enable-update-channel=release --enable-update-packaging --enable-jemalloc --enable-official-branding --enable-tests
Version: unspecified → 3.6 Branch
Severity: minor → S4
Attachment #9385763 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: