WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
151646
[GTK] Webkit2.WebView() deletes files from ~/.cache/<executable_name>
https://bugs.webkit.org/show_bug.cgi?id=151646
Summary
[GTK] Webkit2.WebView() deletes files from ~/.cache/<executable_name>
Aleksandr Gornostal
Reported
2015-11-29 06:13:30 PST
Environment where bug reproduces: Ubuntu 14.04 (or Elementary OS Freya) Python v2.7.6 Gtk v3.10.8 gir1.2-webkit2-3.0 v2.4.8 If I run the following script, all files will be deleted from ~/.cache/<file_name>/ directory ``` #!/usr/bin/python from gi.repository import Gtk, WebKit2 WebKit2.WebView() Gtk.main() ``` Steps to reproduce: 1. Save that to `whatevername` 2. Do `chmod +x whatevername` 3. `mkdir -p ~/.cache/whatevername && touch ~/.cache/whatevername/check` 4. Run `./whatevername` Observe file ~/.cache/whatevername/check being removed. Bug reproduces 100% of the time. If I just run WebKi2t.WebView() from REPL, or if I use WebKit instead of WebKit2 it doesn't delete anything. If you confirm the bug is valid, is there any workaround to use before a fixed version is available via apt-get?
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug