[Webkit-unassigned] [Bug 151646] New: [GTK] Webkit2.WebView() deletes files from ~/.cache/<executable_name>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 29 06:13:30 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=151646

            Bug ID: 151646
           Summary: [GTK] Webkit2.WebView() deletes files from
                    ~/.cache/<executable_name>
    Classification: Unclassified
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sanya.gornostal at gmail.com

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?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151129/17a7c54f/attachment-0001.html>


More information about the webkit-unassigned mailing list