RESOLVED FIXED 164173
Convert more of DOM from ExceptionCode to Exception
https://bugs.webkit.org/show_bug.cgi?id=164173
Summary Convert more of DOM from ExceptionCode to Exception
Darin Adler
Reported 2016-10-28 21:42:52 PDT
Convert more of DOM from ExceptionCode to Exception
Attachments
Patch (119.05 KB, patch)
2016-10-28 21:59 PDT, Darin Adler
no flags
Archive of layout-test-results from ews101 for mac-yosemite (799.37 KB, application/zip)
2016-10-28 23:10 PDT, Build Bot
no flags
Archive of layout-test-results from ews104 for mac-yosemite-wk2 (1.09 MB, application/zip)
2016-10-28 23:15 PDT, Build Bot
no flags
Archive of layout-test-results from ews117 for mac-yosemite (1.62 MB, application/zip)
2016-10-28 23:19 PDT, Build Bot
no flags
Archive of layout-test-results from ews125 for ios-simulator-wk2 (deleted)
2016-10-28 23:30 PDT, Build Bot
no flags
Patch (119.02 KB, patch)
2016-10-29 08:37 PDT, Darin Adler
no flags
Patch (120.20 KB, patch)
2016-10-29 09:28 PDT, Darin Adler
no flags
Patch (120.32 KB, patch)
2016-10-29 09:30 PDT, Darin Adler
no flags
Archive of layout-test-results from ews106 for mac-yosemite-wk2 (1.16 MB, application/zip)
2016-10-29 10:49 PDT, Build Bot
no flags
Patch (123.00 KB, patch)
2016-10-29 13:48 PDT, Darin Adler
no flags
Darin Adler
Comment 1 2016-10-28 21:59:38 PDT
Darin Adler
Comment 2 2016-10-28 22:01:18 PDT
After this patch, the only 8 remaining IDL files using LegacyException are: ChildNode.idl Document.idl Element.idl EventTarget.idl NamedNodeMap.idl Node.idl ParentNode.idl Range.idl
Build Bot
Comment 3 2016-10-28 23:10:05 PDT
Comment on attachment 293274 [details] Patch Attachment 293274 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/2397576 New failing tests: imported/w3c/web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor.html
Build Bot
Comment 4 2016-10-28 23:10:08 PDT
Created attachment 293280 [details] Archive of layout-test-results from ews101 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 5 2016-10-28 23:15:41 PDT
Comment on attachment 293274 [details] Patch Attachment 293274 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/2397607 New failing tests: fast/mediastream/RTCRtpSender-replaceTrack.html imported/w3c/web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor.html fast/mediastream/RTCPeerConnection.html
Build Bot
Comment 6 2016-10-28 23:15:45 PDT
Created attachment 293281 [details] Archive of layout-test-results from ews104 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Build Bot
Comment 7 2016-10-28 23:19:26 PDT
Comment on attachment 293274 [details] Patch Attachment 293274 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/2397582 New failing tests: imported/w3c/web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor.html
Build Bot
Comment 8 2016-10-28 23:19:29 PDT
Created attachment 293282 [details] Archive of layout-test-results from ews117 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews117 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 9 2016-10-28 23:30:37 PDT
Comment on attachment 293274 [details] Patch Attachment 293274 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/2397617 New failing tests: imported/w3c/web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor.html
Build Bot
Comment 10 2016-10-28 23:30:41 PDT
Created attachment 293284 [details] Archive of layout-test-results from ews125 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews125 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
youenn fablet
Comment 11 2016-10-29 06:21:12 PDT
Comment on attachment 293274 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=293274&action=review > Source/WebCore/Modules/mediastream/RTCConfiguration.h:45 > class RTCConfiguration : public RefCounted<RTCConfiguration> { A bunch of WebRTC classes have been made ref-counted without actually needed it. This one should be made a struct, as well as RTCOffer/Answer as you noted. > Source/WebCore/Modules/mediastream/RTCConfiguration.idl:33 > ] interface RTCConfiguration { RTCConfiguration should be a dictionary as per the spec.
Darin Adler
Comment 12 2016-10-29 08:37:25 PDT
Darin Adler
Comment 13 2016-10-29 09:28:42 PDT
Darin Adler
Comment 14 2016-10-29 09:30:33 PDT
Build Bot
Comment 15 2016-10-29 10:49:14 PDT
Comment on attachment 293296 [details] Patch Attachment 293296 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/2400285 New failing tests: fast/mediastream/RTCRtpSender-replaceTrack.html
Build Bot
Comment 16 2016-10-29 10:49:18 PDT
Created attachment 293297 [details] Archive of layout-test-results from ews106 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Darin Adler
Comment 17 2016-10-29 13:48:00 PDT
Ryosuke Niwa
Comment 18 2016-10-29 15:14:56 PDT
Comment on attachment 293310 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=293310&action=review > Source/WebCore/Modules/mediastream/RTCOfferAnswerOptions.h:53 > +// FIXME: Why is this reference counted? > +class RTCOfferOptions : public RefCounted<RTCOfferOptions>, public RTCOfferAnswerOptions { It seems that we can keep RTCOfferAnswerOptions RefCounted and add a FIXME there instead. I don't think it's really cleaner to use RefCounted<> in two subclasses of RTCOfferAnswerOptions. > Source/WebCore/editing/InsertIntoTextNodeCommand.cpp:72 > +// FIXME: Why would reapply be iOS-specific? > void InsertIntoTextNodeCommand::doReapply() I guess the only difference would be that we don't momentarilyRevealLastTypedCharacter on iOS upon redo.
Darin Adler
Comment 19 2016-10-29 19:33:48 PDT
Comment on attachment 293310 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=293310&action=review >> Source/WebCore/Modules/mediastream/RTCOfferAnswerOptions.h:53 >> +class RTCOfferOptions : public RefCounted<RTCOfferOptions>, public RTCOfferAnswerOptions { > > It seems that we can keep RTCOfferAnswerOptions RefCounted and add a FIXME there instead. > I don't think it's really cleaner to use RefCounted<> in two subclasses of RTCOfferAnswerOptions. But it's more efficient. No need for virtual destructor.
WebKit Commit Bot
Comment 20 2016-10-29 19:59:34 PDT
Comment on attachment 293310 [details] Patch Clearing flags on attachment: 293310 Committed r208118: <http://trac.webkit.org/changeset/208118>
WebKit Commit Bot
Comment 21 2016-10-29 19:59:40 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.