Skip to content

Commit

Permalink
change TODO to willnotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
samthor committed Sep 6, 2017
1 parent 00f09fb commit bdc12f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dialog-polyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,8 @@
if (testForm.method !== 'dialog') {
var methodDescriptor = Object.getOwnPropertyDescriptor(HTMLFormElement.prototype, 'method');
if (methodDescriptor) {
// TODO: older iOS and older PhantomJS fail to return the descriptor here
// nb. Some older iOS and older PhantomJS fail to return the descriptor. Don't do anything
// and don't bother to update the element.
var realGet = methodDescriptor.get;
methodDescriptor.get = function() {
if (isFormMethodDialog(this)) {
Expand Down

0 comments on commit bdc12f9

Please sign in to comment.