The CSP tests currently don't try using the promise APIs because the promises don't complete if just used as-is. Layout tests have test harnesses to help with promises... but we're also testing CSP so it's a pain to import a harness. I left a FIXME for this in the tests, will come back to it later.