mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
Directly assign PrimitiveConversions.h to the generated binding of KeyframeAnimationOptions.
This is a hack to deal UnifiedBindings trying to deal with an incomplete codegen implementation so it was worked around with a hack back in Firefox 30-something. If we have anymore of this non-sense crop up as stuff is added or removed from DOM then extend this conditional. Least until something better comes along.
This commit is contained in:
parent
528f0eb941
commit
cf9ac0b791
1 changed files with 6 additions and 0 deletions
|
|
@ -1109,6 +1109,12 @@ class CGHeaders(CGWrapper):
|
|||
# Now find all the things we'll need as arguments because we
|
||||
# need to wrap or unwrap them.
|
||||
bindingHeaders = set()
|
||||
|
||||
# KeyframeAnimationOptions.webidl is doing something VERY screwy and
|
||||
# Unified Building really sucks so directly include this
|
||||
if prefix == "KeyframeAnimationOptionsBinding":
|
||||
bindingHeaders.add("mozilla/dom/PrimitiveConversions.h")
|
||||
|
||||
declareIncludes = set(declareIncludes)
|
||||
|
||||
def addHeadersForType((t, dictionary)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue