gecko/dom/tests/mochitest/localstorage/frame_clear_browser_data.html
Mounir Lamouri ce0d8981d9 Bug 796911 - Attempt #2 to fix Intermittent test_clear_browser_data.html. r=bz
This patch also removes the debug statements.
2012-10-15 16:28:23 +01:00

16 lines
333 B
HTML

<!DOCTYPE html>
<html>
<body>
</body>
<script>
addEventListener('message', function(e) {
if (e.data == 'clear') {
navigator.mozApps.getSelf().onsuccess = function() {
this.result.clearBrowserData();
document.body.innerHTML = "<done></done>";
};
}
});
</script>
</html>