RESOLVED FIXED 117980
Adopt is/toHTMLAreaElement for code cleanup
https://bugs.webkit.org/show_bug.cgi?id=117980
Summary Adopt is/toHTMLAreaElement for code cleanup
Kangil Han
Reported 2013-06-25 05:21:36 PDT
Adopt is/toHTMLAreaElement for code cleanup
Attachments
Patch (14.08 KB, patch)
2013-06-25 05:24 PDT, Kangil Han
no flags
Patch (14.07 KB, patch)
2013-06-26 06:23 PDT, Kangil Han
no flags
Archive of layout-test-results from webkit-cq-01 for mac-mountainlion (763.35 KB, application/zip)
2013-06-26 08:18 PDT, WebKit Commit Bot
no flags
Kangil Han
Comment 1 2013-06-25 05:24:20 PDT
Antonio Gomes
Comment 2 2013-06-26 05:40:08 PDT
Comment on attachment 205384 [details] Patch I think toHTMLAreaElement makes sense, given that there are other similar toXXX functions around. I am not sure isHTMLAreaElement does, though. In the same line now you have things like if (isHTMLAreaElement() ||bleh->hasTagName(blah))
Kangil Han
Comment 3 2013-06-26 05:54:09 PDT
(In reply to comment #2) > (From update of attachment 205384 [details]) > I think toHTMLAreaElement makes sense, given that there are other similar toXXX functions around. > > I am not sure isHTMLAreaElement does, though. > > In the same line now you have things like if (isHTMLAreaElement() ||bleh->hasTagName(blah)) Don't worry. I've made patches to adopt is/toFooElement for all FooElements. :) As patches are landed, we won't see blah things you mentioned. ;)
Antonio Gomes
Comment 4 2013-06-26 06:09:21 PDT
Comment on attachment 205384 [details] Patch Ok
Kangil Han
Comment 5 2013-06-26 06:10:40 PDT
(In reply to comment #4) > (From update of attachment 205384 [details]) > Ok Thx!
WebKit Commit Bot
Comment 6 2013-06-26 06:11:37 PDT
Comment on attachment 205384 [details] Patch Rejecting attachment 205384 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-03', 'apply-attachment', '--no-update', '--non-interactive', 205384, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: tTestResult.cpp Hunk #1 FAILED at 29. Hunk #2 FAILED at 511. 2 out of 2 hunks FAILED -- saving rejects to file Source/WebCore/rendering/HitTestResult.cpp.rej patching file Source/WebCore/rendering/RenderImage.cpp patching file Source/WebKit/blackberry/Api/WebPage.cpp patching file Source/WebKit/blackberry/WebKitSupport/TouchEventHandler.cpp Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Antonio Gomes']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output: http://webkit-queues.appspot.com/results/965833
Kangil Han
Comment 7 2013-06-26 06:23:29 PDT
WebKit Commit Bot
Comment 8 2013-06-26 08:18:14 PDT
Comment on attachment 205483 [details] Patch Rejecting attachment 205483 [details] from commit-queue. New failing tests: media/track/media-element-enqueue-event-crash.html Full output: http://webkit-queues.appspot.com/results/930472
WebKit Commit Bot
Comment 9 2013-06-26 08:18:15 PDT
Created attachment 205495 [details] Archive of layout-test-results from webkit-cq-01 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the commit-queue. Bot: webkit-cq-01 Port: mac-mountainlion Platform: Mac OS X 10.8.3
Kangil Han
Comment 10 2013-06-26 08:46:03 PDT
Try one more since this patch doesn't touch media stuff. :)
WebKit Commit Bot
Comment 11 2013-06-26 10:24:07 PDT
Comment on attachment 205483 [details] Patch Clearing flags on attachment: 205483 Committed r151996: <http://trac.webkit.org/changeset/151996>
WebKit Commit Bot
Comment 12 2013-06-26 10:24:09 PDT
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.