Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up`Function.prototype.toString` revision #664
Comments
mathiasbynens
closed this
Aug 12, 2016
This was referenced Aug 12, 2016
domenic
added
the
web reality
label
Aug 12, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
domenic
Aug 15, 2016
Member
Let's leave this open until the proposal has been merged into the main spec, so that people looking at https://github.com/tc39/ecma262/labels/web%20reality can get a better view.
|
Let's leave this open until the proposal has been merged into the main spec, so that people looking at https://github.com/tc39/ecma262/labels/web%20reality can get a better view. |
domenic
reopened this
Aug 15, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
littledan
Aug 17, 2016
Member
I don't think @michaelficarra 's proposal reflects current web reality, as it is not what any particular browser currently ships, as far as I know.
|
I don't think @michaelficarra 's proposal reflects current web reality, as it is not what any particular browser currently ships, as far as I know. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
ljharb
Aug 17, 2016
Member
My understanding is that there is a significant percentage that intersects web reality, and for the rest, there isn't cross-browser agreement.
@michaelficarra could you post/point to the data from your presentation about that?
|
My understanding is that there is a significant percentage that intersects web reality, and for the rest, there isn't cross-browser agreement. @michaelficarra could you post/point to the data from your presentation about that? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
michaelficarra
Aug 18, 2016
Member
Yeah, I don't think that the Function.prototype.toString proposal differs from web reality. It just makes even stronger guarantees than both what was specified and what exists in implementations.
|
Yeah, I don't think that the Function.prototype.toString proposal differs from web reality. It just makes even stronger guarantees than both what was specified and what exists in implementations. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
michaelficarra
Aug 18, 2016
Member
By the way, this is why we have stage 3. We're waiting on implementation feedback to confirm that this is both technically feasible and web compatible before moving it to stage 4.
|
By the way, this is why we have stage 3. We're waiting on implementation feedback to confirm that this is both technically feasible and web compatible before moving it to stage 4. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
bakkot
Aug 18, 2016
Contributor
fwiw, I believe the proposal disagrees from web reality in its treatment of source text occurring prior to the formal parameters in normal function expressions and declarations.
|
fwiw, I believe the proposal disagrees from web reality in its treatment of source text occurring prior to the formal parameters in normal function expressions and declarations. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
michaelficarra
Aug 18, 2016
Member
@bakkot That's right. I should have said that I believe it is web compatible. So technically different, but not in a way that will break a meaningful number of web pages. But we'll have to wait for implementation feedback (hint, nudge, wink, etc.) before we know this to be true.
|
@bakkot That's right. I should have said that I believe it is web compatible. So technically different, but not in a way that will break a meaningful number of web pages. But we'll have to wait for implementation feedback (hint, nudge, wink, etc.) before we know this to be true. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
bakkot
Aug 18, 2016
Contributor
Sure. Just wanted to clarify that "for the rest, there isn't cross-browser agreement" wasn't quite right.
|
Sure. Just wanted to clarify that "for the rest, there isn't cross-browser agreement" wasn't quite right. |

mathiasbynens commentedAug 12, 2016
https://github.com/tc39/Function-prototype-toString-revision by @michaelficarra
Please tag this issue with the “web reality” label. Thanks!