Closed Bug 849065 Opened 11 years ago Closed 11 years ago

View Source and Inspector Code difference

Categories

(DevTools :: Inspector, defect)

19 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: sys.sgx, Unassigned)

Details

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. :)
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
Closed: 11 years ago
Resolution: --- → INVALID
thank you for the info Pano. I kind of expected it would. :)
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.