• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lidel / ipfs-firefox-addon / 902
57%
master: 57%

Build:
Build:
LAST BUILD BRANCH: feat/brave
DEFAULT BRANCH: master
Ran 15 Oct 2017 07:14PM UTC
Jobs 4
Files 6
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
902

push

travis-ci

Marcin Rataj
feat: restore copy items in page context menu

- 2/3 of #294
- the same code is run from browserAction and context menu items
- there is no API to programmatically display/hide menu items,
  so we just remove/recreate menu items for now.
  This needs to be refactored in future after APIs such as
  https://bugzilla.mozilla.org/show_bug.cgi?id=1397249 land in browsers.
- works under Firefox and Chrome, which is not an easy feat:
  Firefox does not allow for text selection and copying within
  background page. This was worked around by injecting content script
  into the current tab and executing copying logic there.
  References:
  https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Interact_with_the_clipboard
  https://github.com/mdn/webextensions-examples/tree/master/context-menu-copy-link-with-types

336 of 584 relevant lines covered (57.53%)

14.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 902.1 (FIREFOX_RELEASE='latest') 15 Oct 2017 07:15PM UTC 0
57.53
Travis Job 902.1
2 902.2 (FIREFOX_RELEASE='nightly-latest') 15 Oct 2017 07:15PM UTC 0
57.53
Travis Job 902.2
3 902.3 (FIREFOX_RELEASE='52.0') 15 Oct 2017 07:14PM UTC 0
57.36
Travis Job 902.3
4 902.4 (FIREFOX_RELEASE='esr-latest') 15 Oct 2017 07:17PM UTC 0
57.36
Travis Job 902.4
Source Files on build 902
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #902
  • 4c8da764 on github
  • Next Build on restore-context-menus (#905)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc