Bug 178607

Summary: Fix conditions in HTMLSourceElement and HTMLTrackElement's insertedInto and removedFrom
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: MediaAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, calvaris, cdumez, eric.carlson, esprehn+autocc, gyuyoung.kim, philipj, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Cleanup
none
Wrote change log eric.carlson: review+

Description Ryosuke Niwa 2017-10-20 16:10:18 PDT
Right now, HTMLSourceElement and HTMLTrackElement's insertedInto and removedFrom contain obviously wrong code.
Fix them as I've learned these elements are only effective when they're a direct child of HTMLMediaElement.
Comment 1 Ryosuke Niwa 2017-10-20 16:15:49 PDT
Created attachment 324462 [details]
Cleanup
Comment 2 Build Bot 2017-10-20 16:17:28 PDT
Attachment 324462 [details] did not pass style-queue:


ERROR: Source/WebCore/ChangeLog:8:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
Total errors found: 1 in 3 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Ryosuke Niwa 2017-10-20 16:19:53 PDT
Created attachment 324463 [details]
Wrote change log
Comment 4 Ryosuke Niwa 2017-10-20 16:51:41 PDT
Thanks for the review!
Comment 5 Ryosuke Niwa 2017-10-20 17:03:20 PDT
Committed r223801: <https://trac.webkit.org/changeset/223801>
Comment 6 Radar WebKit Bug Importer 2017-11-15 13:01:45 PST
<rdar://problem/35568638>