From bdc12f9d1bf5acfb3535fa4a5a2bb6e4c1fe7fed Mon Sep 17 00:00:00 2001 From: Sam Thorogood Date: Wed, 6 Sep 2017 13:14:41 +1000 Subject: [PATCH] change TODO to willnotfix --- dialog-polyfill.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dialog-polyfill.js b/dialog-polyfill.js index efc6a6f..312647a 100644 --- a/dialog-polyfill.js +++ b/dialog-polyfill.js @@ -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)) {