Bug 173329

Summary: Should media query callbacks be fired asynchronously?
Product: WebKit Reporter: alan <zalan>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, bfulgham, dino, rniwa, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Test case none

alan
Reported 2017-06-13 14:25:38 PDT
Created attachment 312809 [details] Test case Currently Document::evaluateMediaQueryList() fires then synchronously through FrameView::layout. Since the callback could run any JS code, we might not be able to recover from it when climbing back on the callstack with nested frames. See attached testcase (run-webkit-test --debug -1)
Attachments
Test case (317 bytes, text/html)
2017-06-13 14:25 PDT, alan
no flags
Radar WebKit Bug Importer
Comment 1 2017-06-13 14:26:15 PDT
Note You need to log in before you can comment on or make changes to this bug.