pouchdb-community / worker-pouch

Easy way to use PouchDB inside a Web Worker or Service Worker
Apache License 2.0
217 stars 35 forks source link

Fixes for PouchDB 6.x #28

Closed nolanlawson closed 8 years ago

nolanlawson commented 8 years ago

This is probably going to be a long process, but starting off with some small fixes to see how Travis likes them...

nolanlawson commented 8 years ago

And it's failing for the dumbest possible reason: I can't seem to get Travis to use Firefox 48 instead of 31. This has happened periodically in the past, and I've seemed to have been able to get the configuration to work properly long-term. I may need to reach out to Travis.

nolanlawson commented 8 years ago

It keeps choosing Firefox 31 which doesn't support the features I need. I checked, and 48 is definitely installed.

Tests: http://127.0.0.1:8000/test/index.html
Updated: ./test/test-bundle.js
Starting { runner: 'selenium',
  browser: 'firefox',
  version: '48.0',
  platform: null }
{ browser: 'Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0',
  failures: 
   [ { message: 'this browser is not supported',
       title: 'should support the current browser',
       stack: '@test.supported-browser.js:10:9\n' },
     { message: 'Error: Invalid Adapter: undefined (blob:38e20ae4-0254-4440-8aac-60fb93548a85:3)',
       title: 'Create a db with a reserved name',
       stack: '' } ],
  lastPassed: 'Test instance update_seq updates correctly',
  passed: 53,
  failed: 2 }
nolanlawson commented 8 years ago

Giving up, gonna try #30 instead.