WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
191574
Include AirPlay destination name in AirPlay placard.
https://bugs.webkit.org/show_bug.cgi?id=191574
Summary
Include AirPlay destination name in AirPlay placard.
Jeremy Jones
Reported
2018-11-12 18:15:30 PST
Include tv name in AirPlay placard.
Attachments
Patch
(4.00 KB, patch)
2018-11-12 18:21 PST
,
Jeremy Jones
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews101 for mac-sierra
(2.53 MB, application/zip)
2018-11-12 19:01 PST
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews104 for mac-sierra-wk2
(3.33 MB, application/zip)
2018-11-12 19:17 PST
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews116 for mac-sierra
(3.82 MB, application/zip)
2018-11-12 21:03 PST
,
EWS Watchlist
no flags
Details
Patch
(5.33 KB, patch)
2018-11-13 13:59 PST
,
Jeremy Jones
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews103 for mac-sierra
(2.37 MB, application/zip)
2018-11-13 15:27 PST
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews123 for ios-simulator-wk2
(2.51 MB, application/zip)
2018-11-13 15:54 PST
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews106 for mac-sierra-wk2
(3.88 MB, application/zip)
2018-11-13 16:22 PST
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews114 for mac-sierra
(3.44 MB, application/zip)
2018-11-13 16:39 PST
,
EWS Watchlist
no flags
Details
Patch
(8.27 KB, patch)
2018-11-14 12:09 PST
,
Jeremy Jones
eric.carlson
: review+
Details
Formatted Diff
Diff
Patch for landing.
(8.30 KB, patch)
2018-11-16 11:54 PST
,
Jeremy Jones
no flags
Details
Formatted Diff
Diff
Show Obsolete
(9)
View All
Add attachment
proposed patch, testcase, etc.
Jeremy Jones
Comment 1
2018-11-12 18:17:35 PST
rdar://problem/45536144
Jeremy Jones
Comment 2
2018-11-12 18:21:12 PST
Created
attachment 354617
[details]
Patch
EWS Watchlist
Comment 3
2018-11-12 19:01:12 PST
Comment on
attachment 354617
[details]
Patch
Attachment 354617
[details]
did not pass mac-ews (mac): Output:
https://webkit-queues.webkit.org/results/9966587
New failing tests: media/modern-media-controls/airplay-support/airplay-support.html media/modern-media-controls/placard-support/placard-support-airplay.html media/modern-media-controls/placard-support/placard-support-airplay-fullscreen.html
EWS Watchlist
Comment 4
2018-11-12 19:01:14 PST
Created
attachment 354624
[details]
Archive of layout-test-results from ews101 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 5
2018-11-12 19:17:42 PST
Comment on
attachment 354617
[details]
Patch
Attachment 354617
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
https://webkit-queues.webkit.org/results/9966707
New failing tests: media/modern-media-controls/airplay-support/airplay-support.html media/modern-media-controls/placard-support/placard-support-airplay.html media/modern-media-controls/placard-support/placard-support-airplay-fullscreen.html
EWS Watchlist
Comment 6
2018-11-12 19:17:44 PST
Created
attachment 354625
[details]
Archive of layout-test-results from ews104 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 7
2018-11-12 21:03:41 PST
Comment on
attachment 354617
[details]
Patch
Attachment 354617
[details]
did not pass mac-debug-ews (mac): Output:
https://webkit-queues.webkit.org/results/9967354
New failing tests: media/modern-media-controls/airplay-support/airplay-support.html media/modern-media-controls/placard-support/placard-support-airplay.html media/modern-media-controls/placard-support/placard-support-airplay-fullscreen.html
EWS Watchlist
Comment 8
2018-11-12 21:03:43 PST
Created
attachment 354643
[details]
Archive of layout-test-results from ews116 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews116 Port: mac-sierra Platform: Mac OS X 10.12.6
Antoine Quint
Comment 9
2018-11-13 00:40:24 PST
Comment on
attachment 354617
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=354617&action=review
I think we can now remove "This video is playing on your Apple TV" from the localized string and remove the description set in the AirplayPlacard constructor. r- because of the test regressions.
> Source/WebCore/Modules/modern-media-controls/media/placard-support.js:77 > + var type = this.mediaController.host.externalDeviceType;
We should be using a switch here, assuming there's a known list of options returned by externalDeviceType.
> Source/WebCore/Modules/modern-media-controls/media/placard-support.js:79 > + deviceName = UIString("This video is playing on â%sâ.", this.mediaController.host.externalDeviceDisplayName || "Apple TV");
I think "Apple TV" needs to be added as a localized string.
> Source/WebCore/en.lproj/modern-media-controls-localized-strings.js:3 > + "This video is playing on the TV.": "This video is playing on the TV.",
These should be alphabetically sorted.
Jeremy Jones
Comment 10
2018-11-13 10:57:34 PST
Comment on
attachment 354617
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=354617&action=review
>> Source/WebCore/Modules/modern-media-controls/media/placard-support.js:77 >> + var type = this.mediaController.host.externalDeviceType; > > We should be using a switch here, assuming there's a known list of options returned by externalDeviceType.
Done.
>> Source/WebCore/Modules/modern-media-controls/media/placard-support.js:79 >> + deviceName = UIString("This video is playing on â%sâ.", this.mediaController.host.externalDeviceDisplayName || "Apple TV"); > > I think "Apple TV" needs to be added as a localized string.
Done.
>> Source/WebCore/en.lproj/modern-media-controls-localized-strings.js:3 >> + "This video is playing on the TV.": "This video is playing on the TV.", > > These should be alphabetically sorted.
Done.
Jeremy Jones
Comment 11
2018-11-13 10:58:57 PST
(In reply to Antoine Quint from
comment #9
)
> Comment on
attachment 354617
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=354617&action=review
> > I think we can now remove "This video is playing on your Apple TV" from the > localized string and remove the description set in the AirplayPlacard > constructor. >
Done.
Jeremy Jones
Comment 12
2018-11-13 13:59:15 PST
Created
attachment 354701
[details]
Patch
EWS Watchlist
Comment 13
2018-11-13 15:27:21 PST
Comment on
attachment 354701
[details]
Patch
Attachment 354701
[details]
did not pass mac-ews (mac): Output:
https://webkit-queues.webkit.org/results/9977822
New failing tests: media/modern-media-controls/airplay-placard/airplay-placard.html media/modern-media-controls/airplay-placard/airplay-placard-text-section.html media/modern-media-controls/media-controls/media-controls-placard-compressed-metrics.html
EWS Watchlist
Comment 14
2018-11-13 15:27:22 PST
Created
attachment 354711
[details]
Archive of layout-test-results from ews103 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 15
2018-11-13 15:54:12 PST
Comment on
attachment 354701
[details]
Patch
Attachment 354701
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
https://webkit-queues.webkit.org/results/9977789
New failing tests: media/modern-media-controls/airplay-placard/airplay-placard.html media/modern-media-controls/airplay-placard/airplay-placard-text-section.html media/modern-media-controls/media-controls/media-controls-placard-compressed-metrics.html
EWS Watchlist
Comment 16
2018-11-13 15:54:14 PST
Created
attachment 354717
[details]
Archive of layout-test-results from ews123 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews123 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.6
EWS Watchlist
Comment 17
2018-11-13 16:22:44 PST
Comment on
attachment 354701
[details]
Patch
Attachment 354701
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
https://webkit-queues.webkit.org/results/9978390
New failing tests: media/modern-media-controls/airplay-placard/airplay-placard.html media/modern-media-controls/airplay-placard/airplay-placard-text-section.html media/modern-media-controls/media-controls/media-controls-placard-compressed-metrics.html
EWS Watchlist
Comment 18
2018-11-13 16:22:46 PST
Created
attachment 354723
[details]
Archive of layout-test-results from ews106 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 19
2018-11-13 16:39:13 PST
Comment on
attachment 354701
[details]
Patch
Attachment 354701
[details]
did not pass mac-debug-ews (mac): Output:
https://webkit-queues.webkit.org/results/9978359
New failing tests: media/modern-media-controls/airplay-placard/airplay-placard.html media/modern-media-controls/airplay-placard/airplay-placard-text-section.html media/modern-media-controls/media-controls/media-controls-placard-compressed-metrics.html
EWS Watchlist
Comment 20
2018-11-13 16:39:15 PST
Created
attachment 354727
[details]
Archive of layout-test-results from ews114 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews114 Port: mac-sierra Platform: Mac OS X 10.12.6
Jeremy Jones
Comment 21
2018-11-14 12:09:19 PST
Created
attachment 354842
[details]
Patch
Eric Carlson
Comment 22
2018-11-14 15:19:38 PST
Comment on
attachment 354842
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=354842&action=review
> Source/WebCore/ChangeLog:3 > + Include tv name in AirPlay placard.
Nit: a/tv/TV/
Jeremy Jones
Comment 23
2018-11-16 11:54:50 PST
Created
attachment 355091
[details]
Patch for landing.
WebKit Commit Bot
Comment 24
2018-11-16 14:55:33 PST
Comment on
attachment 355091
[details]
Patch for landing. Clearing flags on attachment: 355091 Committed
r238307
: <
https://trac.webkit.org/changeset/238307
>
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