24 Commits

Author SHA1 Message Date
Wesley Miaw
65855a143a Expand CORS test script to all other supported request types.
Explicitly check for 403 Forbidden, instead of allowing tests to pass for other HTTP status codes.
2020-07-01 17:37:28 -07:00
Wesley Miaw
9c95539a7e Allow wildcard matches for non-https schemes of the form scheme://* and
scheme:*.
2020-06-12 18:24:27 -07:00
Wesley Miaw
d789ef37ff Allow subdomain wildcards to be specified for CORS origin headers using https.
Restrict default build to acceptable Netflix and YouTube origin headers; created new debug makefile target for full whitelist testing.
2020-06-02 17:19:53 -07:00
Wesley Miaw
e82bda0149 Allow ORIGIN header values from other schemes to be accepted; in particular
accept the package: scheme used by some mobile device clients. The HTTPS
scheme is still validated specially, to account for port numbers.
2020-05-19 16:25:34 -07:00
Wesley Miaw
df63f0e6af Require CORS Origin header to use https:// and match the entire hostname.
Also require the port number to match if specified in the accepted origins
list.
2020-03-27 15:45:23 -07:00
Wesley Miaw
fec0095372 Merge branch 'documentation' into memory-fixes 2019-10-07 14:40:59 -07:00
Wesley Miaw
45477e443e Add to and improve upon the DIAL server unit tests. 2019-10-07 14:39:00 -07:00
Wesley Miaw
5dc0f40b2f Add/improve function documentation and update copyright information. 2019-10-07 14:28:40 -07:00
Kevin Morris
ea691d1c4b Check that 403 is returned when DIAL launch of the System app is attempted. 2018-10-25 08:50:00 -07:00
Kevin Morris
b541041ea1 Adding tests for v2.2 DIAL spec. 2018-10-24 17:07:46 -07:00
Shruti Ranganathan Jothi
e5663f3941 adding manual mode test and stress test 2017-03-09 10:44:01 -08:00
Shruti Ranganathan Jothi
1f5c5454f2 adding logging for js tests 2017-03-08 19:30:02 -08:00
Shruti Ranganathan Jothi
b0061b88ad ability to write logs of test run to a file for nodejs tests 2017-03-08 16:28:28 -08:00
Shruti Ranganathan Jothi
11e4eaf2ac rectify error in sending clientDialVer in application status query 2017-03-08 12:57:50 -08:00
Shruti Ranganathan Jothi
6a0edc87dc Removed some test workarounds and updated README 2017-03-08 10:56:39 -08:00
Shruti Ranganathan Jothi
8e322de983 use yargs to get commandline params for nodejs tests 2017-03-08 10:33:36 -08:00
Shruti Ranganathan Jothi
ac26da16e2 use sprintf-js to format console logs 2017-03-08 09:58:27 -08:00
Shruti Ranganathan Jothi
2771af310a update README 2017-03-01 10:05:07 -08:00
Shruti Ranganathan Jothi
fd58106e7f ability to run tests standalone 2017-02-28 17:29:57 -08:00
Shruti Ranganathan Jothi
3966c316ac make tests application agnostic 2017-02-28 17:21:35 -08:00
Shruti Ranganathan Jothi
f6c369ca3c update package.json and .gitignore 2017-02-28 11:54:30 -08:00
Shruti Ranganathan Jothi
7ecd7c2ad0 committing node js tests for netflix app with DIAL 2.1 2017-02-28 11:24:36 -08:00
Shruti Ranganathan Jothi
53687736d9 new directory for nodejs tests 2017-02-28 11:17:08 -08:00
jcli
3454a59e99 dial spec 1.7 2015-10-20 16:26:28 -07:00