Closed
Bug 1165047
Opened 11 years ago
Closed 11 years ago
View-Source links at right of Browser Console trigger "DEPRECATION WARNING: The arguments you're passing to viewSource.xul are using an out-of-date API."
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(firefox41 fixed)
RESOLVED
FIXED
Firefox 41
| Tracking | Status | |
|---|---|---|
| firefox41 | --- | fixed |
People
(Reporter: dholbert, Assigned: jryans)
References
Details
STR:
1. Open Browser Console (ctrl+shift+J)
2. Click any link on the right of an error/warning.
(For example, you could load this URL in your browser:
data:text/html,hello
...and then click the "data:" link that appears to the right
of a character encoding warning in the Browser Console.)
3. Look at the Browser Console again, after the "view source" window appears.
ACTUAL RESULTS: This warning:
{
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/ViewSource
chrome://global/content/viewSource.js 329 _loadViewSourceDeprecated
chrome://global/content/viewSource.js 296 onXULLoaded
chrome://global/content/viewSource.js 163 handleEvent
null 0 null
}
This deprecation warning was added in bug 1025146.
EXPECTED RESULTS: No such warning. (i.e. the browser console code should update to be invoking view-source the New Way)
| Reporter | ||
Comment 1•11 years ago
|
||
(I hit this in current Nightly, fwiw -- 41.0a1 (2015-05-14))
Comment 2•11 years ago
|
||
We're likely to uplift bug 1025146 to 40 as foundation for view source in a tab, so this will likely need to track.
But this _should_ be a pretty straight forward migration.
jryans - did you want this? Or should I do it?
Flags: needinfo?(jryans)
| Assignee | ||
Comment 3•11 years ago
|
||
I'll look into this after my in tab work in bug 1067325.
Assignee: nobody → jryans
Flags: needinfo?(jryans)
| Assignee | ||
Comment 4•11 years ago
|
||
This was fixed by the DevTools changes in bug 1067325.
Status: NEW → RESOLVED
Closed: 11 years ago
Depends on: 1067325
Resolution: --- → FIXED
Target Milestone: --- → Firefox 41
| Assignee | ||
Updated•11 years ago
|
Updated•8 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•