Skip to content

Commit

Permalink
Add a Node.p.after exception for dates-list (#22958)
Browse files Browse the repository at this point in the history
  • Loading branch information
jridgewell authored and rsimha committed Jun 24, 2019
1 parent 49490d1 commit 878909e
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions build-system/conformance-config.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -349,11 +349,12 @@ requirement: {
whitelist: 'extensions/amp-date-picker/0.1/dates-list.js'
}

# TODO(rsimha): Reenable when we move RRule to a node module.
# requirement: {
# type: BANNED_PROPERTY_CALL
# error_message: 'ChildNode.p.after() is unusual. Please use Node.p.insertBefore()'
# value: 'Element.prototype.after'
# value: 'DocumentType.prototype.after'
# value: 'CharacterData.prototype.after'
# }
requirement: {
type: BANNED_PROPERTY_CALL
error_message: 'ChildNode.p.after() is unusual. Please use Node.p.insertBefore()'
value: 'Element.prototype.after'
value: 'DocumentType.prototype.after'
value: 'CharacterData.prototype.after'
# It's really hard to properly type check this one.
whitelist: 'extensions/amp-date-picker/0.1/dates-list.js'
}

0 comments on commit 878909e

Please sign in to comment.