| Commit-Queue | +2 |
// that this is too small, bump it up by another 100.Edman Anjosnit: Why not give ourselves more space than this for now? uint16_t isn't infinite, but it seems like we could bump to like 2000 to make the need to update this a bit less frequent?
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
kFirstPointerTag = 2101,Jeremy Roman2001?
Disregard, but maybe we should make the precise connection with ScriptWrappableArrayTag::kLastTag more explicit, since I missed it at first?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
kFirstPointerTag = 2101,Jeremy Roman2001?
Disregard, but maybe we should make the precise connection with ScriptWrappableArrayTag::kLastTag more explicit, since I missed it at first?
I'm not sure we can make it explicit in code.
What comes to mind is to change the lint comment to `// LINT.IfChange(LastScriptWrappableTag)`. Is that better?
Another option is to increase the `LINT.IfChange` area to include the `ScriptWrappableArrayTag` enum. That shows the relationship but has more chance for false positives, as it's unlikely that changing the enum requires a change in the `gin::kFirstPointerTag`.
If you have ideas for improvements here I'm happy to discuss and implement a separate change.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Bump kLastGeneratedScriptWrappableTag to 2000
We're adding a new ScriptWrappable, which hits the current limit of
1500. This change increases kLastGeneratedScriptWrappableTag to 2000.
With that we also need to update gin::kFirstPointerTag, as it shouldn't
overlap with script wrappable tags.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |