Bug 63544 - Web Inspector: tab crash after deleting trailing quote when editing attribute
Summary: Web Inspector: tab crash after deleting trailing quote when editing attribute
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Pavel Feldman
Depends on:
Reported: 2011-06-28 10:34 PDT by Evan Martin
Modified: 2011-06-29 06:47 PDT (History)
10 users (show)

See Also:

Patch (5.39 KB, patch)
2011-06-29 05:10 PDT, Pavel Feldman
no flags Details | Formatted Diff | Diff
Patch (5.35 KB, patch)
2011-06-29 06:43 PDT, Pavel Feldman
yurys: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Evan Martin 2011-06-28 10:34:30 PDT
Right-click a dom node that has some attribute.  Double-click on the attribute in the inspector.  Delete the trailing " mark from the attribute value.  Press enter.  Boom.

Google Chrome	14.0.803.0 (Official Build 90483) dev
OS	Linux
WebKit	535.1 (trunk@89703)
Comment 1 Pavel Feldman 2011-06-29 05:10:09 PDT
Created attachment 99074 [details]
Comment 2 Yury Semikhatsky 2011-06-29 06:40:09 PDT
Comment on attachment 99074 [details]

View in context: https://bugs.webkit.org/attachment.cgi?id=99074&action=review

> LayoutTests/inspector/elements/set-attribute.html:112
> +            InspectorTest.runAfterPendingDispatches(callback);

Please pass callback as setAttribute third parameter and check error message there.
Comment 3 Pavel Feldman 2011-06-29 06:43:59 PDT
Created attachment 99081 [details]
Comment 4 Pavel Feldman 2011-06-29 06:47:16 PDT
Committed r90013: <http://trac.webkit.org/changeset/90013>