Skip to content

Commit 4c54e17

Browse files
author
p01
committed
Discard the 204 No content resources.
1 parent 41f21d0 commit 4c54e17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/resource-manager/resource_service.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ cls.ResourceManagerService = function(view, network_logger)
8989

9090
if (ctx.windowList.length)
9191
{
92-
// get all the (non-suppressed) resources
92+
// get all the (non-suppressed) resources with content
9393
ctx.resourceList = (this._network_logger.get_resources()||[])
9494
.filter(function(v)
9595
{
96-
return !this._suppress_uids.hasOwnProperty(v.uid);
96+
return !this._suppress_uids.hasOwnProperty(v.uid) && v.responsecode!=204;
9797
}, this);
9898

9999
ctx.documentResourceHash = {};

0 commit comments

Comments
 (0)