Bug 231262
Summary: | [ iOS ] fast/events/ios/rotation/resize-iframe-after-orientation-change.html is crashing/ failing | ||
---|---|---|---|
Product: | WebKit | Reporter: | ayumi_kojima |
Component: | UI Events | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ayumi_kojima, ben_schwartz, hi, webkit-bot-watchers-bugzilla, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | iPhone / iPad | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=271445 |
ayumi_kojima
fast/events/ios/rotation/resize-iframe-after-orientation-change.html
is constantly crashing on iOS iPhone Debug and flaky (almost constantly) failing on iOS iPhone Release.
History: https://results.webkit.org/?suite=layout-tests&test=fast%2Fevents%2Fios%2Frotation%2Fresize-iframe-after-orientation-change.html
Stderr:
ASSERTION FAILED: task.callback
/Volumes/Data/worker/ios-simulator-15-debug/build/Tools/TestRunnerShared/UIScriptContext/UIScriptContext.cpp(95) : void WTR::UIScriptContext::asyncTaskComplete(unsigned int)
1 0x11b218e99 WTFCrash
2 0x11009619b WTFCrashWithInfo(int, char const*, char const*, int)
3 0x11009a59c WTR::UIScriptContext::asyncTaskComplete(unsigned int)
4 0x1100b56df WTR::UIScriptControllerIOS::simulateRotation(WTR::DeviceOrientation*, OpaqueJSValue const*)::$_22::operator()() const
5 0x1100b58bd WTF::BlockPtr<void ()> WTF::BlockPtr<void ()>::fromCallable<WTR::UIScriptControllerIOS::simulateRotation(WTR::DeviceOrientation*, OpaqueJSValue const*)::$_22>(WTR::UIScriptControllerIOS::simulateRotation(WTR::DeviceOrientation*, OpaqueJSValue const*)::$_22)::'lambda'(void*)::operator()(void*) const
6 0x1100b5895 WTF::BlockPtr<void ()> WTF::BlockPtr<void ()>::fromCallable<WTR::UIScriptControllerIOS::simulateRotation(WTR::DeviceOrientation*, OpaqueJSValue const*)::$_22>(WTR::UIScriptControllerIOS::simulateRotation(WTR::DeviceOrientation*, OpaqueJSValue const*)::$_22)::'lambda'(void*)::__invoke(void*)
7 0x110096f92 -[TestRunnerWKWebView _didEndRotation]
8 0x10ffe057e __80-[PlatformWebViewController viewWillTransitionToSize:withTransitionCoordinator:]_block_invoke.56
9 0x1306eb98c -[_UIViewControllerTransitionCoordinator _applyBlocks:releaseBlocks:]
10 0x1306e7cbe -[_UIViewControllerTransitionContext _runAlongsideCompletions]
11 0x1306e7a52 -[_UIViewControllerTransitionContext completeTransition:]
12 0x130703c2b __58-[_UIWindowRotationAnimationController animateTransition:]_block_invoke_2.182
13 0x13142f0b8 +[UIView _performBlockDelayingTriggeringResponderEvents:forScene:]
14 0x130703bcb __58-[_UIWindowRotationAnimationController animateTransition:]_block_invoke.181
15 0x13142a58a -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:]
16 0x1313faf81 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:]
17 0x1313fb526 -[UIViewAnimationState animationDidStop:finished:]
18 0x1111999b2 CA::Layer::run_animation_callbacks(void*)
19 0x111967a56 _dispatch_client_callout
20 0x111974e20 _dispatch_main_queue_callback_4CF
21 0x1136fe85d __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
22 0x1136f90ba __CFRunLoopRun
23 0x1136f8103 CFRunLoopRunSpecific
24 0x1140f841c -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
25 0x11004fffd WTR::TestController::platformRunUntil(bool&, WTF::Seconds)
26 0x11001259f WTR::TestController::runUntil(bool&, WTF::Seconds)
27 0x1100748b2 WTR::TestInvocation::invoke()
28 0x11001a153 WTR::TestController::runTest(char const*)
29 0x11001a576 WTR::TestController::runTestingServerLoop()
30 0x110012ef7 WTR::TestController::run()
31 0x1100128d9 WTR::TestController::TestController(int, char const**)
Diff:
--- /Volumes/Data/worker/ios-simulator-15-release-tests-wk2/build/layout-test-results/fast/events/ios/rotation/resize-iframe-after-orientation-change-expected.txt
+++ /Volumes/Data/worker/ios-simulator-15-release-tests-wk2/build/layout-test-results/fast/events/ios/rotation/resize-iframe-after-orientation-change-actual.txt
@@ -2,7 +2,7 @@
TEST COMPLETE
PASS document.getElementById('frame').scrollWidth is outer.scrollWidth
-PASS document.getElementById('frame').contentDocument.getElementById('inner').scrollWidth is outer.scrollWidth
+FAIL document.getElementById('frame').contentDocument.getElementById('inner').scrollWidth should be 800. Was 320.
Each time the viewport is resized, the outer div (green), iframe (orange) and inner div (pink) should take the full viewport width:
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/83907851>
ayumi_kojima
Marked test expectations https://trac.webkit.org/changeset/283582/webkit
Ben Schwartz
Crash appears resolved as of 275423@main.
Ben Schwartz
Filed new bug for failure: bug #271445.