Bug 163746 - Make table.deleteRow(-1) a no-op when there are no rows
Summary: Make table.deleteRow(-1) a no-op when there are no rows
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: WebExposed
Depends on:
Blocks:
 
Reported: 2016-10-20 12:00 PDT by Chris Dumez
Modified: 2016-10-20 14:03 PDT (History)
8 users (show)

See Also:


Attachments
Patch (8.74 KB, patch)
2016-10-20 12:36 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2016-10-20 12:00:54 PDT
Make table.deleteRow(-1) a no-op when there are no rows, instead of throwing:
- https://github.com/whatwg/html/pull/1924
- https://github.com/w3c/web-platform-tests/pull/4001
Comment 1 Chris Dumez 2016-10-20 12:36:42 PDT
Created attachment 292237 [details]
Patch
Comment 2 WebKit Commit Bot 2016-10-20 14:03:38 PDT
Comment on attachment 292237 [details]
Patch

Clearing flags on attachment: 292237

Committed r207640: <http://trac.webkit.org/changeset/207640>
Comment 3 WebKit Commit Bot 2016-10-20 14:03:44 PDT
All reviewed patches have been landed.  Closing bug.