View Source and Inspector Code difference

RESOLVED INVALID

Status

RESOLVED INVALID
6 years ago
2 months ago

People

(Reporter: sys.sgx, Unassigned)

Tracking

19 Branch

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
User Agent: Mozilla/5.0 (Windows NT 6.0; rv:19.0) Gecko/20100101 Firefox/19.0
Build ID: 20130215130331

Steps to reproduce:

Browse to: http://addyosmani.github.com/todomvc/architecture-examples/dojo/
If you right-click and view source, before line <script src="../../assets/base.js"></script> (line 36), there should be the following code:

<script type="text/javascript" charset="utf-8" src="js/lib/dojo-1.8/nls/dojo_ROOT.js"></script>
<script type="text/javascript" charset="utf-8" src="js/lib/dijit-1.8/nls/common.js"></script>

The above code can only be seen when you view the generated html source through the devtoolbar. Does this have to do with the JS library itself, or is it a Firefox issue?
Any insight would be welcome. :)
(Reporter)

Updated

6 years ago
Component: Untriaged → Developer Tools: Inspector
OS: Windows Vista → All
Hardware: x86 → All
Dave Camp explained to me that the Inspector's markup panel displays the live state of the markup, whereas view-source actually displays the file as it was transmitted, so this is to be expected.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → INVALID
(Reporter)

Comment 2

6 years ago
thank you for the info Pano. I kind of expected it would. :)

Updated

2 months ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.