Bug 171755 - Make it possible to test rotation in iOS WebKitTestRunner
Summary: Make it possible to test rotation in iOS WebKitTestRunner
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-05-05 15:49 PDT by Simon Fraser (smfr)
Modified: 2017-05-05 16:40 PDT (History)
4 users (show)

See Also:


Attachments
Patch (27.62 KB, patch)
2017-05-05 16:05 PDT, Simon Fraser (smfr)
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2017-05-05 15:49:55 PDT
Make it possible to test rotation in iOS WebKitTestRunner
Comment 1 Simon Fraser (smfr) 2017-05-05 16:05:29 PDT
Created attachment 309231 [details]
Patch
Comment 2 Radar WebKit Bug Importer 2017-05-05 16:05:50 PDT
<rdar://problem/32028012>
Comment 3 Build Bot 2017-05-05 16:07:42 PDT
Attachment 309231 [details] did not pass style-queue:


ERROR: Tools/TestRunnerShared/UIScriptContext/UIScriptController.cpp:46:  Multi line control clauses should use braces.  [whitespace/braces] [4]
ERROR: Tools/TestRunnerShared/UIScriptContext/UIScriptController.cpp:49:  Multi line control clauses should use braces.  [whitespace/braces] [4]
ERROR: Tools/TestRunnerShared/UIScriptContext/UIScriptController.cpp:52:  Multi line control clauses should use braces.  [whitespace/braces] [4]
ERROR: Tools/TestRunnerShared/UIScriptContext/UIScriptController.cpp:55:  Multi line control clauses should use braces.  [whitespace/braces] [4]
ERROR: Tools/WebKitTestRunner/ios/PlatformWebViewIOS.mm:122:  Multi line control clauses should use braces.  [whitespace/braces] [4]
ERROR: Tools/WebKitTestRunner/ios/PlatformWebViewIOS.mm:127:  No space between ^ and block definition.  [whitespace/brackets] [4]
ERROR: Tools/WebKitTestRunner/ios/PlatformWebViewIOS.mm:137:  Multi line control clauses should use braces.  [whitespace/braces] [4]
ERROR: Tools/WebKitTestRunner/ios/UIKitSPI.h:40:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Tools/WebKitTestRunner/ios/UIKitSPI.h:70:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
ERROR: Tools/WebKitTestRunner/ios/UIKitSPI.h:71:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
ERROR: Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm:558:  Multi line control clauses should use braces.  [whitespace/braces] [4]
ERROR: Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm:582:  No space between ^ and block definition.  [whitespace/brackets] [4]
ERROR: Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm:598:  No space between ^ and block definition.  [whitespace/brackets] [4]
Total errors found: 13 in 20 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 Tim Horton 2017-05-05 16:19:27 PDT
Comment on attachment 309231 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=309231&action=review

> LayoutTests/fast/events/ios/rotation/basic-rotation-expected.txt:10
> +PASS window.innerWidth is 320
> +PASS window.innerHeight is 320

Please check these in as failures.
Comment 5 Simon Fraser (smfr) 2017-05-05 16:40:27 PDT
https://trac.webkit.org/r216291