Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Commit 8c7b586

Browse files
committed
Remove support for Flash and other plugins.
http://code.google.com/p/phantomjs/issues/detail?id=418
1 parent a59f11b commit 8c7b586

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/qt/src/3rdparty/webkit/Source/WebCore/features.pri

+3
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ contains(DEFINES, ENABLE_SINGLE_THREADED=1) {
9696
# Tiled Backing Store support
9797
!contains(DEFINES, ENABLE_TILED_BACKING_STORE=.): DEFINES += ENABLE_TILED_BACKING_STORE=1
9898

99+
# Always disable NPAPI
100+
DEFINES += ENABLE_NETSCAPE_PLUGIN_API=0
101+
99102
# Nescape plugins support (NPAPI)
100103
!contains(DEFINES, ENABLE_NETSCAPE_PLUGIN_API=.) {
101104
unix|win32-*:!embedded:!wince*: {

0 commit comments

Comments
 (0)