Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Issue 209443009: Delete Promises Layout Tests. (Closed)

Created:
6 years, 9 months ago by yhirano
Modified:
6 years, 6 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Delete Promises Layout Tests. Promises are now implemented tested in V8. I delete Promises tests except for tests testing ScriptPromise or ScriptPromiseResolver. BUG=352597 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169916

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -1760 lines) Patch
D LayoutTests/fast/js/Promise-already-rejected.html View 1 chunk +0 lines, -29 lines 0 comments Download
D LayoutTests/fast/js/Promise-already-rejected-expected.txt View 1 chunk +0 lines, -9 lines 0 comments Download
D LayoutTests/fast/js/Promise-already-resolved.html View 1 chunk +0 lines, -32 lines 0 comments Download
D LayoutTests/fast/js/Promise-already-resolved-expected.txt View 1 chunk +0 lines, -9 lines 0 comments Download
D LayoutTests/fast/js/Promise-catch.html View 1 chunk +0 lines, -52 lines 0 comments Download
D LayoutTests/fast/js/Promise-catch-expected.txt View 1 chunk +0 lines, -20 lines 0 comments Download
D LayoutTests/fast/js/Promise-catch-in-workers.html View 1 chunk +0 lines, -13 lines 0 comments Download
D LayoutTests/fast/js/Promise-catch-in-workers-expected.txt View 1 chunk +0 lines, -21 lines 0 comments Download
D LayoutTests/fast/js/Promise-chain.html View 1 chunk +0 lines, -67 lines 0 comments Download
D LayoutTests/fast/js/Promise-chain-expected.txt View 1 chunk +0 lines, -19 lines 0 comments Download
D LayoutTests/fast/js/Promise-exception.html View 1 chunk +0 lines, -36 lines 0 comments Download
D LayoutTests/fast/js/Promise-exception-expected.txt View 1 chunk +0 lines, -11 lines 0 comments Download
D LayoutTests/fast/js/Promise-init.html View 1 chunk +0 lines, -54 lines 0 comments Download
D LayoutTests/fast/js/Promise-init-callback-receiver.html View 1 chunk +0 lines, -27 lines 0 comments Download
D LayoutTests/fast/js/Promise-init-callback-receiver-expected.txt View 1 chunk +0 lines, -10 lines 0 comments Download
D LayoutTests/fast/js/Promise-init-expected.txt View 1 chunk +0 lines, -20 lines 0 comments Download
D LayoutTests/fast/js/Promise-init-in-workers.html View 1 chunk +0 lines, -13 lines 0 comments Download
D LayoutTests/fast/js/Promise-init-in-workers-expected.txt View 1 chunk +0 lines, -21 lines 0 comments Download
D LayoutTests/fast/js/Promise-onFulfilled-deep.html View 1 chunk +0 lines, -31 lines 0 comments Download
D LayoutTests/fast/js/Promise-onFulfilled-deep-expected.txt View 1 chunk +0 lines, -10 lines 0 comments Download
D LayoutTests/fast/js/Promise-onRejected-deep.html View 1 chunk +0 lines, -31 lines 0 comments Download
D LayoutTests/fast/js/Promise-onRejected-deep-expected.txt View 1 chunk +0 lines, -10 lines 0 comments Download
D LayoutTests/fast/js/Promise-reject.html View 1 chunk +0 lines, -43 lines 0 comments Download
D LayoutTests/fast/js/Promise-reject-expected.txt View 1 chunk +0 lines, -12 lines 0 comments Download
D LayoutTests/fast/js/Promise-reject-in-workers.html View 1 chunk +0 lines, -13 lines 0 comments Download
D LayoutTests/fast/js/Promise-reject-in-workers-expected.txt View 1 chunk +0 lines, -13 lines 0 comments Download
D LayoutTests/fast/js/Promise-resolve.html View 1 chunk +0 lines, -32 lines 0 comments Download
D LayoutTests/fast/js/Promise-resolve-chain.html View 1 chunk +0 lines, -49 lines 0 comments Download
D LayoutTests/fast/js/Promise-resolve-chain-expected.txt View 1 chunk +0 lines, -10 lines 0 comments Download
D LayoutTests/fast/js/Promise-resolve-expected.txt View 1 chunk +0 lines, -11 lines 0 comments Download
D LayoutTests/fast/js/Promise-resolve-in-workers.html View 1 chunk +0 lines, -13 lines 0 comments Download
D LayoutTests/fast/js/Promise-resolve-in-workers-expected.txt View 1 chunk +0 lines, -12 lines 0 comments Download
D LayoutTests/fast/js/Promise-resolve-state.html View 1 chunk +0 lines, -43 lines 0 comments Download
D LayoutTests/fast/js/Promise-resolve-state-expected.txt View 1 chunk +0 lines, -12 lines 0 comments Download
D LayoutTests/fast/js/Promise-resolve-state-in-workers.html View 1 chunk +0 lines, -13 lines 0 comments Download
D LayoutTests/fast/js/Promise-resolve-state-in-workers-expected.txt View 1 chunk +0 lines, -13 lines 0 comments Download
D LayoutTests/fast/js/Promise-resolve-with-itself.html View 1 chunk +0 lines, -29 lines 0 comments Download
D LayoutTests/fast/js/Promise-resolve-with-itself-expected.txt View 1 chunk +0 lines, -10 lines 0 comments Download
D LayoutTests/fast/js/Promise-resolve-with-then-exception.html View 1 chunk +0 lines, -33 lines 0 comments Download
D LayoutTests/fast/js/Promise-resolve-with-then-exception-expected.txt View 1 chunk +0 lines, -11 lines 0 comments Download
D LayoutTests/fast/js/Promise-resolve-with-then-fulfill.html View 1 chunk +0 lines, -37 lines 0 comments Download
D LayoutTests/fast/js/Promise-resolve-with-then-fulfill-expected.txt View 1 chunk +0 lines, -13 lines 0 comments Download
D LayoutTests/fast/js/Promise-resolve-with-then-reject.html View 1 chunk +0 lines, -37 lines 0 comments Download
D LayoutTests/fast/js/Promise-resolve-with-then-reject-expected.txt View 1 chunk +0 lines, -13 lines 0 comments Download
D LayoutTests/fast/js/Promise-simple.html View 1 chunk +0 lines, -37 lines 0 comments Download
D LayoutTests/fast/js/Promise-simple-expected.txt View 1 chunk +0 lines, -13 lines 0 comments Download
D LayoutTests/fast/js/Promise-simple-in-workers.html View 1 chunk +0 lines, -13 lines 0 comments Download
D LayoutTests/fast/js/Promise-simple-in-workers-expected.txt View 1 chunk +0 lines, -14 lines 0 comments Download
D LayoutTests/fast/js/Promise-simple-resolve.html View 1 chunk +0 lines, -26 lines 0 comments Download
D LayoutTests/fast/js/Promise-simple-resolve-expected.txt View 1 chunk +0 lines, -9 lines 0 comments Download
D LayoutTests/fast/js/Promise-static-all.html View 1 chunk +0 lines, -104 lines 0 comments Download
D LayoutTests/fast/js/Promise-static-all-expected.txt View 1 chunk +0 lines, -32 lines 0 comments Download
D LayoutTests/fast/js/Promise-static-cast.html View 1 chunk +0 lines, -44 lines 0 comments Download
D LayoutTests/fast/js/Promise-static-cast-expected.txt View 1 chunk +0 lines, -14 lines 0 comments Download
D LayoutTests/fast/js/Promise-static-race.html View 1 chunk +0 lines, -97 lines 0 comments Download
D LayoutTests/fast/js/Promise-static-race-expected.txt View 1 chunk +0 lines, -19 lines 0 comments Download
D LayoutTests/fast/js/Promise-static-reject.html View 1 chunk +0 lines, -26 lines 0 comments Download
D LayoutTests/fast/js/Promise-static-reject-expected.txt View 1 chunk +0 lines, -10 lines 0 comments Download
D LayoutTests/fast/js/Promise-static-resolve.html View 1 chunk +0 lines, -31 lines 0 comments Download
D LayoutTests/fast/js/Promise-static-resolve-expected.txt View 1 chunk +0 lines, -10 lines 0 comments Download
D LayoutTests/fast/js/Promise-then.html View 1 chunk +0 lines, -58 lines 0 comments Download
D LayoutTests/fast/js/Promise-then-callback-receiver.html View 1 chunk +0 lines, -60 lines 0 comments Download
D LayoutTests/fast/js/Promise-then-callback-receiver-expected.txt View 1 chunk +0 lines, -16 lines 0 comments Download
D LayoutTests/fast/js/Promise-then-expected.txt View 1 chunk +0 lines, -20 lines 0 comments Download
D LayoutTests/fast/js/Promise-then-in-workers.html View 1 chunk +0 lines, -13 lines 0 comments Download
D LayoutTests/fast/js/Promise-then-in-workers-expected.txt View 1 chunk +0 lines, -21 lines 0 comments Download
D LayoutTests/fast/js/Promise-then-without-callbacks.html View 1 chunk +0 lines, -24 lines 0 comments Download
D LayoutTests/fast/js/Promise-then-without-callbacks-expected.txt View 1 chunk +0 lines, -9 lines 0 comments Download
D LayoutTests/fast/js/Promise-then-without-callbacks-in-workers.html View 1 chunk +0 lines, -13 lines 0 comments Download
D LayoutTests/fast/js/Promise-then-without-callbacks-in-workers-expected.txt View 1 chunk +0 lines, -10 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
yhirano
6 years, 9 months ago (2014-03-25 06:28:31 UTC) #1
jochen (gone - plz use gerrit)
lgtm
6 years, 9 months ago (2014-03-25 06:29:08 UTC) #2
yhirano
The CQ bit was checked by yhirano@chromium.org
6 years, 9 months ago (2014-03-25 06:30:27 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/209443009/1
6 years, 9 months ago (2014-03-25 06:30:28 UTC) #4
commit-bot: I haz the power
Change committed as 169916
6 years, 9 months ago (2014-03-25 07:39:56 UTC) #5
adamk
I just noticed this patch as I was trying to change some code in ScriptPromiseResolverWithContext. ...
6 years, 7 months ago (2014-05-27 23:29:36 UTC) #6
jochen (gone - plz use gerrit)
On 2014/05/27 23:29:36, adamk wrote: > I just noticed this patch as I was trying ...
6 years, 6 months ago (2014-05-28 12:50:50 UTC) #7
yhirano
On 2014/05/28 12:50:50, jochen wrote: > On 2014/05/27 23:29:36, adamk wrote: > > I just ...
6 years, 6 months ago (2014-05-29 02:22:24 UTC) #8
adamk
6 years, 6 months ago (2014-05-30 22:30:46 UTC) #9
On Wed, May 28, 2014 at 7:22 PM, <yhirano@chromium.org> wrote:

> On 2014/05/28 12:50:50, jochen wrote:
>
>> On 2014/05/27 23:29:36, adamk wrote:
>> > I just noticed this patch as I was trying to change some code in
>> > ScriptPromiseResolverWithContext.
>> >
>> > Do we have any tests of Promise behavior in workers? This patch removed
>> all
>> the
>> > ones I could find...
>>
>
>  we moved those tests to v8, as they're purely javascript
>>
>
>  maybe we should just add them back as they're now also exercising the
>> interaction with the dom microtask queue?
>>
>
> Are you talking about Promise or ScriptPromiseResolverWithContext?
> Adding a few simple tests that use Promise to check if Microtask is working
> seems reasonable.
> There are some DOM objects that use ScriptPromiseResolverWtihContext in a
> worker
> thread, for example fast/canvas/canvas-createImageBitmap-blob-in-workers .
>

To close this thread, I found the canvas test you pointed at to be
sufficient for exercising ScriptPromiseResolverWithContext in a worker. I
think it's probably best to not have promise-specific, but rather
features-that-use-promise-specific LayoutTests, like this one. So the
decision to remove the tests originally seems fine to me.

One more thing: it looks like a few JS files got left behind when these
tests were removed, so I might send out another Cl to delete those (in
fast/js/resources/*promise*)

To unsubscribe from this group and stop receiving emails from it, send an email
to blink-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698