Bug 1037335 - Fix test failures. r=ckerschb,smaug

Require review from DOM peer.

MozReview-Commit-ID: HWBKKxxPh0e

--HG--
extra : rebase_source : be42de075010e79835b519e04a01c6e3f3c6ef8b
This commit is contained in:
Chung-Sheng Fu 2017-11-29 16:54:00 +02:00
parent a3b493b9ca
commit 5b56656364
2 changed files with 6 additions and 0 deletions

View File

@ -411,6 +411,10 @@ const kEventConstructors = {
return new WebGLContextEvent(aName, aProps);
},
},
SecurityPolicyViolationEvent: { create: function (aName, aProps) {
return new SecurityPolicyViolationEvent(aName, aProps);
},
},
};
for (var name of Object.keys(kEventConstructors)) {

View File

@ -828,6 +828,8 @@ var interfaceNamesInGlobalScope =
"ScriptProcessorNode",
// IMPORTANT: Do not change this list without review from a DOM peer!
"ScrollAreaEvent",
// IMPORTANT: Do not change this list without review from a DOM peer!
"SecurityPolicyViolationEvent",
// IMPORTANT: Do not change this list without review from a DOM peer!
"Selection",
// IMPORTANT: Do not change this list without review from a DOM peer!