mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1179732 - Make the tresize addon e10s compatible r=jmaher
This commit is contained in:
parent
af51eca272
commit
b3eaae1995
@ -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);
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user