diff --git a/dialog-polyfill.js b/dialog-polyfill.js index def1234..efc6a6f 100644 --- a/dialog-polyfill.js +++ b/dialog-polyfill.js @@ -638,7 +638,7 @@ if (testForm.method !== 'dialog') { var methodDescriptor = Object.getOwnPropertyDescriptor(HTMLFormElement.prototype, 'method'); if (methodDescriptor) { - // 'method' doesn't exist in old versions of PhantomJS, don't replace it + // TODO: older iOS and older PhantomJS fail to return the descriptor here var realGet = methodDescriptor.get; methodDescriptor.get = function() { if (isFormMethodDialog(this)) {