Closed
Bug 1228266
Opened 9 years ago
Closed 9 years ago
[Presentation WebAPI] Rename TCPPresentationServer to PresentationControlService
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
People
(Reporter: CuveeHsu, Assigned: schien)
References
Details
(Whiteboard: [ETA 5/26])
Attachments
(2 files, 1 obsolete file)
(deleted),
text/x-review-board-request
|
CuveeHsu
:
review+
jocheng
:
approval-mozilla-b2g48+
|
Details |
(deleted),
text/x-github-pull-request
|
Details |
The name is not intuitive and hard to remember. We should find a good name.
Assignee | ||
Comment 1•9 years ago
|
||
How about "PresentationControlService" since this class implements both client and server of control protocol?
Reporter | ||
Comment 2•9 years ago
|
||
(In reply to Shih-Chiang Chien [:schien] (UTC+8) (use ni? plz) from comment #1)
> How about "PresentationControlService" since this class implements both
> client and server of control protocol?
This is better than the original name.
Assignee | ||
Comment 3•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/54176/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/54176/
Attachment #8754687 -
Flags: review?(juhsu)
Assignee | ||
Comment 4•9 years ago
|
||
summary of the changes:
1. rename TCPPresentationServer.js to PresentationControlService.js
2. rename nsITCPPresentationServer to nsIPresentationControlServer
3. rename nsITCPPresentationServerListener to nsIPresentationControlServerListener (not 'Service' because those events are for server side only)
4. rename startService to startServer
5. change TCP_PRESENTATION_SERVER_CONTRACT_ID to PRESENTATION_CONTROL_SERVICE_CONTRACT_ID, and also change the string to "@mozilla.org/presentation/control-service;1"
6. rename variable names like 'presentationServer' to 'presentationService'
7. update log message and comments
Assignee: nobody → schien
Assignee | ||
Updated•9 years ago
|
Summary: [Presentation WebAPI] Rename |TCPPresentationServer.js| → [Presentation WebAPI] Rename TCPPresentationServer to PresentationControlService
Assignee | ||
Comment 5•9 years ago
|
||
We need to rename it on both TV2.6 branch and m-c to reduce future uplift effort.
blocking-b2g: --- → 2.6?
Whiteboard: [ETA 5/26]
Reporter | ||
Comment 6•9 years ago
|
||
Comment on attachment 8754687 [details]
MozReview Request: Bug 1228266 - rename TCPPresentationServer to PresentationControlService. r=junior.
https://reviewboard.mozilla.org/r/54176/#review50886
Looks good to me
Attachment #8754687 -
Flags: review?(juhsu) → review+
Assignee | ||
Comment 7•9 years ago
|
||
Comment on attachment 8754687 [details]
MozReview Request: Bug 1228266 - rename TCPPresentationServer to PresentationControlService. r=junior.
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/54176/diff/1-2/
Assignee | ||
Comment 8•9 years ago
|
||
(In reply to Shih-Chiang Chien [:schien] (UTC+8) (use ni? plz) from comment #7)
> Comment on attachment 8754687 [details]
> MozReview Request: Bug 1228266 - rename TCPPresentationServer to
> PresentationControlService. r=junior.
>
> Review request updated; see interdiff:
> https://reviewboard.mozilla.org/r/54176/diff/1-2/
update for missing package-manifest.in changes.
Comment 10•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Assignee | ||
Comment 11•9 years ago
|
||
Comment on attachment 8754687 [details]
MozReview Request: Bug 1228266 - rename TCPPresentationServer to PresentationControlService. r=junior.
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Presentation API
User impact if declined: n/a
Testing completed: with automation test
Risk to taking this patch (and alternatives if risky): no risk
String or UUID changes made by this patch: n/a
Attachment #8754687 -
Flags: approval-mozilla-b2g48?
Updated•9 years ago
|
Comment 12•9 years ago
|
||
Comment on attachment 8754687 [details]
MozReview Request: Bug 1228266 - rename TCPPresentationServer to PresentationControlService. r=junior.
Approve for TV 2.6
Attachment #8754687 -
Flags: approval-mozilla-b2g48? → approval-mozilla-b2g48+
Updated•9 years ago
|
status-b2g-v2.6:
--- → affected
Comment 14•8 years ago
|
||
Flags: needinfo?(xeonchen)
Assignee | ||
Comment 15•8 years ago
|
||
Attachment #8757852 -
Attachment is obsolete: true
Flags: needinfo?(xeonchen)
Comment 16•8 years ago
|
||
Flags: needinfo?(xeonchen)
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•