Create error component
Categories
(Firefox :: Shopping, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox118 | --- | fixed |
People
(Reporter: jhirsch, Assigned: niklas, NeedInfo)
References
Details
(Whiteboard: [fidefe-shopping])
Attachments
(2 files)
When the backend is unreachable, we want to show an error component at the top of the sidebar.
There's a button in the designs but it's not clear how often we want users to be able to attempt to ping the backend if it's struggling (TBD)
See also a11y annotations in figma: https://www.figma.com/file/Wu4kaHSfKSQnzkym7qek3R/Shopping-Experience-MVP?type=design&node-id=1-265&mode=design&t=s4GFkPNxsyXbFQRZ-0
Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Reporter | ||
Comment 1•1 year ago
|
||
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Updated•1 year ago
|
Comment 2•1 year ago
|
||
Setting P3 for now, as this is currently unassigned.
Reporter | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 3•1 year ago
|
||
Comment 5•1 year ago
|
||
Backed out changeset 7ebfd2e7a63a (Bug 1840139) for causing failures in browser_unanalyzed_product.js CLOSED TREE
Log: https://treeherder.mozilla.org/logviewer?job_id=424525104&repo=autoland&lineNumber=10895
Backout: https://hg.mozilla.org/integration/autoland/rev/59074b86bcbdee7c9d73bce56fa472b31fdca631
Comment 7•1 year ago
|
||
Backed out for causing failures on browser_adjusted_rating.js
- backout: https://hg.mozilla.org/integration/autoland/rev/51fc2dc7c5f9a8c792c0c093dbf86a7350785a10
- push: https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&selectedTaskRun=W7wZ1akfRl-fhDINi-I_mA.0&revision=54ff3fcb55617bb0efe314ef484a36bf8008f4ab
- failure log: https://treeherder.mozilla.org/logviewer?job_id=424574914&repo=autoland&lineNumber=10497
[task 2023-08-01T21:48:57.379Z] 21:48:57 INFO - TEST-START | browser/components/shopping/tests/browser/browser_adjusted_rating.js
[task 2023-08-01T21:48:57.614Z] 21:48:57 INFO - GECKO(3541) | [Parent 3541: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7faacf385000 == 6 [pid = 3541] [id = 5]
[task 2023-08-01T21:48:57.616Z] 21:48:57 INFO - GECKO(3541) | [Parent 3541: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 13 (7faad8734f20) [pid = 3541] [serial = 13] [outer = 0]
[task 2023-08-01T21:48:57.618Z] 21:48:57 INFO - GECKO(3541) | [Parent 3541: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 14 (7faad2e9d000) [pid = 3541] [serial = 14] [outer = 7faad8734f20]
[task 2023-08-01T21:48:57.707Z] 21:48:57 INFO - GECKO(3541) | [Parent 3541: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 15 (7fab0515ec00) [pid = 3541] [serial = 15] [outer = 7faad8734f20]
[task 2023-08-01T21:48:57.741Z] 21:48:57 INFO - GECKO(3541) | [Parent 3541, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1235
[task 2023-08-01T21:48:58.174Z] 21:48:58 INFO - GECKO(3541) | [Parent 3541, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:163
[task 2023-08-01T21:48:58.176Z] 21:48:58 INFO - GECKO(3541) | [Parent 3541, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:163
[task 2023-08-01T21:48:58.190Z] 21:48:58 INFO - TEST-INFO | started process screentopng
[task 2023-08-01T21:48:58.655Z] 21:48:58 INFO - TEST-INFO | screentopng: exit 0
[task 2023-08-01T21:48:58.655Z] 21:48:58 INFO - Buffered messages logged at 21:48:57
[task 2023-08-01T21:48:58.655Z] 21:48:58 INFO - Entering test bound test_adjusted_rating
[task 2023-08-01T21:48:58.656Z] 21:48:58 INFO - Buffered messages finished
[task 2023-08-01T21:48:58.657Z] 21:48:58 INFO - TEST-UNEXPECTED-FAIL | browser/components/shopping/tests/browser/browser_adjusted_rating.js | Uncaught exception in test bound test_adjusted_rating - at chrome://mochitests/content/browser/browser/components/shopping/tests/browser/browser_adjusted_rating.js:21 - TypeError: can't access property "updateComplete", adjustedRating is null
[task 2023-08-01T21:48:58.657Z] 21:48:58 INFO - Stack trace:
[task 2023-08-01T21:48:58.658Z] 21:48:58 INFO - test_adjusted_rating/<@chrome://mochitests/content/browser/browser/components/shopping/tests/browser/browser_adjusted_rating.js:21:7
[task 2023-08-01T21:48:58.658Z] 21:48:58 INFO - async*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:146:22
[task 2023-08-01T21:48:58.658Z] 21:48:58 INFO - async*test_adjusted_rating@chrome://mochitests/content/browser/browser/components/shopping/tests/browser/browser_adjusted_rating.js:7:26
[task 2023-08-01T21:48:58.658Z] 21:48:58 INFO - handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-08-01T21:48:58.659Z] 21:48:58 INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-08-01T21:48:58.659Z] 21:48:58 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-08-01T21:48:58.659Z] 21:48:58 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-08-01T21:48:58.659Z] 21:48:58 INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-08-01T21:48:58.659Z] 21:48:58 INFO - Leaving test bound test_adjusted_rating
Comment 9•1 year ago
|
||
bugherder |
Comment 10•1 year ago
|
||
Hi @Jared, is there a way for us to trigger this error ?
Description
•