DevTools: Fix tests that rely on onceAttachedToTarget
onceAttachedToTarget needs to be run before the thing that causes the target creation otherwise it will race with the creation, which could occur after e.g. the evaluate() call and before the onceAttached() call. Change-Id: I26cd5d9d6fdd993fcb0a38c28923870b0e5c8e69 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1944467 Auto-Submit: Peter Marshall <petermarshall@chromium.org> Reviewed-by:Mathias Bynens <mathias@chromium.org> Commit-Queue: Peter Marshall <petermarshall@chromium.org> Cr-Commit-Position: refs/heads/master@{#720184}
Showing
Please register or sign in to comment