Commit Graph

10 Commits

Author SHA1 Message Date
Chris Peterson
b75448fe1d Bug 1464648 - Bail early when parsing empty form data (to avoid NS_NOTREACHED assertion failure). r=baku
This NS_NOTREACHED("Should never reach here.") assertion fails on the following test case of the testing/web-platform/tests/fetch/api/response/response-consume-empty.html web platform test:

checkResponseWithNoBody("formData with correct multipart type (error case)", checkBodyFormDataError, [["Content-Type", 'multipart/form-data; boundary="boundary"']]);

MozReview-Commit-ID: 1rKRBDrqybJ
2018-05-26 16:49:39 -07:00
Anthony Ramine
9ce6a8238c Bug 1431449 - Make URLParams::ParseInput call URLParams::Parse instead of the opposite; r=bz
This trades off more virtual calls in URLParams::ParseInput, while removing any extra
allocation when calling URLParams::Parse.

MozReview-Commit-ID: HrIqsguQjrk
2018-01-18 13:13:51 +01:00
Anthony Ramine
8e2b2a383b Bug 1431449 - Introduce URLParams::Parse; r=bz
MozReview-Commit-ID: LicbWjZHxjz
2018-01-18 12:53:35 +01:00
Anthony Ramine
54d0bfcfb4 Bug 1431449 - Kill URLSearchParams::ForEach; r=bz
MozReview-Commit-ID: 9woZBRwpb4T
2018-01-18 12:20:26 +01:00
Andrew McCreight
2c2e9cbbbe Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot
This was automatically generated by the script modeline.py.

MozReview-Commit-ID: BgulzkGteAL
2017-10-26 15:08:41 -07:00
Henri Sivonen
7af0452b6b Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03:00
Nathan Froyd
264eb6c92d Bug 1305422 - part 12 - don't call size_forward in {Body,Fetch}Util.cpp; r=bkelly 2016-09-29 22:33:57 -04:00
Andrea Marchesini
3e782b8fc6 Bug 1288736 - Add some missing rv.SuppressException(), r=smaug 2016-07-22 16:50:10 +02:00
Jan de Mooij
2474a5e7b4 Bug 1277278 part 1 - Remove ContextOptions and make autoJSAPIOwnsErrorReporting the default. r=luke 2016-06-07 20:30:48 +02:00
Huma Zafar
b3082669b6 Bug 1206166 - Move FetchUtil::Consume methods into separate BodyUtil class and update Fetch.cpp and ServiceWorkerEvents.cpp accordingly. r=kitcambridge
MozReview-Commit-ID: KgEccQ2LPpC
2016-02-27 13:54:11 -08:00