Closed
Bug 1801045
Opened 2 years ago
Closed 2 years ago
Don't use ObjectInspector to render custom formatted values
Categories
(DevTools :: Object Inspector, task)
DevTools
Object Inspector
Tracking
(firefox109 fixed)
RESOLVED
FIXED
109 Branch
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: sebo)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The methods we use to get and display the children of a given object don't match with how custom formatter body works, so it should be handled separately
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → sebastianzartner
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ff58ef6ef9ae
Replaced ObjectInspector handling for custom formatter output by separate one. r=nchevobbe
Comment 3•2 years ago
|
||
Backed out along with Bug 1801040 for causing failures on browser_webconsole_object_inspector_custom_formatters.js
- backout: https://hg.mozilla.org/integration/autoland/rev/eccf45ab489fec65ccf8460acab684f8df8ea564
- push: https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&selectedTaskRun=UzDlsA6_SSu12DUChEeL0w.0&revision=ff58ef6ef9ae6ed35254b3dfbb4349b947335446
- failure log: https://treeherder.mozilla.org/logviewer?job_id=396821515&repo=autoland&lineNumber=9291
[task 2022-11-17T10:09:22.056Z] 10:09:22 INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_object_inspector_custom_formatters.js | The custom formatting of the header is correct -
[task 2022-11-17T10:09:22.057Z] 10:09:22 INFO - Simple test for custom formatted header with body
[task 2022-11-17T10:09:22.057Z] 10:09:22 INFO - Buffered messages finished
[task 2022-11-17T10:09:22.059Z] 10:09:22 INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_webconsole_object_inspector_custom_formatters.js | The message is custom formatted -
[task 2022-11-17T10:09:22.060Z] 10:09:22 INFO - Stack trace:
[task 2022-11-17T10:09:22.060Z] 10:09:22 INFO - chrome://mochikit/content/browser-test.js:test_ok:1457
[task 2022-11-17T10:09:22.061Z] 10:09:22 INFO - chrome://mochitests/content/browser/devtools/client/webconsole/test/browser/browser_webconsole_object_inspector_custom_formatters.js:testCustomFormatting:87
[task 2022-11-17T10:09:22.061Z] 10:09:22 INFO - chrome://mochitests/content/browser/devtools/client/webconsole/test/browser/browser_webconsole_object_inspector_custom_formatters.js:testObjectWithFormattedHeaderAndBody:64
[task 2022-11-17T10:09:22.062Z] 10:09:22 INFO - chrome://mochitests/content/browser/devtools/client/webconsole/test/browser/browser_webconsole_object_inspector_custom_formatters.js:null:25
[task 2022-11-17T10:09:22.062Z] 10:09:22 INFO - chrome://mochikit/content/browser-test.js:handleTask:1045
[task 2022-11-17T10:09:22.063Z] 10:09:22 INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1117
[task 2022-11-17T10:09:22.063Z] 10:09:22 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1252
[task 2022-11-17T10:09:22.063Z] 10:09:22 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1034
[task 2022-11-17T10:09:22.064Z] 10:09:22 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1036
[task 2022-11-17T10:09:22.064Z] 10:09:22 INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_object_inspector_custom_formatters.js | The variable 'formatted' must be unchanged - 0 == 0 -
Flags: needinfo?(sebastianzartner)
Reporter | ||
Comment 4•2 years ago
|
||
my bad, I'll have a look at those
Flags: needinfo?(sebastianzartner)
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7d0360568cfa
Replaced ObjectInspector handling for custom formatter output by separate one. r=nchevobbe
Comment 6•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox109:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•