Closed
Bug 1385320
Opened 7 years ago
Closed 3 years ago
Debugger devtools tab displays JS only from a Polymer component
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: contact, Unassigned)
References
(Blocks 1 open bug, )
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:56.0) Gecko/20100101 Firefox/56.0 Build ID: 20170726100322 Steps to reproduce: - Go to https://www.webcomponents.org/collection/PolymerElements/paper-input-elements - Open the devtools and go to the debugger tab - Search for paper-input-error - Look at the first result Actual results: - I can see only the JS code, not the whole component (HTML/CSS/JS). - At the end of the view, there is a reference to a source map that doesn't exist: //# sourceURL=https://raw-dot-custom-elements.appspot.com/PolymerElements/paper-input-elements/v0.0.8/paper-input/paper-input-behavior.html.js Expected results: I should see the whole component exposed to that URL: https://raw-dot-custom-elements.appspot.com/PolymerElements/paper-input-elements/v0.0.8/paper-input/paper-input-behavior.html I'm not sure if it is a Firefox issue or the view exposed by the polyfill used by Polymer to make it's components to work on Firefox.
Updated•7 years ago
|
Component: Untriaged → Developer Tools: Debugger
Comment 3•7 years ago
|
||
Tracking this here: https://github.com/devtools-html/debugger.html/issues/3568
Updated•7 years ago
|
Priority: -- → P2
Comment 4•7 years ago
|
||
Thanks for filing Simounet, I'll hopefully have a chance to look into it soon.
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 5•5 years ago
|
||
Hi, would you mind checking again? I'm not that familiar with vue.
Flags: needinfo?(contact)
Updated•5 years ago
|
Priority: P2 → P3
Hello,
It's about Polymer, not Vue and yes, I'm still encountering this issue.
Flags: needinfo?(contact)
Updated•5 years ago
|
Blocks: dbg-sources
Comment 7•4 years ago
|
||
Would you be able to validate if this is still happening on Firefox Nightly, and if so, update these reproduction steps?
Flags: needinfo?(contact)
I'm not using Polymer anymore and it changed a lot. I can't find the previous way of mixing HTML, CSS and JS. Now, JS wrap HTML and CSS into template literals and the source looks ok in Firefox.
I think we can close this issue.
Flags: needinfo?(contact)
Comment 9•3 years ago
|
||
Thank you for the update, closing.
Honza
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•