WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
159974
Fix null handling of HTMLMediaElement.mediaGroup
https://bugs.webkit.org/show_bug.cgi?id=159974
Summary
Fix null handling of HTMLMediaElement.mediaGroup
Chris Dumez
Reported
2016-07-20 09:41:19 PDT
Fix null handling of HTMLMediaElement.mediaGroup to match the specification: -
https://www.w3.org/TR/html5/embedded-content-0.html#media-elements
null is supposed to be treated as the String "null".
Attachments
Patch
(6.88 KB, patch)
2016-07-20 10:31 PDT
,
Chris Dumez
eric.carlson
: review+
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews126 for ios-simulator-wk2
(879.80 KB, application/zip)
2016-07-20 11:28 PDT
,
Build Bot
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2016-07-20 10:31:07 PDT
Created
attachment 284124
[details]
Patch
Build Bot
Comment 2
2016-07-20 11:28:43 PDT
Comment on
attachment 284124
[details]
Patch
Attachment 284124
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
http://webkit-queues.webkit.org/results/1715032
New failing tests: imported/w3c/web-platform-tests/html/dom/reflection-embedded.html
Build Bot
Comment 3
2016-07-20 11:28:48 PDT
Created
attachment 284129
[details]
Archive of layout-test-results from ews126 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews126 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.5
Chris Dumez
Comment 4
2016-07-20 12:12:07 PDT
(In reply to
comment #3
)
> Created
attachment 284129
[details]
> Archive of layout-test-results from ews126 for ios-simulator-wk2 > > The attached test failures were seen while running run-webkit-tests on the > ios-sim-ews. > Bot: ews126 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.5
ios has its own baseline. I'll rebaseline for iOS before landing.
Chris Dumez
Comment 5
2016-07-20 12:22:49 PDT
Committed
r203463
: <
http://trac.webkit.org/changeset/203463
>
Darin Adler
Comment 6
2016-07-20 14:52:35 PDT
Comment on
attachment 284124
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=284124&action=review
> Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:-4455 > - return ("valueToStringWithNullCheck(state, $value)", 1) if $signature->extendedAttributes->{"TreatNullAs"} eq "LegacyNullString";
What about valueToStringWithNullCheck? Is that function still used anywhere?
Chris Dumez
Comment 7
2016-07-20 14:53:55 PDT
(In reply to
comment #6
)
> Comment on
attachment 284124
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=284124&action=review
> > > Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:-4455 > > - return ("valueToStringWithNullCheck(state, $value)", 1) if $signature->extendedAttributes->{"TreatNullAs"} eq "LegacyNullString"; > > What about valueToStringWithNullCheck? Is that function still used anywhere?
Yes, in a couple of places. I am working on killing it though: ->
https://bugs.webkit.org/show_bug.cgi?id=159984
and another patch coming soon.
Chris Dumez
Comment 8
2016-07-20 15:05:19 PDT
(In reply to
comment #7
)
> (In reply to
comment #6
) > > Comment on
attachment 284124
[details]
> > Patch > > > > View in context: > >
https://bugs.webkit.org/attachment.cgi?id=284124&action=review
> > > > > Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:-4455 > > > - return ("valueToStringWithNullCheck(state, $value)", 1) if $signature->extendedAttributes->{"TreatNullAs"} eq "LegacyNullString"; > > > > What about valueToStringWithNullCheck? Is that function still used anywhere? > > Yes, in a couple of places. I am working on killing it though: > ->
https://bugs.webkit.org/show_bug.cgi?id=159984
> and another patch coming soon.
and
https://bugs.webkit.org/show_bug.cgi?id=159982
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug