Bug 182241

Summary: Use document.scrollingElement to access viewport scroll properties in tests
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: New BugsAssignee: Frédéric Wang (:fredw) <fred.wang>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, ews-watchlist, jfernandez, simon.fraser, tonikitoo, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 143609    
Bug Blocks: 5991, 182230    
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ews122 for ios-simulator-wk2
none
Patch
none
Patch
none
Patch tonikitoo: review+

Description Frédéric Wang (:fredw) 2018-01-29 08:21:32 PST
Use document.scrollingElement to access viewport scroll properties in tests
Comment 1 Frédéric Wang (:fredw) 2018-01-29 08:26:53 PST
Created attachment 332543 [details]
Patch
Comment 2 Frédéric Wang (:fredw) 2018-01-29 08:30:16 PST
The changes to the WPT test is https://github.com/w3c/web-platform-tests/commit/fc33ef7641427a3f1388093c54b24f292c21b34d
Comment 3 EWS Watchlist 2018-01-29 09:56:18 PST
Comment on attachment 332543 [details]
Patch

Attachment 332543 [details] did not pass ios-sim-ews (ios-simulator-wk2):
Output: http://webkit-queues.webkit.org/results/6249814

New failing tests:
platform/ios/ios/fast/coordinates/inner-window-sizes-quirks.html
Comment 4 EWS Watchlist 2018-01-29 09:56:19 PST
Created attachment 332548 [details]
Archive of layout-test-results from ews122 for ios-simulator-wk2

The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews122  Port: ios-simulator-wk2  Platform: Mac OS X 10.12.6
Comment 5 Frédéric Wang (:fredw) 2018-01-29 10:19:23 PST
Created attachment 332550 [details]
Patch
Comment 6 Frédéric Wang (:fredw) 2018-01-29 11:19:16 PST
Created attachment 332561 [details]
Patch
Comment 7 Frédéric Wang (:fredw) 2018-01-30 01:04:23 PST
Created attachment 332635 [details]
Patch
Comment 8 Frédéric Wang (:fredw) 2018-01-30 01:17:01 PST
Comment on attachment 332561 [details]
Patch

Some of these tests are actually in quirks mode, so I'm not handling them in this bug. I also removed some end-of-file changes.
Comment 9 Frédéric Wang (:fredw) 2018-01-30 05:05:50 PST
Committed r227781: <https://trac.webkit.org/changeset/227781>
Comment 10 Radar WebKit Bug Importer 2018-01-30 05:08:06 PST
<rdar://problem/37025725>