WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
167063
De-duplicate more (nearly) identical code in Editor(Mac|IOS).mm
https://bugs.webkit.org/show_bug.cgi?id=167063
Summary
De-duplicate more (nearly) identical code in Editor(Mac|IOS).mm
Tim Horton
Reported
2017-01-15 00:41:55 PST
De-duplicate more (nearly) identical code in Editor(Mac|IOS).mm
Attachments
Patch
(20.52 KB, patch)
2017-01-15 00:42 PST
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Patch
(20.52 KB, patch)
2017-01-15 00:55 PST
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews100 for mac-elcapitan
(407.21 KB, application/zip)
2017-01-15 01:44 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews112 for mac-elcapitan
(403.71 KB, application/zip)
2017-01-15 01:49 PST
,
Build Bot
no flags
Details
Patch
(20.56 KB, patch)
2017-01-15 11:03 PST
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Tim Horton
Comment 1
2017-01-15 00:42:45 PST
Created
attachment 298891
[details]
Patch
Tim Horton
Comment 2
2017-01-15 00:55:52 PST
Created
attachment 298894
[details]
Patch
Build Bot
Comment 3
2017-01-15 01:44:45 PST
Comment on
attachment 298894
[details]
Patch
Attachment 298894
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/2893223
Number of test failures exceeded the failure limit.
Build Bot
Comment 4
2017-01-15 01:44:48 PST
Created
attachment 298895
[details]
Archive of layout-test-results from ews100 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 5
2017-01-15 01:49:28 PST
Comment on
attachment 298894
[details]
Patch
Attachment 298894
[details]
did not pass mac-debug-ews (mac): Output:
http://webkit-queues.webkit.org/results/2893228
Number of test failures exceeded the failure limit.
Build Bot
Comment 6
2017-01-15 01:49:31 PST
Created
attachment 298896
[details]
Archive of layout-test-results from ews112 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews112 Port: mac-elcapitan Platform: Mac OS X 10.11.6
mitz
Comment 7
2017-01-15 09:21:18 PST
Comment on
attachment 298894
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=298894&action=review
> Source/WebCore/editing/cocoa/EditorCocoa.mm:107 > + if (shadow) {
Should null-check shadowData so as not to crash everything (and maybe avoid using “shadow” as a variable name in this code).
Tim Horton
Comment 8
2017-01-15 10:54:08 PST
(In reply to
comment #7
)
> Comment on
attachment 298894
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=298894&action=review
> > > Source/WebCore/editing/cocoa/EditorCocoa.mm:107 > > + if (shadow) { > > Should null-check shadowData so as not to crash everything (and maybe avoid > using “shadow” as a variable name in this code).
I... would not have expected that to compile. I will rename and fix :)
Tim Horton
Comment 9
2017-01-15 11:03:40 PST
Created
attachment 298901
[details]
Patch
WebKit Commit Bot
Comment 10
2017-01-15 11:40:47 PST
Comment on
attachment 298901
[details]
Patch Clearing flags on attachment: 298901 Committed
r210779
: <
http://trac.webkit.org/changeset/210779
>
WebKit Commit Bot
Comment 11
2017-01-15 11:40:52 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.
Top of Page
Format For Printing
XML
Clone This Bug