Correct documentation of `nsIClipboard::getData`
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox99 | --- | fixed |
People
(Reporter: mbrodesser-Igalia, Assigned: mbrodesser-Igalia)
References
Details
Attachments
(1 file)
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Before, it was confusing. One could have assumed that the method gets
the data for all flavors.
Pushed by mbrodesser@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/00f6bd7aa727 rename `nsIClipboard::getData` to `nsIClipboard::getSomeData` and document it. r=mccr8
Comment 3•3 years ago
|
||
Backed out for causing multiple clipboard related failures
Failure log 1 // Failure log 2 // Failure log 3
Failure line 1: TEST-UNEXPECTED-FAIL | accessible/tests/mochitest/editabletext/test_2.html | uncaught exception - TypeError: Services.clipboard.getData is not a function at getTextFromClipboard@chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js:852:22
Failure line 2: TEST-UNEXPECTED-FAIL | toolkit/components/reader/test/browser_readerMode.js | Uncaught exception in test - at resource://specialpowers/SpecialPowersChild.jsm:1746 - TypeError: Services.clipboard.getData is not a function
Failure line 3: TEST-UNEXPECTED-FAIL | dom/tests/mochitest/general/test_clipboard_events.html | Failed "Failed to initial set/get clipboard text" due to "TypeError: Services.clipboard.getData is not a function"
Comment 4•3 years ago
|
||
Also bc2 Failure Log
Assignee | ||
Comment 5•3 years ago
|
||
Thanks for the ni?-request and the backout. I'm testing the fix.
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Pushed by mbrodesser@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/25761f33bc0e correct documentation of `nsIClipboard::getData`. r=mccr8
Comment 7•3 years ago
|
||
bugherder |
Description
•