Revision 007de0c0
Added by koszko over 1 year ago
- ID 007de0c08857d592e6043d2682b83c271271458b
- Parent fba67f09
content/haketilo_apis.js | ||
---|---|---|
50 | 50 |
|
51 | 51 |
console.warn("delme event", event.detail); |
52 | 52 |
|
53 |
if (typeof event.detail.id !== "string" || |
|
53 |
if (typeof event.detail !== "object" || |
|
54 |
typeof event.detail.id !== "string" || |
|
54 | 55 |
typeof event.detail.data !== "string") { |
55 | 56 |
console.error(`Haketilo: Invalid detail for ${name}:`, |
56 | 57 |
event.detail); |
Also available in: Unified diff
add more tests for CORS bypassing feature