-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependencies and spec tests - 2020-02-03 #56
Conversation
Codecov Report
@@ Coverage Diff @@
## main #56 +/- ##
============================================
- Coverage 78.40% 78.27% -0.13%
- Complexity 854 858 +4
============================================
Files 47 47
Lines 2139 2145 +6
============================================
+ Hits 1677 1679 +2
- Misses 462 466 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
return true; | ||
} | ||
|
||
if ($parent->tagName === Tag::SCRIPT && $parent->hasAttribute(Attribute::TEMPLATE)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically this could also check if $parent->getAttribute('type') === 'text/plain'
:
if ($parent->tagName === Tag::SCRIPT && $parent->hasAttribute(Attribute::TEMPLATE)) { | |
if ($parent->tagName === Tag::SCRIPT && $parent->hasAttribute(Attribute::TEMPLATE) && $parent->getAttribute('type') === 'text/plain') { |
But that would be somewhat overkill since template
implies type=text/plain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think that would not add any benefit, but only add additional overhead and maybe even create false negatives in the worst case.
This PR updates the spec tests imported from the Node.JS toolbox and either fixes or ignores test breakage.
Follow-up issues for ignored tests: