@@ -6,6 +6,8 @@ exports[`CEReactions.webidl 1`] = `
66const conversions = require(\\ "webidl-conversions\\ ");
77const utils = require(\\ "./utils.js\\ ");
88
9+ const preSteps___CEReactions = require(\\ "../CEReactions.js\\ ").preSteps;
10+ const postSteps___CEReactions = require(\\ "../CEReactions.js\\ ").postSteps;
911const impl = utils.implSymbol;
1012const ctorRegistry = utils.ctorRegistrySymbol;
1113
@@ -162,7 +164,7 @@ const iface = {
162164 context: \\" Failed to set the '\\ " + P + \\" ' property on 'CEReactions': The provided value\\ "
163165 });
164166
165- // CEReactions pre steps
167+ preSteps___CEReactions ( globalObject );
166168 try {
167169 const creating = ! target [impl ][utils .supportsPropertyName ](P );
168170 if (creating ) {
@@ -171,7 +173,7 @@ const iface = {
171173 target [impl ][utils .namedSetExisting ](P , namedValue );
172174 }
173175 } finally {
174- // CEReactions post steps
176+ postSteps___CEReactions ( globalObject );
175177 }
176178
177179 return true ;
@@ -226,7 +228,7 @@ const iface = {
226228 context: \\" Failed to set the '\\ " + P + \\" ' property on 'CEReactions': The provided value\\ "
227229 });
228230
229- // CEReactions pre steps
231+ preSteps___CEReactions ( globalObject );
230232 try {
231233 const creating = ! target [impl ][utils .supportsPropertyName ](P );
232234 if (creating ) {
@@ -235,7 +237,7 @@ const iface = {
235237 target [impl ][utils .namedSetExisting ](P , namedValue );
236238 }
237239 } finally {
238- // CEReactions post steps
240+ postSteps___CEReactions ( globalObject );
239241 }
240242
241243 return true ;
@@ -249,12 +251,12 @@ const iface = {
249251 }
250252
251253 if (target [impl ][utils .supportsPropertyName ](P ) && !(P in target )) {
252- // CEReactions pre steps
254+ preSteps___CEReactions ( globalObject );
253255 try {
254256 target [impl ][utils .namedDelete ](P );
255257 return true ;
256258 } finally {
257- // CEReactions post steps
259+ postSteps___CEReactions ( globalObject );
258260 }
259261 }
260262
@@ -284,11 +286,11 @@ const iface = {
284286 throw new TypeError (\\" Illegal invocation\\ " );
285287 }
286288
287- // CEReactions pre steps
289+ preSteps___CEReactions ( globalObject );
288290 try {
289291 return this [impl ].method ();
290292 } finally {
291- // CEReactions post steps
293+ postSteps___CEReactions ( globalObject );
292294 }
293295 }
294296
@@ -297,11 +299,11 @@ const iface = {
297299 throw new TypeError (\\" Illegal invocation\\ " );
298300 }
299301
300- // CEReactions pre steps
302+ preSteps___CEReactions ( globalObject );
301303 try {
302304 return this [impl ][\\" attr\\ " ];
303305 } finally {
304- // CEReactions post steps
306+ postSteps___CEReactions ( globalObject );
305307 }
306308 }
307309
@@ -314,11 +316,11 @@ const iface = {
314316 context: \\" Failed to set the 'attr' property on 'CEReactions': The provided value\\ "
315317 });
316318
317- // CEReactions pre steps
319+ preSteps___CEReactions ( globalObject );
318320 try {
319321 this [impl ][\\" attr\\ " ] = V ;
320322 } finally {
321- // CEReactions post steps
323+ postSteps___CEReactions ( globalObject );
322324 }
323325 }
324326 }
@@ -1140,8 +1142,7 @@ exports[`HTMLConstructor.webidl 1`] = `
11401142const conversions = require(\\ "webidl-conversions\\ ");
11411143const utils = require(\\ "./utils.js\\ ");
11421144
1143- // HTMLConstructor
1144-
1145+ const HTMLConstructor___HTMLConstructor = require(\\ "../HTMLConstructor.js\\ ").HTMLConstructor;
11451146const impl = utils.implSymbol;
11461147const ctorRegistry = utils.ctorRegistrySymbol;
11471148
@@ -1223,7 +1224,7 @@ const iface = {
12231224 install (globalObject ) {
12241225 class HTMLConstructor {
12251226 constructor() {
1226- throw new TypeError (\\ " Illegal constructor \\ " );
1227+ return HTMLConstructor___HTMLConstructor . HTMLConstructor ( globalObject );
12271228 }
12281229 }
12291230 Object .defineProperties (HTMLConstructor .prototype , {
0 commit comments