Bug 94518
| Summary: | Web Inspector: setting 'eval' breaks the debugger | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | felix <felix8a> |
| Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | apavlov, burg, bweinstein, erights, joepeck, keishi, loislo, pfeldman, pmuellr, rik, yurys |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
felix
If a script sets 'eval' to something other than eval, the debugger becomes pretty useless, there's no way to inspect any values.
This is a problem for people working in js sandboxes that disable eval, and possibly a problem for people trying to analyze malicious js.
<!doctype html>
<html>
<head>
<script>
var e = 33;
eval = 'thirty three';
debugger;
</script>
</head>
</html>
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |