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)
<rdar://problem/32748777>