Commit Graph

23 Commits

Author SHA1 Message Date
Matt Hensman
ba8c28bf39 Restructure background script (#70)
Splits some background script functionality into separate modules:
 - Receiver selector handling is moved to ./SelectorManager.
 - Status bridge handling is moved to ./StatusManager.
 - Menu creation and updates are handled in ./createMenus.
 - Shim creation is handled in ./createShim.

TypedEventTarget allows EventTarget-derived classes to export typed events.

Options type definition is moved to ./lib/options, module assumes more responsibility for update handling and provides a "changed" event.

Private cast._requestSession method allows bypassing receiver selector.
2019-07-26 00:09:51 +01:00
hensm
b6f6bd7139 Rename test/lib/ to test/vendor/ 2019-07-18 21:44:04 +01:00
hensm
a62cb01e97 Update blank metadata values from null to undefined to match Chrome 2019-07-14 09:46:05 +01:00
Matt Hensman
f1125061d5 Convert shim to Typescript (#32) 2019-03-12 05:51:43 +00:00
Edward Betts
f95b686330 Correct spelling mistakes 2019-01-23 13:19:53 +00:00
hensm
8588b856b5 Fix chrome.cast.media class implementations 2019-01-12 13:47:49 +00:00
hensm
536d170d51 Add chrome.cast.media class tests 2019-01-12 13:40:13 +00:00
hensm
45319fe771 Implement blank file tests + fix shim 2019-01-12 10:12:10 +00:00
hensm
839ea81838 Namespace messageProxy (sendMessage) 2019-01-12 09:28:01 +00:00
hensm
626b8ca75e Use WebSocket for message proxy 2019-01-12 06:31:02 +00:00
hensm
8f6770e8a0 Proxy Jasmine output to terminal 2019-01-12 02:20:57 +00:00
hensm
242142313b Execute tests within browser page context 2019-01-11 13:47:19 +00:00
hensm
c3e61dd95d Remove ChromeProfile 2018-12-28 15:08:23 +00:00
hensm
30832a6d6b Add "disable-background-networking" to excluded switches 2018-12-28 15:06:50 +00:00
hensm
b7fd1a55aa Run Chrome tests in headless mode 2018-12-27 02:50:33 +00:00
hensm
f273a913a8 Fix tests for Firefox 2018-12-25 17:55:50 +00:00
hensm
f4f795e8e6 Fix test extension location 2018-12-21 04:28:36 +00:00
hensm
57e7105f94 Fix test for dist/ path 2018-10-10 21:33:41 +01:00
hensm
8e3992da92 chrome.cast class tests 2018-06-13 02:29:18 +01:00
hensm
57933bb166 chrome.cast.media test compliance 2018-06-13 00:07:24 +01:00
hensm
26e2381182 chrome.cast.media definition tests 2018-06-12 02:54:16 +01:00
hensm
c8dc192f19 Reorganise tests 2018-06-11 04:12:58 +01:00
hensm
f20f96cf10 Simplify build scripts and implement preliminary tests 2018-06-11 03:42:04 +01:00