Bug 177400 - When the same resource is loaded as more than one type, inspector only shows it as one of them
Summary: When the same resource is loaded as more than one type, inspector only shows ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: Safari Technology Preview
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-22 17:00 PDT by Maciej Stachowiak
Modified: 2017-09-25 10:45 PDT (History)
2 users (show)

See Also:


Attachments
Test case (841 bytes, application/zip)
2017-09-22 17:00 PDT, Maciej Stachowiak
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Stachowiak 2017-09-22 17:00:21 PDT
Created attachment 321605 [details]
Test case

If a page loads the same resource as more than one type (both stylesheet and frame, both stylesheet and script, etc), the inspector only shows one of them. Some test cases on the web (notably for Beacon) actually do this, which makes the inspector experience particularly confusing.

Steps to reproduce:
(1) Download attachment multi-type.zip
(2) Open multi-type/multi-type.html
(3) Open Web Inspector
(4) Open Network tab
(5) Reload
(6) Notice that subresource.css only appears once, as one of its types (Document, Script or Stylesheet)

Can also repeat with multi-type-2.html