Bug 1179732 - Make the tresize addon e10s compatible r=jmaher

This commit is contained in:
George Wright 2016-01-26 17:59:02 -05:00
parent af51eca272
commit b3eaae1995
2 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,7 @@ var dumpDataSet = false;
var doneCallback = null;
function painted() {
window.gBrowser.removeEventListener("MozAfterPaint", painted, true);
window.removeEventListener("MozAfterPaint", painted, true);
var paintTime = window.performance.now();
Profiler.pause("resize " + count);
dataSet[count].end = paintTime;
@ -26,7 +26,7 @@ function painted() {
function resizeTest() {
try {
windowSize += resizeIncrement;
window.gBrowser.addEventListener("MozAfterPaint", painted, true);
window.addEventListener("MozAfterPaint", painted, true);
Profiler.resume("resize " + count);
dataSet[count] = {'start': window.performance.now()};
window.resizeTo(windowSize,windowSize);

View File

@ -17,4 +17,5 @@
<em:creator>Joel Maher</em:creator>
<em:description>https://wiki.mozilla.org/Buildbot/Talos/Tests</em:description>
<em:homepageURL>https://wiki.mozilla.org/Buildbot/Talos/Tests</em:homepageURL>
<em:multiprocessCompatible>true</em:multiprocessCompatible>
</Description></RDF>