Web Inspector: adopt Object.awaitEvent in LayoutTests/inspector/model
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Sep 2016 17:28:51 +0000 (17:28 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Sep 2016 17:28:51 +0000 (17:28 +0000)
commit0bafaae4c590afd3f05b0e44a149118ed2c8c790
treeb9491d3684d2e803f468d2a8a2be59c1567907f3
parent8748130f276642f6d0ed2934ac94ddd72332c1f7
Web Inspector: adopt Object.awaitEvent in LayoutTests/inspector/model
https://bugs.webkit.org/show_bug.cgi?id=162074

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

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

* inspector/model/frame-extra-scripts.html:
* inspector/model/scope-chain-node.html:
* inspector/model/script-resource-relationship-expected.txt:
* inspector/model/script-resource-relationship.html:
* inspector/model/stack-trace.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@206152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/inspector/model/frame-extra-scripts.html
LayoutTests/inspector/model/scope-chain-node.html
LayoutTests/inspector/model/script-resource-relationship-expected.txt
LayoutTests/inspector/model/script-resource-relationship.html
LayoutTests/inspector/model/stack-trace.html