Skip to content

Make all plugin-related APIs no-ops - #6296

Merged
domenic merged 2 commits into
mainfrom
navigator-plugins-mimetypes
Feb 8, 2021
Merged

domenic merged 2 commits into
mainfrom
navigator-plugins-mimetypes

Conversation

@domenic

@domenic domenic commented Jan 15, 2021 •

Copy link
Copy Markdown
Member

@domenic domenic added the removal/deprecation Removing or deprecating a feature label Jan 15, 2021
@domenic domenic mentioned this pull request Jan 15, 2021
@domenic
domenic force-pushed the navigator-plugins-mimetypes branch from 6eb7e83 to abf3fea Compare January 15, 2021 20:30

@annevk annevk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks nice. I hope we can remove some of these interfaces down the line, but this is a great start.

Comment thread source Resolved
Comment thread source Resolved
@domenic
domenic force-pushed the navigator-plugins-mimetypes branch from abf3fea to 91587f4 Compare January 19, 2021 18:20

@annevk annevk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, a cleanup bug against Firefox would be nice. Will you also file a follow-up issue on Plugin and MimeType?

@annevk

annevk commented Jan 20, 2021

Copy link
Copy Markdown
Member

It might be worth waiting with landing this until Chrome is a bit further along, just to be sure.

@domenic

domenic commented Jan 22, 2021

Copy link
Copy Markdown
Member Author

@mfreed7 did your change to Chrome come with web platform tests?

@mfreed7

mfreed7 commented Jan 26, 2021

Copy link
Copy Markdown
Contributor

@mfreed7 did your change to Chrome come with web platform tests?

@domenic no, sorry, I didn't include any WPTs for this. I did make a layout test that could easily be converted to a WPT. Should I do that? I'm still in "monitoring" mode for this change, with some anticipation of PDF-related problems, due to this comment. But I'm happy to move that test over to WPT if you think it would be valuable now.

@domenic

domenic commented Jan 26, 2021

Copy link
Copy Markdown
Member Author

Yeah, converting that test would be ideal!

@domenic
domenic force-pushed the navigator-plugins-mimetypes branch from 91587f4 to 6494be3 Compare February 5, 2021 17:09
@domenic

domenic commented Feb 5, 2021

Copy link
Copy Markdown
Member Author

@mfreed7 ping on converting that layout test to a WPT?

@mfreed7

mfreed7 commented Feb 8, 2021

Copy link
Copy Markdown
Contributor

@mfreed7 ping on converting that layout test to a WPT?

Yep, thanks for the ping. I was waiting to see how back the fallout was for the original change, but it seems (??) like it might be ok. I'll convert this test to WPT today.

@domenic
domenic merged commit d4f07b8 into main Feb 8, 2021
@domenic
domenic deleted the navigator-plugins-mimetypes branch February 8, 2021 20:06
@saschanaz

saschanaz commented Feb 9, 2021 •

Copy link
Copy Markdown
Member

This removes indexed property getters and thus removes @@iterator. As it could cause webcompat issue, probably need to revive the getters?

Or maybe okay when we want to completely remove the interfaces. #6317

@domenic

domenic commented Feb 9, 2021

Copy link
Copy Markdown
Member Author

How could it cause web compat issues?

@saschanaz

saschanaz commented Feb 9, 2021 •

Copy link
Copy Markdown
Member

for (const plugin of navigator.plugins) {} may fail if anyone is doing it.

@domenic

domenic commented Feb 9, 2021

Copy link
Copy Markdown
Member Author

I'm not sure how worried we should be about that...

@saschanaz

Copy link
Copy Markdown
Member

@annevk said we probably want to keep it for now, but yeah, no data to prove whether it will be a real issue.

@annevk

annevk commented Feb 9, 2021

Copy link
Copy Markdown
Member

If Chrome is removing them I'd be happy for Firefox to follow, to be clear. But it does mean behavior changes for us, contrary to OP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

removal/deprecation Removing or deprecating a feature

Development

Successfully merging this pull request may close these issues.

5 participants