(fn)
| 286 | }, |
| 287 | }; |
| 288 | function invalid(fn) { |
| 289 | expect(fn).to.throw(/Invalid embedding hostname/); |
| 290 | } |
| 291 | validateAllowedEmbeddingOrigins(win, ['foo.com']); |
| 292 | validateAllowedEmbeddingOrigins(win, ['foo.net', 'foo.com']); |
| 293 | validateAllowedEmbeddingOrigins(win, ['www.foo.com']); |
no test coverage detected