aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/parser
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-09-30 09:35:23 -0400
committerGitHub <noreply@github.com>2019-09-30 09:35:23 -0400
commit45b68ecbfc08738fd731383f6369725eef598105 (patch)
treea964cbcfb4e90a2e34ce8b157a79ad2ded34472b /components/script/dom/bindings/codegen/parser
parent402db83b2b19f33240b0db4cf07e0c9d056b1786 (diff)
parent6949052094e774bd56e39857f087ec531b241404 (diff)
downloadservo-45b68ecbfc08738fd731383f6369725eef598105.tar.gz
servo-45b68ecbfc08738fd731383f6369725eef598105.zip
Auto merge of #24316 - tokarzkj:set-body-is-too-strict, r=jdm
Change setBody to be less strict when getting the immediate child Step four of the dom document body calls for throwing an exception if no document element was found. The current setBody implementation was looking for a document element that is also an html element. It has been updated to use GetDocumentElement which returns any document element. - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #24291 <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24316) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/bindings/codegen/parser')
0 files changed, 0 insertions, 0 deletions