<https://webkit.org/b/000000> <rdar://problem/32180980> Reviewed by NOBODY (OOPS!). * NetworkProcess/capture/NetworkCaptureEvent.cpp: - Define JSON_NOEXCEPTION as 1 to disable exceptions in json.hpp. (WebKit::NetworkCapture::JSONCoder<String>::encode): (WebKit::NetworkCapture::JSONCoder<WebCore::SharedBuffer>::encode): - Build std::string passing in length to avoid the need for a custom basic_json() constructor, and for efficiency. * NetworkProcess/capture/json.hpp: - Update to v2.1.1 and remove customizations. --- 3 files changed, 6324 insertions(+), 4094 deletions(-)
Created attachment 310061 [details] Patch
Comment on attachment 310061 [details] Patch *sigh* We really need to make our JSON parser use callbacks like our YARR parser to allow us to use it instead of this. r=me. Let's update.
Comment on attachment 310061 [details] Patch Clearing flags on attachment: 310061 Committed r216875: <http://trac.webkit.org/changeset/216875>
All reviewed patches have been landed. Closing bug.