Right now we detect them by checking |method.identifier.name[:2] == "__"|, which seem rather hacky.
This seems to have been fixed, but the FIXME comment is still in the code. dom/bindings/Codegen.py: # FIXME https://bugzilla.mozilla.org/show_bug.cgi?id=772822 # We should be able to check for special operations without an # identifier. For now we check if the name starts with __
This wasn't fixed, but the comment is not next to the check anymore :-/. isIdentifierLess() does |return self.identifier.name[:2] == "__"|/
You need to log in before you can comment on or make changes to this bug.