Closed
Bug 1166840
Opened 9 years ago
Closed 9 years ago
Remove the document argument from the clipboard helper APIs
Categories
(Core :: Widget, defect)
Core
Widget
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: poiru)
References
Details
Attachments
(3 files)
34.28 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
2.98 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
5.94 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
This is no longer necessary after bug 815952 was fixed. (See bug 965199 comment 14.) poiru, is this something that may interest you?
Flags: needinfo?(birunthan)
Assignee | ||
Comment 1•9 years ago
|
||
Sure, can do.
Assignee: nobody → birunthan
Status: NEW → ASSIGNED
Flags: needinfo?(birunthan)
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8609181 -
Flags: review?(ehsan)
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8609183 -
Flags: review?(ehsan)
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8609184 -
Flags: review?(ehsan)
Comment 5•9 years ago
|
||
(Adding this bug as a dependency for Bug 965199. I modified/added some calls to clipboardHelper copyString, and will update them when this fix is merged)
Reporter | ||
Updated•9 years ago
|
Attachment #8609181 -
Flags: review?(ehsan) → review+
Reporter | ||
Updated•9 years ago
|
Attachment #8609183 -
Flags: review?(ehsan) → review+
Reporter | ||
Comment 6•9 years ago
|
||
Comment on attachment 8609184 [details] [diff] [review] Remove document argument from nsIClipboardHelper.copyString{,ToClipboard} Review of attachment 8609184 [details] [diff] [review]: ----------------------------------------------------------------- Thanks! ::: layout/base/nsDocumentViewer.cpp @@ +2642,5 @@ > nsCOMPtr<nsIClipboardHelper> clipboard(do_GetService("@mozilla.org/widget/clipboardhelper;1", &rv)); > NS_ENSURE_SUCCESS(rv, rv); > > // copy the href onto the clipboard > nsCOMPtr<nsIDOMDocument> doc = do_QueryInterface(mDocument); Nit: this is now unused, please remove it!
Attachment #8609184 -
Flags: review?(ehsan) → review+
Reporter | ||
Comment 7•9 years ago
|
||
(In reply to Julian Descottes from comment #5) > (Adding this bug as a dependency for Bug 965199. I modified/added some calls > to clipboardHelper copyString, and will update them when this fix is merged) Thanks a lot, Julian!
https://hg.mozilla.org/integration/mozilla-inbound/rev/b83845e4117c https://hg.mozilla.org/integration/mozilla-inbound/rev/ec14eee472e5 https://hg.mozilla.org/integration/mozilla-inbound/rev/9e89159cbe38
Comment 9•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b83845e4117c https://hg.mozilla.org/mozilla-central/rev/ec14eee472e5 https://hg.mozilla.org/mozilla-central/rev/9e89159cbe38
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•