You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cookbook/create_new_issues.md
+20-17Lines changed: 20 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,24 +32,30 @@ To do so, follow the next steps:
32
32
straightforward solution. With the addition of more context and external
33
33
documentation, it will support the developer across the whole debugging
34
34
story, making the message more actionable than in the console.
35
-
* Pipe your message into DevTools. First you need to decide where to report
36
-
the issue. Issues can be reported on the browser side (choose this if the
35
+
* Pipe your message into DevTools. First you need to decide which additional
36
+
information you want to send with your issue. Depending on the answer
37
+
you'll have two options:
38
+
1) Use the [generic issue](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/browser_protocol.pdl;l=807-829;drc=3e4a3b72cdd0cab0224292a7322ff3cf0248d307). This is the easier option.
39
+
All that is required is to add a new value to `GenericIssueErrorType`.
40
+
Generic issue allows sending along some pre-defined additional information:
41
+
Frame ids, network requests and DOM node ids among others.
42
+
2) If a generic issue is not enough, you can introduce a domain/problem
43
+
specific issue type. See [here](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/browser_protocol.pdl;l=666;drc=bc268cf81e62349e0f283107d70a5f742476ef4e)
44
+
how other issues are defined. You need to add an issue code and an issue
45
+
details definition. The issue details should hold all the information
46
+
that is required for reporting the issue in the front-end.
47
+
* Next, you need to figure out where to report the issue.
48
+
Issues can be reported on the browser side (choose this if the
37
49
issue is raised in content/browser and/or has information that should not be
38
50
shared with the renderer). Otherwise you can report it in the renderer.
0 commit comments