Closed
Bug 1385320
Opened 8 years ago
Closed 5 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•8 years ago
|
Component: Untriaged → Developer Tools: Debugger
Comment 3•8 years ago
|
||
Tracking this here: https://github.com/devtools-html/debugger.html/issues/3568
Updated•8 years ago
|
Priority: -- → P2
Comment 4•8 years ago
|
||
Thanks for filing Simounet, I'll hopefully have a chance to look into it soon.
Updated•7 years ago
|
Product: Firefox → DevTools
Comment 5•7 years ago
|
||
Hi, would you mind checking again? I'm not that familiar with vue.
Flags: needinfo?(contact)
Updated•7 years ago
|
Priority: P2 → P3
Hello,
It's about Polymer, not Vue and yes, I'm still encountering this issue.
Flags: needinfo?(contact)
Updated•7 years ago
|
Blocks: dbg-sources
Comment 7•5 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•5 years ago
|
||
Thank you for the update, closing.
Honza
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•