-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix fullscreen polyfill for MSIE 11 #777
Fix fullscreen polyfill for MSIE 11 #777
Conversation
9f173d4
to
d718f2c
Compare
lib/polyfill/fullscreen.js
Outdated
var newEvent; | ||
if (typeof(Event) === 'function') { | ||
newEvent = new Event(eventType, /** @type {EventInit} */(event)); | ||
} else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a comment here that IE 11 does not have an Event constructor.
d718f2c
to
c627b0a
Compare
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
c627b0a
to
50d92b8
Compare
CLAs look good, thanks! |
I'm going to run this through the build bot now, but we will also need to do a manual test in our lab to confirm. Thanks! |
Testing in progress... |
All tests passed! |
I have confirmed that fullscreen on IE 11 throws when it tries to proxy the event. The build bot ran the linter, compiler, and all the automated tests. Looks good to me! |
I just confirmed the fix, which led me to #787. Thanks for the PR! |
Cherry-picked to v2.1.1 and v2.0.9. |
No description provided.