Closed Bug 1651006 Opened 5 years ago Closed 5 years ago

Indicate that a response is not available to scripts

Categories

(DevTools :: Netmonitor, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: Honza, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug)

Attachments

(1 file)

Attached image image.png

This is a follow up for bug 1650844

STR:

  1. Open DevTools and select the Network panel
  2. Load http://odvarko.com/tests/network/cors/example4/
  3. Click the second button on the page (fetch not-shareable resource)
  4. Select the new (blocked) HTTP request and go to the Response panel
  5. The response body is visible, which is correct, but there should also be a notification explaining that the response body is not available to scripts (since blocked by CORS)

We already show a notification for broken JSON responses, so we can use the same UI.
See the attached mockup.

Honza

Harald, how the message should look like?

Honza

Keywords: good-first-bug
Flags: needinfo?(hkirschner)

Honza, is this good to close? or should we re-purpose for the headers panel notification?

Flags: needinfo?(odvarko)

Yep, I am closing it.

Honza

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(odvarko)
Resolution: --- → WONTFIX
Flags: needinfo?(hkirschner)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: