Remove deprecated global functions in viewSource.xul

NEW
Unassigned

Status

()

Toolkit
View Source
3 years ago
a month ago

People

(Reporter: mconley, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox40 affected)

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.

Comment 1

3 years ago
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

Comment 2

a month ago
I can still see the same message on Tb 58.0a1.
You need to log in before you can comment on or make changes to this bug.