Fix EME layout test as PromiseResolver objects no longer linger.
A recent CL (Blink revision 179922) changed the way JavaScript is run after resolving a promise (used to run immediately, now run by a microtask later). encrypted-media-lifetime-mediakeysession-reference.html started failing as it expected the PromiseResolver object to be around and counted. Fixing the test as the PromiseResolver object is gone by the time the JavaScript executes after resolving a promise. BUG=374772,378245 TEST=failing test passes Review URL: https://codereview.chromium.org/465833003 git-svn-id: svn://svn.chromium.org/blink/trunk@180121 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment