Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a07d7527317aebdbb962d2a78f5fe1ef17a323bd
      
https://github.com/WebKit/WebKit/commit/a07d7527317aebdbb962d2a78f5fe1ef17a323bd
  Author: Ryosuke Niwa <[email protected]>
  Date:   2026-10-07 (Wed, 07 Oct 2026)

  Changed paths:
    M 
LayoutTests/fast/viewport/ios/device-width-viewport-after-changing-view-scale-expected.txt
    M 
LayoutTests/fast/viewport/ios/device-width-viewport-after-changing-view-scale.html
    M LayoutTests/platform/ios/TestExpectations
    R 
LayoutTests/platform/ios/fast/viewport/ios/device-width-viewport-after-changing-view-scale-expected.txt
    R 
LayoutTests/platform/ipad/fast/viewport/ios/device-width-viewport-after-changing-view-scale-expected.txt

  Log Message:
  -----------
  [ iOS Release ] 
fast/viewport/ios/device-width-viewport-after-changing-view-scale.html is a 
flaky failure
https://bugs.webkit.org/show_bug.cgi?id=288987
rdar://146039956

Reviewed by Wenson Hsieh.

The test sometimes logged a stale window size because innerWidth and 
innerHeight are
derived from the unobscured content rect, which arrives in a visible content 
rect update
separate from the presentation update the test waited for.

Wait for the window size to reach the expected value after each view scale 
change.
Also make the test agnostic of the device it runs on by comparing sizes against 
those
measured at the default view scale instead of dumping absolute sizes.

* 
LayoutTests/fast/viewport/ios/device-width-viewport-after-changing-view-scale-expected.txt:
* 
LayoutTests/fast/viewport/ios/device-width-viewport-after-changing-view-scale.html:
* LayoutTests/platform/ios/TestExpectations:
* 
LayoutTests/platform/ios/fast/viewport/ios/device-width-viewport-after-changing-view-scale-expected.txt:
 Removed.
* 
LayoutTests/platform/ipad/fast/viewport/ios/device-width-viewport-after-changing-view-scale-expected.txt:
 Removed.

Canonical link: https://commits.webkit.org/322996@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to