Bug 185630 - Add an API test to guard against regressions while re-entering setDefersLoading:
Summary: Add an API test to guard against regressions while re-entering setDefersLoading:
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brady Eidson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-05-14 14:48 PDT by Brady Eidson
Modified: 2018-05-14 20:09 PDT (History)
3 users (show)

See Also:


Attachments
Patch (26.96 KB, patch)
2018-05-14 15:00 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff
Patch (27.01 KB, patch)
2018-05-14 16:00 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff
Patch (25.36 KB, patch)
2018-05-14 16:59 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brady Eidson 2018-05-14 14:48:11 PDT
Add an API test to guard against re-entering setDefersLoading:

<rdar://problem/37033737>
Comment 1 Brady Eidson 2018-05-14 15:00:53 PDT
Created attachment 340364 [details]
Patch
Comment 2 EWS Watchlist 2018-05-14 15:03:15 PDT
Attachment 340364 [details] did not pass style-queue:


ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/DoubleDefersLoadingPlugin.mm:31:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/DoubleDefersLoading.mm:29:  Bad include order. Mixing system and custom headers.  [build/include_order] [4]
ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/DoubleDefersLoading.mm:89:  Multi-line string ("...") found.  This lint script doesn't do well with such strings, and may give bogus warnings.  They're ugly and unnecessary, and you should use concatenation instead".  [readability/multiline_string] [5]
ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/DoubleDefersLoading.mm:92:  Multi-line string ("...") found.  This lint script doesn't do well with such strings, and may give bogus warnings.  They're ugly and unnecessary, and you should use concatenation instead".  [readability/multiline_string] [5]
Total errors found: 4 in 10 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Brady Eidson 2018-05-14 16:00:45 PDT
Created attachment 340370 [details]
Patch
Comment 4 EWS Watchlist 2018-05-14 16:02:37 PDT
Attachment 340370 [details] did not pass style-queue:


ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/DoubleDefersLoading.mm:91:  Multi-line string ("...") found.  This lint script doesn't do well with such strings, and may give bogus warnings.  They're ugly and unnecessary, and you should use concatenation instead".  [readability/multiline_string] [5]
ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/DoubleDefersLoading.mm:94:  Multi-line string ("...") found.  This lint script doesn't do well with such strings, and may give bogus warnings.  They're ugly and unnecessary, and you should use concatenation instead".  [readability/multiline_string] [5]
Total errors found: 2 in 10 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Brady Eidson 2018-05-14 16:59:14 PDT
Created attachment 340379 [details]
Patch
Comment 6 EWS Watchlist 2018-05-14 17:03:20 PDT
Attachment 340379 [details] did not pass style-queue:


ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/DoubleDefersLoading.mm:91:  Multi-line string ("...") found.  This lint script doesn't do well with such strings, and may give bogus warnings.  They're ugly and unnecessary, and you should use concatenation instead".  [readability/multiline_string] [5]
ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/DoubleDefersLoading.mm:94:  Multi-line string ("...") found.  This lint script doesn't do well with such strings, and may give bogus warnings.  They're ugly and unnecessary, and you should use concatenation instead".  [readability/multiline_string] [5]
Total errors found: 2 in 10 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 7 WebKit Commit Bot 2018-05-14 20:09:24 PDT
Comment on attachment 340379 [details]
Patch

Clearing flags on attachment: 340379

Committed r231785: <https://trac.webkit.org/changeset/231785>
Comment 8 WebKit Commit Bot 2018-05-14 20:09:26 PDT
All reviewed patches have been landed.  Closing bug.