Closed Bug 807210 Opened 12 years ago Closed 12 years ago

JavaScript strict warning: chrome://pageloader/content/pageloader.js, line 275: assignment to undeclared variable gPaintHandler

Categories

(Testing :: Talos, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Yoric, Unassigned)

References

Details

Attachments

(1 file, 1 obsolete file)

Message encountered when running talos test tdhtmlr
Presuming this isn't platform specific
OS: Mac OS X → All
Hardware: x86 → All
ABICT, gPaintHandler isn't used at all.
Is this supposed to be gPaintListener?
Attached patch just remove it (obsolete) — Splinter Review
This just removes the thing and changes the license block. If it in fact should be gPaintListener then this patch is wrong ;)
Attachment #681270 - Flags: review?(jmaher)
Comment on attachment 681270 [details] [diff] [review] just remove it Review of attachment 681270 [details] [diff] [review]: ----------------------------------------------------------------- I am concerned about this, the intention was to mark gPaintHandler as false so that we can change a global state. We need to know if a page is loaded and if mozAfterPaint is true, then we have to wait for gPaintHandler to be set to True. Where is that set now?
Attachment #681270 - Flags: review?(jmaher) → review-
Current gPaintHandler appears only in the two places set in the patch. Should these be gPaintListener instead? That is defined at module scope and used several other places in the file.
ahh, we need to change s/gPaintHandler/gPaintListener/, then things should work as expected.
Attachment #681540 - Flags: review?(jmaher)
Comment on attachment 681540 [details] [diff] [review] gPaintHandler -> gPaintListener Review of attachment 681540 [details] [diff] [review]: ----------------------------------------------------------------- awesome.
Attachment #681540 - Flags: review?(jmaher) → review+
What sort of testing should i do before I push?
I would run all tests on a single platform.
Try run for eff502e45f8d is complete. Detailed breakdown of the results available here: https://tbpl.mozilla.org/?tree=Try&rev=eff502e45f8d Results (out of 7 total builds): success: 7 Builds (or logs if builds failed) available at: http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/jhammel@mozilla.com-eff502e45f8d
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Attachment #681270 - Attachment is obsolete: true
Depends on: 812492
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: