New issue
Advanced search Search tips

Issue 657751 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Nov 9
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Feature



Sign in to add a comment

Check Javascript streams implementation with Closure compiler

Project Member Reported by ricea@chromium.org, Oct 20 2016

Issue description

Chromium has infrastructure to check Javascript files with the Closure compiler. See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_compilation.md

This can be useful for finding bugs in our implementation, eg.  issue 657743 .

It can be run manually and is also run automatically by a try bot.

Unfortunately, this is currently blocked by an issue with using Symbol types in the Closure compiler: https://github.com/google/closure-compiler/issues/1737

Other issues (probably solvable):
* Closure complains that the file consists of a single statement with no side effects. It *is* pretty weird now that I think about it.
* Closure is picking up another definition of ReadableStream from somewhere and complaining that we're redefining it. 

Other issues (A Small Matter Of Work):
* Closure wants a definition of the v8 interface provided by V8 Extras.
 
Project Member

Comment 1 by sheriffbot@chromium.org, Oct 20 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 2 by ricea@chromium.org, Oct 23 2017

Labels: -Hotlist-Recharge-Cold
Owner: ricea@chromium.org
Status: Assigned (was: Untriaged)

Comment 3 by ricea@chromium.org, Nov 8 2017

Owner: ----
Status: Available (was: Assigned)
Now that we have an eslint presubmit, there's probably little incremental benefit in using Closure as well.

I'm tempted to close this, but I'll make it available in case someone else wants to pick it up.
Project Member

Comment 4 by sheriffbot@chromium.org, Nov 8

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: WontFix (was: Untriaged)
We're going to provide type-safety and compile-time checking by porting the implementation to C++. See issue 902633. As such, this issue is obsolete.

Sign in to add a comment