Closed Bug 897357 Opened 11 years ago Closed 8 years ago

Web inspector escapes altered attribute data

Categories

(DevTools :: Inspector, defect)

25 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: pqwoerituytrueiwoq, Unassigned)

Details

Attachments

(1 file)

This is a lot like this old bug from 2001 (that was fixed)
https://bugzilla.mozilla.org/show_bug.cgi?id=68167
When I set the onclick attribute to something like alert('hello world')
It escapes the single quotes which results in a syntax error when the JS is run
Screenshot:
http://www.zimagez.com/zimage/screenshot-07242013-023553am.php
Attached image escape-apostrophe.png
Would you please provide detailed steps to reproduce the bug? I can't reproduce it.
I see it in Fx25.0.1, WFM in 50b11.
Status: UNCONFIRMED → RESOLVED
Has STR: --- → yes
Closed: 8 years ago
Component: Developer Tools: Object Inspector → Developer Tools: Inspector
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: