The DOM Mutation side panel could show help if empty
Categories
(DevTools :: Debugger, enhancement, P3)
Tracking
(firefox71 fixed)
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: Honza, Assigned: davidwalsh)
References
(Blocks 1 open bug)
Details
(Whiteboard: [debugger-mvp])
Attachments
(1 file)
The empty DOM Mutation side panel currently shows only: No breakpoints to display.
It could show a little help like:
- "Use Inspector panel context menu to create a DOM breakpoint"
- Or perhaps link to the Inspector panel
- And perhaps link to MDN
Whatever would help the user to start using this feature.
Honza
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Comment 1•6 years ago
|
||
+1 on summarizing the add-dom-bp flow and linking to Inspector to get the user started.
Assignee | ||
Comment 2•6 years ago
|
||
Good idea; do we have a precedent for this UX-wise? A button would be good but we can also do this as text. I also think it may be best to open a link on MDN to the page that shows people how to get to the context menu. Or we just put 2-3 sentences that describe it.
Comment 3•6 years ago
|
||
Probably a mix of:
- Application panel (devtools.application.enabled)
- Network panel
- Accessibility Inspector
- Flexbox and Grid panels in Inspector somewhat.
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 7•6 years ago
|
||
Backed out for perma fails on browser_misused_characters_in_strings.js.
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=264761320&repo=autoland&lineNumber=2109
[task 2019-09-03T16:15:50.922Z] 16:15:50 INFO - TEST-START | browser/base/content/test/static/browser_misused_characters_in_strings.js
[task 2019-09-03T16:15:51.495Z] 16:15:51 INFO - TEST-INFO | started process screencapture
[task 2019-09-03T16:15:51.677Z] 16:15:51 INFO - TEST-INFO | screencapture: exit 0
[task 2019-09-03T16:15:51.677Z] 16:15:51 INFO - Buffered messages logged at 16:15:50
[task 2019-09-03T16:15:51.677Z] 16:15:51 INFO - Entering test bound checkAllTheProperties
[task 2019-09-03T16:15:51.677Z] 16:15:51 INFO - Buffered messages logged at 16:15:51
[task 2019-09-03T16:15:51.677Z] 16:15:51 INFO - TEST-PASS | browser/base/content/test/static/browser_misused_characters_in_strings.js | Found 147 .properties files to scan for misused characters -
[task 2019-09-03T16:15:51.678Z] 16:15:51 INFO - Buffered messages finished
[task 2019-09-03T16:15:51.678Z] 16:15:51 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_misused_characters_in_strings.js | jar:file:///Users/cltbld/tasks/task_1567527048/build/application/Firefox%20Nightly.app/Contents/Resources/browser/omni.ja!/chrome/en-US/locale/en-US/devtools/client/debugger.properties with key=noDomMutationBreakpoints has a misused double-quote. Double-quoted strings should use Unicode “foo” instead of "foo". -
[task 2019-09-03T16:15:51.678Z] 16:15:51 INFO - Stack trace:
[task 2019-09-03T16:15:51.678Z] 16:15:51 INFO - chrome://mochikit/content/browser-test.js:test_ok:1580
[task 2019-09-03T16:15:51.678Z] 16:15:51 INFO - chrome://mochitests/content/browser/browser/base/content/test/static/browser_misused_characters_in_strings.js:testForError:145
[task 2019-09-03T16:15:51.678Z] 16:15:51 INFO - chrome://mochitests/content/browser/browser/base/content/test/static/browser_misused_characters_in_strings.js:testForErrors:174
[task 2019-09-03T16:15:51.678Z] 16:15:51 INFO - chrome://mochitests/content/browser/browser/base/content/test/static/browser_misused_characters_in_strings.js:checkAllTheProperties:222
[task 2019-09-03T16:15:51.678Z] 16:15:51 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1350
[task 2019-09-03T16:15:51.678Z] 16:15:51 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1385
[task 2019-09-03T16:15:51.678Z] 16:15:51 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1213
[task 2019-09-03T16:15:51.678Z] 16:15:51 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:805
[task 2019-09-03T16:15:51.679Z] 16:15:51 INFO - Leaving test bound checkAllTheProperties
[task 2019-09-03T16:15:51.679Z] 16:15:51 INFO - Entering test bound checkAllTheDTDs
[task 2019-09-03T16:15:51.766Z] 16:15:51 INFO - TEST-PASS | browser/base/content/test/static/browser_misused_characters_in_strings.js | Found 54 .dtd files to scan for misused characters -
[task 2019-09-03T16:15:51.815Z] 16:15:51 INFO - Leaving test bound checkAllTheDTDs
[task 2019-09-03T16:15:51.815Z] 16:15:51 INFO - Entering test bound checkAllTheFluents
[task 2019-09-03T16:15:52.606Z] 16:15:52 INFO - Leaving test bound checkAllTheFluents
[task 2019-09-03T16:15:52.606Z] 16:15:52 INFO - Entering test bound ensureWhiteListIsEmpty
[task 2019-09-03T16:15:52.606Z] 16:15:52 INFO - TEST-PASS | browser/base/content/test/static/browser_misused_characters_in_strings.js | No remaining whitelist entries exist -
[task 2019-09-03T16:15:52.606Z] 16:15:52 INFO - Leaving test bound ensureWhiteListIsEmpty
[task 2019-09-03T16:15:52.607Z] 16:15:52 INFO - GECKO(1748) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 112: uncaught exception: Object
[task 2019-09-03T16:15:52.607Z] 16:15:52 INFO - Console message: [JavaScript Error: "uncaught exception: Object" {file: "resource://testing-common/PromiseTestUtils.jsm" line: 112}]
[task 2019-09-03T16:15:52.607Z] 16:15:52 INFO - GECKO(1748) | MEMORY STAT | vsize 8327MB | residentFast 1054MB | heapAllocated 806MB
[task 2019-09-03T16:15:52.607Z] 16:15:52 INFO - TEST-OK | browser/base/content/test/static/browser_misused_characters_in_strings.js | took 1696ms
[task 2019-09-03T16:15:52.641Z] 16:15:52 INFO - checking window state
Backout: https://hg.mozilla.org/integration/autoland/rev/2c8e47036b7416d7f3db9df702f11d3dfc181814
Comment 9•6 years ago
|
||
bugherder |
Assignee | ||
Updated•6 years ago
|
Description
•