Closed bicknellr closed 2 years ago
Oh yay, the on* bug was fixed! It'll be weeks at best before it's in stable though, so I think this is good to land
SGTM. Also, I just realized that I didn't update the types, so I'll work on that and post again once I've pushed a fix.
Closure's type for setAttribute
seems to be wrong, so I had to cast .emptyScript
with ?
. Also, I moved this into the same method as the setAttribute
call so that I didn't have to update _serializeValue
's return value or its callers. PTAL
Like https://github.com/Polymer/polymer/commit/8582dd6449822e003313dee3e6792aa0a8f98989, this is also to work around https://crbug.com/993268. Given that this bug should be fixed now, I'm not sure if we want to upstream this (since we're already including a workaround for it elsewhere) or leave it as an internal only patch.