[Webkit-unassigned] [Bug 211414] New: performance.getEntriesByType('resource') does not include 404 responses
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 4 17:19:48 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=211414
Bug ID: 211414
Summary: performance.getEntriesByType('resource') does not
include 404 responses
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bugmail at eligrey.com
Created attachment 398439
--> https://bugs.webkit.org/attachment.cgi?id=398439&action=review
HTML script element-initiated request with 404 response (comparing Firefox, Safari, Chrome, and Edge)
This is equivalent to the following Chrome bug: https://bugs.chromium.org/p/chromium/issues/detail?id=883400
Steps to reproduce the problem:
1. Load a page that requests a script that responds with a status code of 404.
2. Open Console in Developer Tools
3. Enter "var urls = []; window.performance.getEntriesByType('resource').forEach(function(r){urls.push(r.name)});"
4. The URL returning the 404 will not be displayed in the list of URLs
What is the expected behavior?
The URL returning the 404 should be displayed in the list of URLs.
See the attached screenshots to see how Safari treats 404s from different request initiator types. Firefox is the only browser that implements this correctly.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200505/b2d45bae/attachment-0001.htm>
More information about the webkit-unassigned
mailing list