Skip to content
  • andersca@apple.com's avatar
    Move private browsing test to a PluginTest subclass · 828e5631
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=67498
    
    Reviewed by Darin Adler.
    
    Tools: 
    
    * DumpRenderTree/DumpRenderTree.gypi:
    * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
    * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
    (pluginGetProperty):
    * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
    * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
    (PluginTest::NPP_SetValue):
    * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
    * DumpRenderTree/TestNetscapePlugIn/Tests/PrivateBrowsing.cpp: Added.
    (PrivateBrowsing::PrivateBrowsing):
    (PrivateBrowsing::privateBrowsingEnabled):
    (PrivateBrowsing::cachedPrivateBrowsingEnabled):
    (PrivateBrowsing::ScriptableObject::hasProperty):
    (PrivateBrowsing::ScriptableObject::getProperty):
    (PrivateBrowsing::ScriptableObject::pluginTest):
    (PrivateBrowsing::NPP_New):
    (PrivateBrowsing::NPP_GetValue):
    (PrivateBrowsing::NPP_SetValue):
    * DumpRenderTree/TestNetscapePlugIn/main.cpp:
    (NPP_New):
    (NPP_SetValue):
    * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
    * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
    * GNUmakefile.am:
    
    LayoutTests: 
    
    Set the 'test' attribute to 'private-browsing'.
    
    * plugins/private-browsing-mode-2.html:
    * plugins/private-browsing-mode.html:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    828e5631