api: drop JSONP (#4835)

* api: drop JSONP

* docs: drop JSONP

* tests: drop JSONP

* api: remove isValidJSONPName require
This commit is contained in:
John McLear 2021-02-22 09:10:02 +00:00 committed by GitHub
parent 85231cb774
commit 0f16e518ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 109 deletions

View file

@ -56,13 +56,4 @@ describe(__filename, function () {
});
});
it('supports jsonp calls', async function () {
this.timeout(150);
await agent.get(`${endPoint('createPad')}&jsonp=jsonp_1&padID=${testPadId}`)
.expect(200)
.expect('Content-Type', /javascript/)
.expect((res) => {
if (!res.text.match('jsonp_1')) throw new Error('no jsonp call seen');
});
});
});