RESOLVED FIXED121075
Move layering-violating code from Pasteboard::plainText into Editor (Mac only at first)
https://bugs.webkit.org/show_bug.cgi?id=121075
Summary Move layering-violating code from Pasteboard::plainText into Editor (Mac only...
Darin Adler
Reported 2013-09-09 21:28:30 PDT
Move layering-violating code from Pasteboard::plainText into Editor (Mac only at first)
Attachments
Patch (16.18 KB, patch)
2013-09-09 21:33 PDT, Darin Adler
no flags
Archive of layout-test-results from webkit-ews-06 for mac-mountainlion (635.74 KB, application/zip)
2013-09-09 22:20 PDT, Build Bot
no flags
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2 (552.75 KB, application/zip)
2013-09-09 22:22 PDT, Build Bot
no flags
Patch (16.31 KB, patch)
2013-09-12 07:43 PDT, Darin Adler
andersca: review+
andersca: commit-queue-
Darin Adler
Comment 1 2013-09-09 21:33:41 PDT
Build Bot
Comment 2 2013-09-09 22:19:58 PDT
Comment on attachment 211154 [details] Patch Attachment 211154 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/1726806 New failing tests: editing/pasteboard/4076267-3.html editing/pasteboard/copy-null-characters.html editing/pasteboard/copy-paste-ruby-text.html editing/pasteboard/copy-backslash-with-euc.html editing/pasteboard/copy-image-with-alt-text.html editing/pasteboard/copy-paste-ruby-text-with-block.html editing/pasteboard/4076267.html
Build Bot
Comment 3 2013-09-09 22:20:00 PDT
Created attachment 211161 [details] Archive of layout-test-results from webkit-ews-06 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-06 Port: mac-mountainlion Platform: Mac OS X 10.8.4
Build Bot
Comment 4 2013-09-09 22:22:07 PDT
Comment on attachment 211154 [details] Patch Attachment 211154 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/1726807 New failing tests: editing/pasteboard/4076267-3.html editing/pasteboard/copy-null-characters.html editing/pasteboard/copy-paste-ruby-text.html editing/pasteboard/copy-backslash-with-euc.html editing/pasteboard/copy-image-with-alt-text.html editing/pasteboard/copy-paste-ruby-text-with-block.html editing/pasteboard/4076267.html
Build Bot
Comment 5 2013-09-09 22:22:08 PDT
Created attachment 211162 [details] Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-12 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.4
Darin Adler
Comment 6 2013-09-12 07:43:48 PDT
Darin Adler
Comment 7 2013-09-12 07:44:08 PDT
First patch had one missing return statement, causing regression test failures.
Anders Carlsson
Comment 8 2013-09-12 08:29:54 PDT
Comment on attachment 211427 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=211427&action=review > Source/WebCore/platform/mac/PasteboardMac.mm:297 > + if (RetainPtr<NSAttributedString> attributedString = [[NSAttributedString alloc] initWithRTF:[data->createNSData() autorelease] documentAttributes:NULL]) { Missing an adoptNS here! Also, i'd use auto instead of repeating the type twice here.
Darin Adler
Comment 9 2013-09-12 09:22:00 PDT
Comment on attachment 211427 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=211427&action=review >> Source/WebCore/platform/mac/PasteboardMac.mm:297 >> + if (RetainPtr<NSAttributedString> attributedString = [[NSAttributedString alloc] initWithRTF:[data->createNSData() autorelease] documentAttributes:NULL]) { > > Missing an adoptNS here! Also, i'd use auto instead of repeating the type twice here. I didn’t use auto because auto will give me PassRefPtr, not RefPtr.
Darin Adler
Comment 10 2013-09-12 09:46:43 PDT
Note You need to log in before you can comment on or make changes to this bug.