Chrome doesn't have Cause but has Type and Initiator
Cause is often redundant with Type (which also has more detail)
Example requests:
Github (Interesting to note here is that the images should also have stacks, but CSS stacks are not supported atm)
Airtable XHR requests
Proposed information hierarchy would be 1st Initiator stack and 2nd Cause, which leads to the following formatting:
Without stack: cause
With stack: location.js:line:column (cause)
This already expects that (cause) and longer locations will overflow on small spaces; which should be OK as the initial filename + tooltip should still be enough to orient yourself.
Decision
Accepted the proposed cause/location.js:line:column (cause) format.
Follow up from https://github.com/firefox-devtools/ux/issues/87#issuecomment-517502725 and bug 1592535#c2.
cc @bomsy @Transfusion @janodvarko @fvsch
Assumptions:
Example requests:
Github (Interesting to note here is that the images should also have stacks, but CSS stacks are not supported atm)
Airtable XHR requests
Proposed information hierarchy would be 1st Initiator stack and 2nd Cause, which leads to the following formatting:
cause
location.js:line:column (cause)
This already expects that
(cause)
and longer locations will overflow on small spaces; which should be OK as the initial filename + tooltip should still be enough to orient yourself.Decision
Accepted the proposed
cause
/location.js:line:column (cause)
format.