Add convenience methods for dealing with WebRequest/WebResponse bodies

NEW
Assigned to

Status

enhancement
P3
normal
5 months ago
4 months ago

People

(Reporter: snorp, Assigned: snorp)

Tracking

unspecified
Unspecified
All

Firefox Tracking Flags

(firefox65 wontfix, firefox66 wontfix, firefox67 affected)

Details

Attachments

(1 attachment, 1 obsolete attachment)

It's pretty common to be dealing with String or JSONObject bodies instead of raw ByteBuffer. We should add methods to make that easier.

Attachment #9049591 - Attachment is obsolete: true
Assignee: nobody → snorp
Priority: -- → P3
Pushed by jwillcox@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4fd7ce83efe1
Add convenience methods for dealing with WebRequest/WebResponse bodies r=geckoview-reviewers,agi,rbarker

Backed out for causing conflicts when backing out bug 1522451

mozilla@ubuntu ~/mozilla-unified autoland(0) $ hg oops -esr 49ebb69e8893::5a892a a56e37
checking for uncommitted changes
backing out 5a892aa56e37
applying patch from stdin
backing out 2ddf151f9535
applying patch from stdin
patching file mobile/android/geckoview/src/main/java/org/mozilla/geckoview/doc-f iles/CHANGELOG.md
Hunk #1 FAILED at 89
Hunk #2 FAILED at 213
2 out of 2 hunks FAILED -- saving rejects to file mobile/android/geckoview/src/m ain/java/org/mozilla/geckoview/doc-files/CHANGELOG.md.rej

Flags: needinfo?(snorp)
Backout by apavel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0ec36abbdb31
Backed out 4 changesets (bug 1533840, bug 1522451) for failing dom/manifest/test/test_ManifestProcessor_background_color.html  on a CLOSED TREE
Flags: needinfo?(snorp)
You need to log in before you can comment on or make changes to this bug.