Closed Bug 632005 Opened 14 years ago Closed 14 years ago

Use stricter limit on WebProgressListener flags

Categories

(Firefox for Android Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mfinkle, Assigned: mfinkle)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
Since we want Fennec to receive WebProgress:StateChange events/messages, we use the Ci.nsIWebProgress.NOTIFY_STATE_ALL flag in bindings/browser.js but this still allows unwanted/unused request and window events to be fired. This path just tightens the flags to use Ci.nsIWebProgress.NOTIFY_STATE_NETWORK | Ci.nsIWebProgress.NOTIFY_STATE_DOCUMENT Several Tp runs have shown ~120ms improvement. Small, but something is better than nothing
Attachment #510262 - Flags: review?(mbrubeck)
Attachment #510262 - Flags: review?(mbrubeck) → review+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
bugspam
Assignee: nobody → mark.finkle
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: