Skip to content

Commit 1500519

Browse files
committed
Comment out "file access" settings in the wxpython examples.
1 parent 97bfda0 commit 1500519

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

cefpython/cef3/linux/binaries_32bit/wxpython.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -726,14 +726,12 @@ def GetSources():
726726
# browser, see the call to CreateBrowserSync.
727727
g_browserSettings = {
728728
# "plugins_disabled": True,
729-
"file_access_from_file_urls_allowed": True,
730-
"universal_access_from_file_urls_allowed": True,
729+
# "file_access_from_file_urls_allowed": True,
730+
# "universal_access_from_file_urls_allowed": True,
731731
}
732732

733733
# Command line switches set programmatically
734734
switches = {
735-
"allow-file-access-from-files": "",
736-
"allow-file-access": "",
737735
# "proxy-server": "socks5://127.0.0.1:8888",
738736
# "no-proxy-server": "",
739737
# "enable-media-stream": "",

cefpython/cef3/linux/binaries_64bit/wxpython.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -726,14 +726,12 @@ def GetSources():
726726
# browser, see the call to CreateBrowserSync.
727727
g_browserSettings = {
728728
# "plugins_disabled": True,
729-
"file_access_from_file_urls_allowed": True,
730-
"universal_access_from_file_urls_allowed": True,
729+
# "file_access_from_file_urls_allowed": True,
730+
# "universal_access_from_file_urls_allowed": True,
731731
}
732732

733733
# Command line switches set programmatically
734734
switches = {
735-
"allow-file-access-from-files": "",
736-
"allow-file-access": "",
737735
# "proxy-server": "socks5://127.0.0.1:8888",
738736
# "no-proxy-server": "",
739737
# "enable-media-stream": "",

0 commit comments

Comments
 (0)