[Webkit-unassigned] [Bug 165917] Fix memory leak in malformed test

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 20 09:01:27 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=165917

Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #297466|review?, commit-queue?      |review+, commit-queue+
              Flags|                            |

--- Comment #23 from Alexey Proskuryakov <ap at webkit.org> ---
Comment on attachment 297466
  --> https://bugs.webkit.org/attachment.cgi?id=297466
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=297466&action=review

> LayoutTests/http/tests/quicklook/hide-referer-on-navigation.html:7
> +    tapAtPointAndNotifyDone(document.getElementsByTagName('iframe')[0].offsetLeft + 5, document.getElementsByTagName('iframe')[0].offsetTop + 5)

It would be slightly nicer to store the result of document.getElementsByTagName('iframe')[0] in a local variable.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161220/0cbf668f/attachment.html>


More information about the webkit-unassigned mailing list