Web Inspector: Make http status codes be "integer" instead of "number" in protocol
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Nov 2017 22:10:05 +0000 (22:10 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Nov 2017 22:10:05 +0000 (22:10 +0000)
commit602484ca4a6a284c63c64b30677f6dd3119114c7
tree68a24c2b72716ef28e7109f2bf0a2b097f42248b
parentc0ba540c4d2ee2fb78e6968cc88ee3d3f322ee96
Web Inspector: Make http status codes be "integer" instead of "number" in protocol
https://bugs.webkit.org/show_bug.cgi?id=179543

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2017-11-10
Reviewed by Antoine Quint.

Source/JavaScriptCore:

* inspector/protocol/Network.json:
Use a better type for the status code.

Source/WebCore:

* inspector/agents/InspectorNetworkAgent.cpp:
(WebCore::InspectorNetworkAgent::buildObjectForResourceResponse):
No need for the temporary or type change.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/inspector/protocol/Network.json
Source/WebCore/ChangeLog
Source/WebCore/inspector/agents/InspectorNetworkAgent.cpp