Bug 19764 - Performing SQL statements in the SQL window of the Web Inspector reports errors unnecessarily
Summary: Performing SQL statements in the SQL window of the Web Inspector reports erro...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Trivial
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-25 01:49 PDT by Dave Addey
Modified: 2014-12-16 00:04 PST (History)
1 user (show)

See Also:


Attachments
Screengrab of the error. (42.82 KB, image/jpeg)
2008-06-25 01:53 PDT, Dave Addey
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Addey 2008-06-25 01:49:00 PDT
Performing "DELETE FROM games" on a table called "games", containing several rows, reports an error of "An unexpected error 0 occured." in the SQL pane, even though the delete executes correctly.

Performing "SELECT * FROM games" on a table with zero rows reports an error of "An unexpected error 0 occured." in the SQL pane.

In both cases, an error of "undefined" is also reported in the main error log pane at the bottom of the Web Inspector window.
Comment 1 Dave Addey 2008-06-25 01:53:16 PDT
Created attachment 21926 [details]
Screengrab of the error.

This JPG shows the error when performing a DELETE FROM statement on a table with several rows.
Comment 2 Dave Addey 2008-07-02 07:16:51 PDT
Just done a regression check, and the last revision in which this worked was nightly build r34753.  It is broken as of r34798.