Changeset 138764 in webkit


Ignore:
Timestamp:
Jan 3, 2013, 4:31:47 PM (13 years ago)
Author:
jonlee@apple.com
Message:

REGRESSION(r138729): crash and assertion failures in WebKit::WebProcess::plugInDidReceiveUserInteraction
https://bugs.webkit.org/show_bug.cgi?id=106042
<rdar://problem/12953469>

Reviewed by Brady Eidson.

Source/WebKit2:

The assertion is hit if plugin snapshotting is disabled, and the user interacts with a plug-in that
comes from an origin not found in the cached dictionary. The proper fix is to check for whether the
setting is enabled. Otherwise, that origin should be in the dictionary since the plugin is running.

  • WebProcess/Plugins/PluginView.cpp:

(WebKit::PluginView::pluginDidReceiveUserInteraction): Check for the setting, and avoid the whole code
path if snapshotting is disabled.

LayoutTests:

  • platform/mac-wk2/TestExpectations: Unskip the crashing tests.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r138761 r138764  
     12013-01-03  Jon Lee  <jonlee@apple.com>
     2
     3        REGRESSION(r138729): crash and assertion failures in WebKit::WebProcess::plugInDidReceiveUserInteraction
     4        https://bugs.webkit.org/show_bug.cgi?id=106042
     5        <rdar://problem/12953469>
     6
     7        Reviewed by Brady Eidson.
     8
     9        * platform/mac-wk2/TestExpectations: Unskip the crashing tests.
     10
    1112013-01-03  Ryosuke Niwa  <rniwa@webkit.org>
    212
  • trunk/LayoutTests/platform/mac-wk2/TestExpectations

    r138743 r138764  
    297297webkit.org/b/93552 inspector/device-orientation-success.html [ Failure ]
    298298
    299 webkit.org/b/106042 fast/replaced/no-focus-ring-object.html [ Crash ]
    300 webkit.org/b/106042 fast/replaced/no-focus-ring-embed.html [ Crash ]
    301 webkit.org/b/106042 platform/mac-wk2/plugins/mouse-events-scaled-iframe.html [ Crash ]
    302 webkit.org/b/106042 plugins/change-widget-and-click-crash.html [ Crash ]
    303 webkit.org/b/106042 plugins/resize-from-plugin.html [ Crash ]
    304 
    305299### END OF (1) Classified failures with bug reports
    306300########################################
  • trunk/Source/WebKit2/ChangeLog

    r138759 r138764  
     12013-01-03  Jon Lee  <jonlee@apple.com>
     2
     3        REGRESSION(r138729): crash and assertion failures in WebKit::WebProcess::plugInDidReceiveUserInteraction
     4        https://bugs.webkit.org/show_bug.cgi?id=106042
     5        <rdar://problem/12953469>
     6
     7        Reviewed by Brady Eidson.
     8
     9        The assertion is hit if plugin snapshotting is disabled, and the user interacts with a plug-in that
     10        comes from an origin not found in the cached dictionary. The proper fix is to check for whether the
     11        setting is enabled. Otherwise, that origin should be in the dictionary since the plugin is running.
     12
     13        * WebProcess/Plugins/PluginView.cpp:
     14        (WebKit::PluginView::pluginDidReceiveUserInteraction): Check for the setting, and avoid the whole code
     15        path if snapshotting is disabled.
     16
    1172013-01-03  Roger Fong  <roger_fong@apple.com>
    218
  • trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp

    r138729 r138764  
    16101610void PluginView::pluginDidReceiveUserInteraction()
    16111611{
     1612    if (frame() && !frame()->settings()->plugInSnapshottingEnabled())
     1613        return;
     1614
    16121615    if (m_didReceiveUserInteraction)
    16131616        return;
Note: See TracChangeset for help on using the changeset viewer.