Commit Graph

211 Commits

Author SHA1 Message Date
Mohamed Hegazy
bc150e1372 Port fix in https://github.com/DefinitelyTyped/DefinitelyTyped/pull/11811 (#11913) 2016-10-11 16:08:25 -07:00
Joel Spadin
989cbc1b80 Fix Chrome tests with strict null checking enabled
Enabled strict null checking for Chrome tests and fixed some issues with the
existing tests.

The example code at
https://developer.chrome.com/extensions/examples/api/bookmarks/basic/popup.js
would use an uninitialized 'span' variable if bookmarkNode.title was empty.
Since I have no idea what it was supposed to do in that case, I just moved the
declaration of span up a block.
2016-09-04 21:07:33 -05:00
Joel Spadin
29fb8c50c7 Fix strict null checking in chrome
Fixed everywhere the Chrome API documentation said something could be null but
the types didn't allow it under strict null checking.
2016-09-04 20:52:33 -05:00
Ryan Cavanaugh
b488f3cb5f Merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-27 10:57:46 -07:00
Ryan Cavanaugh
35075752ec Merge commit 'upstream/master~750' into merge_7_25 2016-07-25 14:51:03 -07:00
Ryan Cavanaugh
347311a5f0 Partial merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-25 14:26:20 -07:00
NN
6e9e49ad9e Type WebRequestBody.formData (#10205) 2016-07-23 23:38:44 -07:00
NN
5e942d89e6 Fix typo, schema => scheme (#10203)
See documentation https://developer.chrome.com/extensions/webRequest
2016-07-23 20:09:20 -07:00
NN
52087dbaee Add missing url property for all requests (#10201)
See documentation
https://developer.chrome.com/extensions/webRequest
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/webRequest/
2016-07-23 20:09:03 -07:00
NN
acf17c35f3 onAuthRequired allows additional arguments. (#10200)
See:
https://developer.chrome.com/extensions/webRequest#type-OnAuthRequiredOptions
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/webRequest/onAuthRequired
2016-07-23 20:08:35 -07:00
Ryan Cavanaugh
a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Alex Kozack
674fdd2fc9 Add chrome.app.getDetails() function 2016-07-05 16:09:18 +03:00
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Martin Probst
e127f7e436 Remove the dependency on MediaStream from Chrome.
MediaStream & Co are available in TypeScript 1.9's lib.d.ts (or
lib.dom.d.ts etc.), so there's no need to reference them anymore.
2016-06-27 15:39:21 -07:00
Ryan Cavanaugh
e105eabd48 Remove invalid references 2016-05-10 16:27:59 -07:00
Ryan Cavanaugh
612c172c52 Use correct test list 2016-05-10 12:28:03 -07:00
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062 Remove unneeded references 2016-05-10 12:22:25 -07:00
Ryan Cavanaugh
50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Andrey Lipatkin
00cb576708 Fixing favIconUrl property name typo for TabChangeInfo class (#9249)
* Fixing favIconUrl property name typo for TabChangeInfo class

* Empty commit to trigger Travis CI
2016-05-09 17:36:26 +09:00
James Tarling
af57239852 Fix for duplicate USB event (#9236) 2016-05-09 17:23:49 +09:00
Ryan Cavanaugh
5859f63fd3 Keep fixing... 2016-05-05 12:38:52 -07:00
Ryan Cavanaugh
ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
76176f2097 Comment out broken declaration 2016-05-04 14:22:50 -07:00
Ryan Cavanaugh
69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Sergey Rubanov
925bf8b076 add title property to TabChangeInfo (#9163) 2016-05-02 01:16:58 +09:00
Ryan Cavanaugh
dc851736af Delete unused tscparams 2016-04-27 20:42:33 -07:00
Ryan Cavanaugh
e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Ryan Cavanaugh
4f7524fc65 Rename files and folders to match their module definitions 2016-04-05 15:50:30 -07:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Alex Godko
853365e033 Change chrome.runtime.onConnectExternal type
Change onConnectExternal type from RuntimeEvent to ExtensionConnectEvent
according to https://developer.chrome.com/extensions/runtime#event-onConnectExternal and unsuccessuful compilation of my project :)
2016-03-12 21:12:08 +02:00
vvakame
39f22f95a3 change permission 0755 to 0644 2016-03-10 23:03:55 +09:00
Masahiro Wakame
163a427719 Merge pull request #8267 from RReverser/patch-10
Add definitions for chrome.usb API
2016-02-27 11:49:49 +09:00
Ingvar Stepanyan
2552abff6d Add definitions for chrome.usb API
/cc @mikach
2016-02-26 13:22:03 +00:00
Ingvar Stepanyan
5c3108151b Add definitions for chrome.mediaGalleries API 2016-02-26 13:19:21 +00:00
Masahiro Wakame
c268bd6d74 Merge pull request #8120 from RReverser/patch-8
Add chrome.system.display definitions
2016-02-26 19:54:14 +09:00
Horiuchi_H
39ced332d3 Merge pull request #8102 from RReverser/patch-6
Fix chrome.runtime.getManifest() definition
2016-02-19 11:29:26 +09:00
Ingvar Stepanyan
8c6089d67d Move chrome.system.display to chrome-app.d.ts. 2016-02-18 17:13:32 +00:00
Horiuchi_H
99c4fb76b5 Merge pull request #8100 from RReverser/patch-4
Depend chrome-app.d.ts on chrome.d.ts
2016-02-18 18:43:11 +09:00
Masahiro Wakame
fe0363ee99 Merge pull request #8108 from RReverser/patch-7
Fix chrome.sockets.tcp.getSockets
2016-02-17 21:10:34 +09:00
Masahiro Wakame
cf43002813 Merge pull request #8101 from RReverser/patch-5
Fix chrome.identity.getRedirectURL return type
2016-02-17 21:00:02 +09:00
Ingvar Stepanyan
390d1e412f Add file_system_provider_capabilities.watchable to Chrome manifest 2016-02-16 17:56:02 +00:00
Ingvar Stepanyan
e5d42057e2 Add chrome.system.display definitions 2016-02-16 14:31:35 +00:00
Ingvar Stepanyan
78e6c2d471 Update chrome-app-tests.ts 2016-02-16 13:04:21 +00:00
Ingvar Stepanyan
f4c7df0868 Update chrome-app-tests.ts 2016-02-16 05:05:24 +00:00
Ingvar Stepanyan
3c1ef611b3 Fix chrome.sockets.tcp.getSockets
It doesn't accept socketId argument, but returns list of all the opened sockets.
2016-02-16 03:32:23 +00:00