Bug 1363877 - Label nsBrowserStatusFilter::TimeoutHandler as SystemGroup (r=felipe)

MozReview-Commit-ID: 5qD7vnU5GZC
This commit is contained in:
Bill McCloskey
2017-05-10 12:48:45 -07:00
parent 1db7708353
commit 51085dc0bd
2 changed files with 11 additions and 3 deletions

View File

@@ -136,6 +136,9 @@ var WebProgressListener = {
this._send("Content:StateChange", json, objects);
},
// Note: Because the nsBrowserStatusFilter timeout runnable is
// SystemGroup-labeled, this method should not modify content DOM or
// run content JS.
onProgressChange: function onProgressChange(aWebProgress, aRequest, aCurSelf, aMaxSelf, aCurTotal, aMaxTotal) {
let json = this._setupJSON(aWebProgress, aRequest);
let objects = this._setupObjects(aWebProgress, aRequest);
@@ -186,6 +189,9 @@ var WebProgressListener = {
this._send("Content:LocationChange", json, objects);
},
// Note: Because the nsBrowserStatusFilter timeout runnable is
// SystemGroup-labeled, this method should not modify content DOM or
// run content JS.
onStatusChange: function onStatusChange(aWebProgress, aRequest, aStatus, aMessage) {
let json = this._setupJSON(aWebProgress, aRequest);
let objects = this._setupObjects(aWebProgress, aRequest);