[Webkit-unassigned] [Bug 173329] New: Should media query callbacks be fired asynchronously?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 13 14:25:38 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=173329

            Bug ID: 173329
           Summary: Should media query callbacks be fired asynchronously?
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zalan at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 312809

  --> https://bugs.webkit.org/attachment.cgi?id=312809&action=review

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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170613/ec4eb1b0/attachment.html>


More information about the webkit-unassigned mailing list