[test] add a test case to test document.cookies for 'http', 'file' and 'app' protocol. See issue #1130
Merge pull request #1321 from kingFighter/tests

[test] add a test case to test document.cookies for 'http', 'file' and 'app' protocol.