From 1b68912846f089ed21c5fb0e1ae0694a07dbfac0 Mon Sep 17 00:00:00 2001 From: Sam Thorogood Date: Tue, 15 Aug 2017 15:10:42 +0100 Subject: [PATCH] rephrase comment as TODO --- dialog-polyfill.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {