It would make sense to replace the [ReplaceableConstructor] attribute with "DOMWindow" for the following reasons: - The [ReplaceableConstructor] attribute is used by JSC's DOMWindow.idl only. - CodeGeneratorJS.pm supports the [ReplaceableConstructor] attribute for DOMWindow.idl only (If we use [RepaceableConstructor] in other IDL files, then CodeGeneratorJS.pm dies). - DOMWindow is already handled specially here and there in code generators.
Created attachment 125820 [details] Patch
Comment on attachment 125820 [details] Patch Seems reasonable.
Comment on attachment 125820 [details] Patch Eric: Thanks for review. In bug 77966, we have been discussing how hard-coded "DOMWindow" in code generators should be removed. Let me commit the patch after that discussion.
[ReplaceableConstructor] was removed in r190085, as part of %Interface%.prototype.constructor attributes fix. *** This bug has been marked as a duplicate of bug 149412 ***