Closed
Bug 1362946
Opened 7 years ago
Closed 7 years ago
Label runnables in dom/file/nsHostObjectProtocolHandler.cpp
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: bevis, Assigned: bevis)
References
Details
(Whiteboard: [QDL][TDC-MVP][DOM])
Attachments
(1 file, 1 obsolete file)
3.13 KB,
patch
|
bevis
:
review+
|
Details | Diff | Splinter Review |
There is a timer in ReleasingTimerHolder::mTimer to release the BlobImpl handle in each nsHostObjectURI. SystemGroup shall be a good option to label this timer if ReleasingTimerHolder::Notify() doesn't touch anything in web content.
Assignee | ||
Comment 1•7 years ago
|
||
1. Label ReleasingTimerHolder with SystemGroup since ReleasingTimerHolder touches nothing related to the web content but release the handle of the BlobImpl object. 2. Name ReleasingTimerHolder for telemetry[1]. :baku, may I have your review for these change? Thanks! [1] http://searchfox.org/mozilla-central/rev/224cc663d54085994a4871ef464b7662e0721e83/xpcom/threads/nsTimerImpl.cpp#673-674
Attachment #8865767 -
Flags: review?(amarchesini)
Comment 2•7 years ago
|
||
Comment on attachment 8865767 [details] [diff] [review] (v1) Set SystemGroup EventTarget to ReleasingTimerHolder. Review of attachment 8865767 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/file/nsHostObjectProtocolHandler.cpp @@ +462,5 @@ > return NS_OK; > } > > + NS_IMETHOD > + GetName(nsACString & aName) override naACString& aName @@ +469,5 @@ > + return NS_OK; > + } > + > + NS_IMETHOD > + SetName(const char * aName) override const char* aName @@ +470,5 @@ > + } > + > + NS_IMETHOD > + SetName(const char * aName) override > + { If this cannot be set, Just add an assertion. MOZ_CRASH(Something) @@ +471,5 @@ > + > + NS_IMETHOD > + SetName(const char * aName) override > + { > + return NS_OK; or return NOT_IMPLEMENTED;
Attachment #8865767 -
Flags: review?(amarchesini) → review+
Assignee | ||
Comment 3•7 years ago
|
||
address comment 2. treeherder result looks fine: https://treeherder.mozilla.org/#/jobs?repo=try&revision=1d1f2f2b98eae93145a299af1827cc19774ed882
Attachment #8865767 -
Attachment is obsolete: true
Attachment #8865813 -
Flags: review+
Pushed by btseng@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/15d644ff559f Set SystemGroup EventTarget to ReleasingTimerHolder. r=baku
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/15d644ff559f
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Updated•7 years ago
|
Whiteboard: [QDL][TDC-MVP][DOM]
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
•