Lusito
b0596ad616
docs: Add TypeScript Usage Hints
2020-09-17 14:24:45 +02:00
Rob Wu
d6a789bf54
fix(test): fix expectation of tabs-sendmessage-expectation in Firefox
...
Work-around for upstream regression @ https://bugzilla.mozilla.org/show_bug.cgi?id=1665568
2020-09-17 13:19:55 +02:00
Rob Wu
5f13763d5e
chore(deps): Updated chromedriver to version 85.0.1
2020-09-17 13:19:55 +02:00
Rob Wu
3f4f0b9ef5
fix(travis): Run tests with Node 10 instead of 8 ( #238 )
...
CI is currently failing because package.json refers chromedriver
^80.0.1, which also matches 80.0.2.
In 80.0.2, chromedriver updated the `extract-zip` dependency:
16151de4c7
extract-zip 2.0.0 has dropped support for Node <10, e.g. by using APIs
that were introduced in Node 10:
https://github.com/maxogden/extract-zip/blob/v2.0.0/index.js#L11
which triggers the following error when run on earlier versions of Node:
```
> chromedriver@80.0.2 install /home/travis/build/mozilla/webextension-polyfill/node_modules/chromedriver
> node install.js
internal/util.js:214
throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'original', 'function');
^
TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function
at promisify (internal/util.js:214:11)
at Object.<anonymous> (/home/travis/build/mozilla/webextension-polyfill/node_modules/extract-zip/index.js:11:18)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/travis/build/mozilla/webextension-polyfill/node_modules/chromedriver/install.js:14:20)
```
This commit fixes the issue by running tests with Node 10.
Node 8 had become end-of-life on 2019-12-31 anyway.
2020-09-17 13:19:35 +02:00
Luca Greco
faa22a4df1
doc: Updated README.md notes related to MSEdge ( #222 )
2020-03-03 15:12:39 +01:00
Rob Wu
2a4c9a8c79
chore: Remove IRC notification from Travis ( #220 )
...
We moved from IRC to Matrix.
... but the project is stable with little new development so we can as
well remove the notifications.
2020-02-19 23:49:46 +01:00
Rob Wu
b22e05870d
chore(deps): Updated chromedriver to version 80.0.1 ( #221 )
2020-02-19 23:48:46 +01:00
Luca Greco
c77e9fb89d
chore: bump version for release 0.6.0
2019-12-23 13:26:35 +01:00
Luca Greco
5c8a743cb2
doc: Add section related to basic setup with ES6 module loader ( #216 )
2019-12-23 13:09:26 +01:00
Luca Greco
f85b5d8e5b
fix: Update babel deps to babel 7 ( #214 )
...
* fix: Update babel deps to babel 7
* chore: Replaced @babel/transfor-umd-modules with a small custom babel transformer script
* test: Added minimal integration test as smoke test for importing polyfill as es6 module
2019-12-12 19:00:46 +01:00
Luca Greco
2005a2ca22
chore: Updated sinon to version 7.5.0
2019-11-27 13:38:52 +01:00
Luca Greco
5f1fbcc72c
chore: Updated grunt-coveralls to version 2.0.0
2019-11-27 13:38:52 +01:00
Luca Greco
94a4f73371
chore: Updated gruntify-eslint to version 5.0.0
2019-11-27 13:38:52 +01:00
Luca Greco
99dc57cda0
chore: Updated mocha to version 4.2.0
2019-11-27 13:38:52 +01:00
Luca Greco
d44187c2e9
chore: Updated chai to version 4.2.0
2019-11-27 13:38:52 +01:00
Luca Greco
57af39d0c5
chore: Updated babel-eslint to version 10.0.3
2019-11-27 13:38:52 +01:00
Luca Greco
ff38ac3b6c
chore: Updated cross-env to version 6.0.3
2019-11-27 13:38:52 +01:00
Luca Greco
ce73bce4a2
chore: Updated nyc to version 14.1.1
2019-11-27 13:38:52 +01:00
Luca Greco
75b569b250
chore: Updated instanbul-lib-instrument to version 3.3.0
2019-11-27 13:38:52 +01:00
Luca Greco
8dd76b0e37
chore: Updated tmp to version 0.1.0
2019-11-27 13:38:52 +01:00
Manvel Saroyan
87bdfa844d
fix: Added missing chrome privacy api settings ( #205 )
2019-11-21 15:21:06 +01:00
dependabot[bot]
b8e374a37a
chore(deps-dev): bump eslint from 3.19.0 to 6.6.0 ( #209 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 3.19.0 to 6.6.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v3.19.0...v6.6.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-21 14:24:41 +01:00
Manvel Saroyan
5f7a8458c9
chore(deps): Updated chromedriver to version 78.0.1
2019-10-29 23:42:45 +00:00
Luca Greco
be611156bc
chore: bump version for release 0.5.0
2019-09-27 00:04:25 +02:00
Luca Greco
06ebcbd07f
fix(travis): Added xvfb service to travis config ( #203 )
2019-09-24 21:20:42 +02:00
ExE Boss
04a9e3a223
chore: Add `.editorconfig` ( #188 )
2019-09-08 15:38:25 +02:00
Shubham Chinda
3929b9f760
fix: Remove runtime.getBrowserInfo() ( #200 )
2019-08-01 19:01:38 +02:00
Federico Brigante
44a473db5d
docs(README): Add suggested webpack usage ( #194 )
2019-08-01 18:53:23 +02:00
Luca Greco
6b8e7e18ed
chore(deps): Updated chromedriver to version 76.0.0 ( #199 )
2019-08-01 17:16:24 +02:00
Siddharth M
51998c1c64
chore: Fixed typos in README.md file ( #197 )
2019-08-01 13:30:57 +02:00
Rob Wu
ad207a84b9
fix: Throw error when loaded in non-extension contexts ( #190 )
...
Fixes #186
2019-07-18 15:21:49 +02:00
Mozilla-GitHub-Standards
10bc37b342
chore: Add Mozilla Code of Conduct file
...
Fixes #181 .
_(Message COC002)_
2019-04-16 11:39:12 +02:00
Rob Wu
6fb04ebc66
docs(README): Clarify why Chrome-only methods have no Promise ( #183 )
2019-04-09 18:27:08 +02:00
ExE Boss
3aad2418d8
test(devtools): Fix intermittent DevTools API test timeout ( #177 )
2019-03-20 12:27:09 +01:00
Luca Greco
949f08cc7d
chore: bump version for release 0.4.0
2019-02-06 12:40:54 +01:00
Luca Greco
6f178c56da
fix: browser.devtools.inspectedWindow.eval promise should always resolve to an array ( #175 )
...
* fix: browser.devtools.inspectedWindow.eval promise should always resolve to an array
* test(integration): Add test for browser.devtools.inspectedWindow.eval API
2019-02-01 08:38:35 +01:00
Luca Greco
e6601af79c
doc: Update MSEdge note in README.md ( #176 )
2019-01-31 16:58:43 +01:00
Luca Greco
cdbb3115e8
chore: Small tweaks to the eslint config files (follow-up for #167 )
2019-01-28 18:56:40 +01:00
ExE Boss
83ec9e70ad
test(integration): Use node for running test scripts ( #167 )
...
* test(integration): Use node for running browser smoketests
* test(integration): Use node for running test scripts
2019-01-28 18:49:25 +01:00
serv-inc
34a6ab4559
docs(README): Add reminder to include browser-polyfill.js before other bg scripts ( #160 )
2018-11-08 15:09:14 +01:00
ExE Boss
7b46d25db2
refactor: Make the `wrapAPIs` function take the `chrome` object as a parameter ( #139 )
2018-08-27 15:50:40 +02:00
Luca Greco
cf135db59e
chore: bump version for release 0.3.1
2018-08-21 12:03:52 +02:00
Luca Greco
ebd28186a1
fix: Prevent a webpage document element to be detected as the Extension API object ( #153 )
2018-08-15 22:33:37 +02:00
Mike Frysinger
450eee59a3
doc: fix broken link in README
2018-08-02 09:20:22 +02:00
ExE Boss
26683389ea
chore: Replace post-processed warning message with single-line string literal ( #152 )
2018-07-27 17:37:29 +02:00
Luca Greco
5e4796c116
chore: bump version for release 0.3.0
2018-07-19 16:48:08 +02:00
Luca Greco
e17f1e1763
chore: Fixed npm badge in README.md
2018-07-19 16:43:57 +02:00
Luca Greco
440857e5f8
doc: Rewrite README.md and move build and contribution details into a separate doc file ( #147 )
2018-07-19 15:56:49 +02:00
Stuart Colville
890a99ae62
chore: Updated npm token in the travis config file ( #149 )
2018-07-16 13:59:40 +02:00
Rob Wu
d77a418537
feat: Support promises in privacy namespace
2018-07-11 18:04:32 +02:00