'display' was recently added to the permissions spec for screen capture (https://github.com/w3c/permissions/pull/184). Require <iframe allow="display"> for an iframe to use getDisplayMedia.
<rdar://problem/45968811>
Created attachment 354463 [details] Patch
Created attachment 354468 [details] Patch
Comment on attachment 354468 [details] Patch Attachment 354468 [details] did not pass mac-wk2-ews (mac-wk2): Output: https://webkit-queues.webkit.org/results/9941440 New failing tests: http/tests/media/media-stream/get-display-media-iframe-allow-attribute.html
Created attachment 354473 [details] Archive of layout-test-results from ews107 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
Created attachment 354517 [details] Patch
Comment on attachment 354517 [details] Patch Attachment 354517 [details] did not pass mac-wk2-ews (mac-wk2): Output: https://webkit-queues.webkit.org/results/9952769 New failing tests: http/tests/media/media-stream/get-display-media-iframe-allow-attribute.html
Created attachment 354521 [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
Created attachment 354554 [details] Patch
Comment on attachment 354554 [details] Patch Attachment 354554 [details] did not pass mac-wk2-ews (mac-wk2): Output: https://webkit-queues.webkit.org/results/9958042 New failing tests: http/tests/media/media-stream/get-display-media-iframe-allow-attribute.html
Created attachment 354557 [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
Created attachment 354558 [details] Patch
Comment on attachment 354558 [details] Patch Clearing flags on attachment: 354558 Committed r238091: <https://trac.webkit.org/changeset/238091>
All reviewed patches have been landed. Closing bug.