<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>In non-E10S mode it is easy to create a Dead Object for testing
purposes:<br>
</p>
<ol>
<li>Open the browser console.</li>
<li>Cu = Components.utils;<br>
Cu.import('<a class="moz-txt-link-freetext"
href="resource://gre/modules/Services.jsm">resource://gre/modules/Services.jsm</a>');<br>
chromeWindow =
Services.wm.getMostRecentWindow('navigator:browser');<br>
doc = chromeWindow.content.document;<br>
delete chromeWindow;</li>
<li>Close the Window and doc is a Dead Object.<br>
</li>
</ol>
<p>Is there any way to create a dead object for testing purposes in
E10S mode?<br>
Obviously, in E10S mode chromeWindow.content == null</p>
<p><br>
</p>
</body>
</html>