Skip to content
  • commit-queue@webkit.org's avatar
    [chromium] Add a test to verify that a plugin does not receive touch-events... · ea3c12e1
    commit-queue@webkit.org authored
    [chromium] Add a test to verify that a plugin does not receive touch-events unless it explicitly requests for them
    https://bugs.webkit.org/show_bug.cgi?id=97975
    
    Patch by Sadrul Habib Chowdhury <sadrul@chromium.org> on 2012-09-30
    Reviewed by Adam Barth.
    
    Tools:
    
    TestWebPlugin can now be configured to accept touch events or not. Use this
    configurability to verify that a plugin does not receive touch events unless
    it explicitly requests for them.
    
    * DumpRenderTree/chromium/TestWebPlugin.cpp:
    (TestWebPlugin::TestWebPlugin):
    (TestWebPlugin::initialize):
    (TestWebPlugin::parseBoolean):
    * DumpRenderTree/chromium/TestWebPlugin.h:
    (TestWebPlugin):
    
    LayoutTests:
    
    * platform/chromium/plugins/touch-events-expected.txt: Added.
    * platform/chromium/plugins/touch-events.html: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ea3c12e1