RESOLVED FIXED140902
Rename Document::body() to Document::bodyOrFrameset() for clarity
https://bugs.webkit.org/show_bug.cgi?id=140902
Summary Rename Document::body() to Document::bodyOrFrameset() for clarity
Chris Dumez
Reported 2015-01-26 14:09:58 PST
Rename Document::body() to Document::bodyOrFrameset() for clarity. This method does not necessarily return an HTMLBodyElement, it can also return a frameset as per the specification: http://www.w3.org/TR/html5/dom.html#dom-tree-accessors This method is often misused internally (the caller is only interested in the <body> element). I will fix these instances in a follow-up patch.
Attachments
Patch (38.79 KB, patch)
2015-01-26 14:45 PST, Chris Dumez
no flags
Patch (39.60 KB, patch)
2015-01-26 15:13 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2015-01-26 14:45:31 PST
Chris Dumez
Comment 2 2015-01-26 15:13:21 PST
Andreas Kling
Comment 3 2015-01-26 15:38:38 PST
Comment on attachment 245380 [details] Patch r=me
WebKit Commit Bot
Comment 4 2015-01-26 16:26:24 PST
Comment on attachment 245380 [details] Patch Clearing flags on attachment: 245380 Committed r179157: <http://trac.webkit.org/changeset/179157>
WebKit Commit Bot
Comment 5 2015-01-26 16:26:30 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.