Open Bug 1159293 Opened 9 years ago Updated 2 years ago

Remove deprecated global functions in viewSource.xul

Categories

(Toolkit :: View Source, defect)

defect

Tracking

()

Tracking Status
firefox40 --- affected

People

(Reporter: mconley, Unassigned)

Details

This is some cleanup after bug 1025146, which marked a bunch of the window-global functions in viewSource.js as deprecated.

This bug is for removing these functions entirely.
Hi, 

I got the following warning in error console after I click on the line number of an error recorded in the Error console of C-C TB.
This is the same error discussed here, correct?

Error: DEPRECATION WARNING: The arguments you're passing to
viewSource.xul are using an out-of-date API.
You may find more details about this deprecation at:
https://developer.mozilla.org/en-US/Add-ons/Code_snippets/View_Source_for_XUL_Applications
chrome://global/content/viewSource.js 316 _loadViewSourceDeprecated
chrome://global/content/viewSource.js 302 onXULLoaded
chrome://global/content/viewSource.js 175 handleEvent
null 0 null

Source File: resource://gre/modules/Deprecated.jsm
Line: 79

TIA
I can still see the same message on Tb 58.0a1.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.