Closed
Bug 1238134
Opened 8 years ago
Closed 8 years ago
provide [ChromeOnly] getter for unfiltered Response object
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: bkelly, Assigned: bkelly)
References
Details
Attachments
(2 files)
3.91 KB,
patch
|
ehsan.akhgari
:
review+
ochameau
:
feedback+
|
Details | Diff | Splinter Review |
2.45 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
In order to support better devtools we need to let chrome code inspect the contents of an opaque response. Lets expose a [ChromeOnly] getter for the unfiltered inner response object.
Assignee | ||
Comment 1•8 years ago
|
||
Does this work for the Cache API storage inspector code? I still need to write a test.
Attachment #8705826 -
Flags: feedback?(poirot.alex)
Comment 2•8 years ago
|
||
Comment on attachment 8705826 [details] [diff] [review] P1 Provide a Response.cloneUnfiltered() method for chrome code to access internal Response state. r=ehsan Works perfectly for storage inspector needs!
Attachment #8705826 -
Flags: feedback?(poirot.alex) → feedback+
Assignee | ||
Comment 3•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=5a16752bfda4
Attachment #8706594 -
Flags: review?(ehsan)
Assignee | ||
Updated•8 years ago
|
Attachment #8705826 -
Flags: review?(ehsan)
Comment 4•8 years ago
|
||
Comment on attachment 8705826 [details] [diff] [review] P1 Provide a Response.cloneUnfiltered() method for chrome code to access internal Response state. r=ehsan Review of attachment 8705826 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/webidl/Response.webidl @@ +24,5 @@ > > [Throws, > NewObject] Response clone(); > + > + [ChromeOnly, Throws] Response cloneUnfiltered(); Nit: please add NewObject too.
Attachment #8705826 -
Flags: review?(ehsan) → review+
Updated•8 years ago
|
Attachment #8706594 -
Flags: review?(ehsan) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/d0b39a33e042 https://hg.mozilla.org/integration/mozilla-inbound/rev/b12cc3b2697b
Comment 6•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d0b39a33e042 https://hg.mozilla.org/mozilla-central/rev/b12cc3b2697b
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•