| Tweets |
|
Boris
@bz_moz
|
Jan 28 |
|
Yep, I saw that PR, and of course the issue it's filed based on. Haven't had a chance to look at the PR carefully yet, and probably will not until next week, unfortunately.
|
||
|
|
||
|
Boris
@bz_moz
|
Jan 27 |
|
There are some issues with JSON serialization, etc, but those might be solvable with toJSON methods, maybe. Anyway, as an interim step to a future in which there's a real Array here in some way (but one that prevents "illegal mutations" somehow) this seems totally doable.
|
||
|
|
||
|
Boris
@bz_moz
|
Jan 27 |
|
If we _really_ cared we could even put Array.prototype on the proto chain (and in fact Gecko did that for some things for a while), but that depends on how we want instanceof to behave.
|
||
|
|
||
|
Boris
@bz_moz
|
Jan 27 |
|
`push` should Just Work, I think, as long as the indexed property setter steps for the type allow index == length. This general thing has been proposed in the past but shot down for reasons that are eluding me right now, probably because it's not "real array" enough...
|
||
|
|
||
|
Boris
@bz_moz
|
Jan 27 |
|
That is quite doable. IDL already specs that certain Array.prototype methods are copied to the proto of things with indexed props. We could copy more. There are some issue with `concat`, but I think @@isConcatSpreadable lets us solve those.
|
||
|
|
||
|
Boris
@bz_moz
|
Jan 27 |
|
Of course that's not actually an issue in the semantics Chrome implements for FrozenArray, which don't match the IDL spec for FrozenArray. No one else implements FrozenArray at all. And saying "the API shape webidl recommends" while implementing something else is odd too. ;)
|
||
|
|
||
|
Boris
@bz_moz
|
Jan 27 |
|
And yes, the constructable stylesheets spec author _also_ misused it (see "hard to properly use"). I filed github.com/WICG/construct… on this a month and a half ago; crickets so far...
|
||
|
|
||
|
Boris
@bz_moz
|
Jan 27 |
|
We really do just need to solve the issues we've failed to solve these last 10+ years, and FrozenArray is not that solutions.
|
||
|
|
||
|
Boris
@bz_moz
|
Jan 27 |
|
Fwiw, FrozenArray as currently specced in Web IDL has all _sorts_ of issues. It's hard to propely use as a spec author, no one actually implements the currently specced semantics (because they are moderately insane), and it's not great for API consumers.
|
||
|
|
||
|
Boris
@bz_moz
|
Jan 14 |
|
8 char caps? Who are these people???? I mean, highly successful trading companies, but still....
|
||
|
|
||
|
Boris
@bz_moz
|
Jan 14 |
|
Yes.... I thought that was a _non_-goal with passwords? ;)
|
||
|
|
||
|
Boris
@bz_moz
|
Jan 14 |
|
That presupposes they put my password, in raw form, in an SQL database. Which I _really_ hope they are not doing, but given everything else, who knows...
|
||
|
|
||
|
Boris
@bz_moz
|
Jan 14 |
|
Password: (1) Must contain only letters and numbers (2) Must be 8-15 characters long.
Why do banks have these dumb rules? :( And yes, this one doesn't even allow '-', much less spaces.
|
||
|
|
||
|
Boris
@bz_moz
|
Jan 13 |
|
That was my reaction too!
|
||
|
|
||
|
Boris
@bz_moz
|
Jan 11 |
|
It's still there, constant-false. Sites depend on it for browser-sniffing and if we remove it start relying on Blink/WebKit bugs... :(
|
||
|
|
||
|
Boris
@bz_moz
|
Jan 9 |
|
It's been a long road. ;)
|
||
|
|
||
|
Boris
@bz_moz
|
Jan 9 |
|
That was sort of my reaction too, and I knew people were actively working on it!
|
||
|
|
||
|
Boris
@bz_moz
|
Jan 9 |
|
Subject: [Bug 1448967] Remove enablePrivilege
...
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Paging old Gecko hands for celebrations.
|
||
|
|
||
|
Boris
@bz_moz
|
Dec 23 |
|
That's fine, because I never type that hostname. I search via my browser's search bar, and that's set to a different search engine anyway. ;)
|
||
|
|
||
|
Boris
@bz_moz
|
Dec 23 |
|
Turns it's a PITA to use modern distributed version control on a keyboard with a 'g' key that doesn't register presses half the time. So close to `alias it="git"` and `alias h="hg"`... Also very glad my next laptop will not have a butterfly keyboard.
|
||
|
|
||