mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 08:56:17 -04:00
api: drop JSONP (#4835)
* api: drop JSONP * docs: drop JSONP * tests: drop JSONP * api: remove isValidJSONPName require
This commit is contained in:
parent
85231cb774
commit
0f16e518ff
4 changed files with 0 additions and 109 deletions
|
@ -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');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue