<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] Webkit2.WebView() deletes files from ~/.cache/<executable_name>"
href="https://bugs.webkit.org/show_bug.cgi?id=151646">151646</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[GTK] Webkit2.WebView() deletes files from ~/.cache/<executable_name>
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Other
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>WebKit2
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sanya.gornostal@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>