Skip to content

Commit 1b68912

Browse files
committed
rephrase comment as TODO
1 parent 9e63a09 commit 1b68912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dialog-polyfill.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@
638638
if (testForm.method !== 'dialog') {
639639
var methodDescriptor = Object.getOwnPropertyDescriptor(HTMLFormElement.prototype, 'method');
640640
if (methodDescriptor) {
641-
// 'method' doesn't exist in old versions of PhantomJS, don't replace it
641+
// TODO: older iOS and older PhantomJS fail to return the descriptor here
642642
var realGet = methodDescriptor.get;
643643
methodDescriptor.get = function() {
644644
if (isFormMethodDialog(this)) {

0 commit comments

Comments
 (0)