bug in error console->evaluate when return html code

UNCONFIRMED
Unassigned

Status

()

Firefox
General
--
minor
UNCONFIRMED
7 years ago
7 years ago

People

(Reporter: zkizzik, Unassigned)

Tracking

3.6 Branch
x86
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
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

Updated

7 years ago
Version: unspecified → 3.6 Branch
You need to log in before you can comment on or make changes to this bug.