WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
186543
Make CompletionHandler more const correct
https://bugs.webkit.org/show_bug.cgi?id=186543
Summary
Make CompletionHandler more const correct
Alex Christensen
Reported
2018-06-11 15:05:37 PDT
Make CompletionHandler more const correct
Attachments
Patch
(44.88 KB, patch)
2018-06-11 15:11 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(45.22 KB, patch)
2018-06-11 16:43 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews205 for win-future
(12.89 MB, application/zip)
2018-06-11 21:01 PDT
,
EWS Watchlist
no flags
Details
Patch
(45.20 KB, patch)
2018-06-12 11:30 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(45.09 KB, patch)
2018-06-12 16:23 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews206 for win-future
(12.74 MB, application/zip)
2018-06-12 22:57 PDT
,
EWS Watchlist
no flags
Details
Patch
(69.85 KB, patch)
2018-07-27 14:57 PDT
,
Alex Christensen
saam
: review+
Details
Formatted Diff
Diff
Show Obsolete
(6)
View All
Add attachment
proposed patch, testcase, etc.
Alex Christensen
Comment 1
2018-06-11 15:11:17 PDT
Created
attachment 342470
[details]
Patch
Alex Christensen
Comment 2
2018-06-11 16:43:39 PDT
Created
attachment 342483
[details]
Patch
Michael Catanzaro
Comment 3
2018-06-11 17:54:54 PDT
Comment on
attachment 342483
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=342483&action=review
I don't have a strong opinion on whether we should do this, just a nit:
> Source/WTF/wtf/CompletionHandler.h:34 > -// Wraps a WTF::Function to make sure it is always called once and only once. > +// Wraps a Function to make sure it is always called once and only once on the correct thread.
This change belongs in
bug #186171
.
EWS Watchlist
Comment 4
2018-06-11 21:01:30 PDT
Comment on
attachment 342483
[details]
Patch
Attachment 342483
[details]
did not pass win-ews (win): Output:
http://webkit-queues.webkit.org/results/8141424
New failing tests: http/tests/security/video-poster-cross-origin-crash2.html
EWS Watchlist
Comment 5
2018-06-11 21:01:42 PDT
Created
attachment 342513
[details]
Archive of layout-test-results from ews205 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews205 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Alex Christensen
Comment 6
2018-06-12 11:30:29 PDT
Created
attachment 342567
[details]
Patch
Alex Christensen
Comment 7
2018-06-12 16:23:21 PDT
Created
attachment 342609
[details]
Patch
EWS Watchlist
Comment 8
2018-06-12 22:57:40 PDT
Comment on
attachment 342609
[details]
Patch
Attachment 342609
[details]
did not pass win-ews (win): Output:
http://webkit-queues.webkit.org/results/8156705
New failing tests: http/tests/security/local-video-source-from-remote.html http/tests/preload/onload_event.html
EWS Watchlist
Comment 9
2018-06-12 22:57:51 PDT
Created
attachment 342635
[details]
Archive of layout-test-results from ews206 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews206 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Alex Christensen
Comment 10
2018-06-13 10:14:56 PDT
I think the windows failures are unrelated.
Alex Christensen
Comment 11
2018-07-27 14:57:39 PDT
Created
attachment 345959
[details]
Patch
Saam Barati
Comment 12
2018-07-27 15:06:28 PDT
Comment on
attachment 345959
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=345959&action=review
> Source/WTF/wtf/CompletionHandler.h:56 > + Out operator()(In... in)
I think for perfect forwarding you want (In&... in)
Alex Christensen
Comment 13
2018-07-27 15:08:49 PDT
(In reply to Saam Barati from
comment #12
)
> Comment on
attachment 345959
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=345959&action=review
> > > Source/WTF/wtf/CompletionHandler.h:56 > > + Out operator()(In... in) > > I think for perfect forwarding you want (In&... in)
Right now it's the same as WTF::Function. Let's change both of them in another patch if it does anything.
Alex Christensen
Comment 14
2018-07-27 15:30:22 PDT
https://trac.webkit.org/changeset/234332/webkit
Radar WebKit Bug Importer
Comment 15
2018-07-27 15:33:12 PDT
<
rdar://problem/42677497
>
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