[TreatReturnedNullStringAsNull] is a typo of [TreatReturnedNullStringAs=Null]. But as far as I read the spec (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#attr-media-mediagroup), there is no statement about what value should be returned when HTMLMediaElement.mediaGroup is not yet initialized. In particular, there is no statement that says "null should be returned when HTMLMediaElement.mediaGroup is not initialized". Thus, I think that instead of fixing the typo, just removing [TreatReturnedNullStringAsNull] would make sense. Removing [TreatReturnedNullStringAsNull] does not change the current behavior.
Created attachment 127889 [details] Patch
Comment on attachment 127889 [details] Patch Can we add a test that verifies this behavior?
Created attachment 127905 [details] Patch
(In reply to comment #2) > (From update of attachment 127889 [details]) > Can we add a test that verifies this behavior? media/media-controller.html already has the test: testExpected("video.mediaGroup", ""); I added "Test: media/media-controller.html (No change in the test result)" to ChangeLog.
Comment on attachment 127905 [details] Patch I'd like to see green cr-linux.
Also, please take care of ChangeLog diff crash.
Comment on attachment 127905 [details] Patch Clearing flags on attachment: 127905 Committed r108305: <http://trac.webkit.org/changeset/108305>
All reviewed patches have been landed. Closing bug.
The mediaGroup IDL attribute on media elements must reflect the mediagroup content attribute. It's always initialised. There's no concept of it not being initialised.
(In reply to comment #9) > The mediaGroup IDL attribute on media elements must reflect the mediagroup content attribute. It's always initialised. There's no concept of it not being initialised. Hixie: Thanks for the clarification!