Web Inspector: adopt Object.awaitEvent in LayoutTests/inspector/page
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Sep 2016 20:46:42 +0000 (20:46 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Sep 2016 20:46:42 +0000 (20:46 +0000)
commita3cfad3059a03a86ac9c0771fa63392b3baa8c48
tree6644348babca38a7d8b22610aad9a49390040819
parentcc1ed6db571da0e87d8e6e9fb2745aebe95ece72
Web Inspector: adopt Object.awaitEvent in LayoutTests/inspector/page
https://bugs.webkit.org/show_bug.cgi?id=162100

Patch by Devin Rousso <dcrousso+webkit@gmail.com> on 2016-09-19
Reviewed by Brian Burg.

Replace instances of singleFireEventListener with awaitEvent and use promise logic to make
tests more readable.

* inspector/page/searchInResources.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@206114 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/inspector/page/searchInResources.html