Closed
Bug 1340556
Opened 9 years ago
Closed 9 years ago
Add tests for clipboardRead from the background page
Categories
(WebExtensions :: Compatibility, defect)
WebExtensions
Compatibility
Tracking
(firefox54 fixed)
RESOLVED
FIXED
mozilla54
| Tracking | Status | |
|---|---|---|
| firefox54 | --- | fixed |
People
(Reporter: zombie, Assigned: zombie)
Details
Attachments
(1 file)
Followup from bug 1312260.
I believe this is the most common way to use the clipboardRead permission, but I missed the test while fixing bug 1312260 because of the disabled test for clipboardWrite from the background page.
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → tomica
Status: NEW → ASSIGNED
| Assignee | ||
Updated•9 years ago
|
Summary: Add test that reading the clipboard works from the background page → Add/enable tests for clipboard API from the background page
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•9 years ago
|
Attachment #8839729 -
Flags: review?(mixedpuppy)
| Assignee | ||
Comment 2•9 years ago
|
||
Turns out clipboardWrite works only with OOP extensions, I didn't run the full suite (bug 1272869).
Summary: Add/enable tests for clipboard API from the background page → Add tests for clipboardRead from the background page
Comment 3•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8839729 [details]
Bug 1340556 - Add tests for clipboardRead from the background page
https://reviewboard.mozilla.org/r/114308/#review115758
::: toolkit/components/extensions/test/mochitest/test_ext_clipboard.html:53
(Diff revision 1)
> yield extension.awaitMessage("ready");
>
> yield extension.unload();
> });
>
> /** Selecting text in a bg page is not possible, skip test until it's fixed.
I know it's unrelated, but can you dig up a bug # for this comment and add it?
Attachment #8839729 -
Flags: review?(mixedpuppy) → review+
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/2f65dd833a4a
Add tests for clipboardRead from the background page r=mixedpuppy
Keywords: checkin-needed
Comment 6•9 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Updated•7 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•