<div dir="ltr"><div>Thanks for this Blake.<br></div>Somewhat related: for those of you using ESLint, I recently filed a bug to create a new custom ESLint rule that should help automatically detect CPOW usage in tests: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1218412">https://bugzilla.mozilla.org/show_bug.cgi?id=1218412</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 29, 2015 at 12:44 AM, Blake Kaplan <span dir="ltr"><<a href="mailto:mrbkap@mozilla.com" target="_blank">mrbkap@mozilla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello everybody,<br><br>You might have heard that we're working on getting our testing situation in line for e10s. To help people get started, I'm compiling a list of tips that are useful to know when working on e10s tests (and e10s in general). You can find it at <<a href="https://wiki.mozilla.org/Electrolysis/e10s_test_tips" target="_blank">https://wiki.mozilla.org/Electrolysis/e10s_test_tips</a>>.<br><br>There isn't a catch-all solution to use to fix these tests, but there are a few things to look out for. The key is to find places in tests where objects from both chrome (like browser DOM nodes or chrome windows, etc.) and content (docshells, content windows, etc.) are needed and to use SpecialPowers or ContentTask to remote that bit to the other process.<br><br>If a test is disabled because of a bug in e10s, please ensure that a bug is on file and the e10s team has triaged it.<br></div><div><br>I'm happy to answer questions as needed.<span class="HOEnZb"><font color="#888888"><br><div><div>-- <br><div><div dir="ltr"><div><div dir="ltr">Blake<br></div></div></div></div>
</div></div></font></span></div></div>
<br>_______________________________________________<br>
firefox-dev mailing list<br>
<a href="mailto:firefox-dev@mozilla.org">firefox-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/firefox-dev" rel="noreferrer" target="_blank">https://mail.mozilla.org/listinfo/firefox-dev</a><br>
<br></blockquote></div><br></div>