| Summary: | Expected shouldn't assume its contained types are copyable | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alex Christensen <achristensen> | ||||||||||
| Component: | New Bugs | Assignee: | Alex Christensen <achristensen> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | benjamin, cdumez, cgarcia, cmarcelo, commit-queue, dbates, ews-watchlist, jfbastien, mcatanzaro, rniwa, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | WebKit Nightly Build | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Alex Christensen
2019-03-19 21:41:49 PDT
Created attachment 365305 [details]
Patch
Attachment 365305 [details] did not pass style-queue:
ERROR: Source/WTF/wtf/Expected.h:252: constexpr_storage is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4]
ERROR: Source/WTF/wtf/Expected.h:253: constexpr_storage is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4]
ERROR: Source/WTF/wtf/Expected.h:314: constexpr_base is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4]
ERROR: Source/WTF/wtf/Expected.h:315: constexpr_base is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4]
Total errors found: 4 in 5 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 365305 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=365305&action=review > Source/WTF/wtf/Unexpected.h:53 > + template <class U = E> > + constexpr explicit unexpected(E&&); Note, it looks like this has been addressed in subsequent revisions of http://wg21.link/p0323 Created attachment 365318 [details]
Patch
Attachment 365318 [details] did not pass style-queue:
ERROR: Source/WTF/wtf/Expected.h:253: constexpr_storage is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4]
ERROR: Source/WTF/wtf/Expected.h:255: constexpr_storage is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4]
ERROR: Source/WTF/wtf/Expected.h:317: constexpr_base is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4]
ERROR: Source/WTF/wtf/Expected.h:319: constexpr_base is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4]
Total errors found: 4 in 5 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 365318 [details] Patch Attachment 365318 [details] did not pass mac-wk2-ews (mac-wk2): Output: https://webkit-queues.webkit.org/results/11576676 New failing tests: http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html Created attachment 365325 [details]
Archive of layout-test-results from ews107 for mac-highsierra-wk2
The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews107 Port: mac-highsierra-wk2 Platform: Mac OS X 10.13.6
Comment on attachment 365318 [details]
Patch
lgtm!
Could someone get this building on Linux? (In reply to Alex Christensen from comment #9) > Could someone get this building on Linux? Probably tonight Bad news is that it builds perfectly fine for me. The GTK and WPE EWS are both on still on GCC 6 to ensure compatibility with Debian Stretch.
It looks like the only build errors are on lines 259, 261, 263, and 277 of ContentExtensionParser.cpp, returning a Expected<Optional<Action>, std::error_code>. Maybe you could try making the conversions there more explicit?
return Expected { Optional { ActionType::BlockLoad }, std::error_code() };
If that doesn't please the EWS and you're really having trouble, I can install Stretch in a VM and fight it there.
Created attachment 365901 [details]
Patch
Attachment 365901 [details] did not pass style-queue:
ERROR: Source/WTF/wtf/Expected.h:253: constexpr_storage is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4]
ERROR: Source/WTF/wtf/Expected.h:255: constexpr_storage is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4]
ERROR: Source/WTF/wtf/Expected.h:317: constexpr_base is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4]
ERROR: Source/WTF/wtf/Expected.h:319: constexpr_base is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4]
Total errors found: 4 in 7 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 365901 [details] Patch Clearing flags on attachment: 365901 Committed r243486: <https://trac.webkit.org/changeset/243486> All reviewed patches have been landed. Closing bug. |