00:37
<zewt>
attempts at isolating firefox 29 chewing cpu constantly: fruitless
00:38
<zewt>
seems like it's just a small, constant amount of cpu per tab (and I have lots of tabs), since no matter how I close blocks of tabs, cpu usage drops linearly
00:42
<SamB>
zewt: does it not have a profiler?
00:44
<zewt>
i don't know, i can't find any equivalent of chrome's task manager (which is a lot easier to implement in a process-model browser, of course)
00:45
<zewt>
but stress level tangibly increased by having my cpu fan spinning nonstop
00:49
<SamB>
zewt: huh, I thought it had one of those now
00:50
<zewt>
if it does I haven't tripped over it yet
00:50
<zewt>
there's a profiler, but it looks like a regular per-page profiler
01:00
<kbrosnan>
it has a profiler
01:00
<kbrosnan>
https://developer.mozilla.org/en-US/docs/Performance/Profiling_with_the_Built-in_Profiler
01:02
<SamB>
zewt: yeah, you'll want to profile the chrome
01:02
<SamB>
you might need to do that special out-of-process thing
01:03
<SamB>
"sorry mario, your devtools are in another process!"
01:03
<SamB>
boogyman: your cloak isn't too effective if you join channels before it kicks in ...
01:05
<boogyman>
SamB: the cloak is "there" because i donated.
01:05
<zewt>
a lot of networks just mask everyone's hostname
01:09
<zewt>
(you have to donate for privacy?)
01:10
<zewt>
well, as soon as i turned the profiler on, the problem went away
01:10
<zewt>
some things never change
01:11
<SamB>
maybe they shouldn't have made it possible to turn it off ;-P
11:18
<annevk>
JakeA: did you follow the discussion I had with Domenic about ResponsePromise -> Promise?
11:19
<annevk>
JakeA: jungkees: I think he made a reasonable point that we should just have fetch() return a Promise for a Response, no subclassing warranted
11:20
JakeA
reads
11:23
<jungkees>
annevk: can you share some pointer to the discussion?
11:26
<JakeA>
jungkees: http://krijnhoetmer.nl/irc-logs/whatwg/20140515#l-420
11:28
<JakeA>
annevk: ResponsePromise isn't doing anything special right now. It has toBlob on it, which is handy but not so handy that I want to get into the promise subclassing mess :D
11:28
<JakeA>
annevk: If we use a Promise initially, how much breakage would happen if we switched to a subclass later?
11:29
<JakeA>
annevk: Not just thinking of ResponsePromise, but also the cache methods that return a promise for an array - the possibility of making them something both promise-like and async iterable later
11:37
<annevk>
"[charter] Joint work with TAG on their Packaging on the Web spec?; deadline May 21" worst thread in a while
11:38
<annevk>
JakeA: returning a subclass later is thought of as being reasonably safe
11:38
<jgraham>
You sound like comic store guy's more reasonable cousin
11:38
<annevk>
JakeA: we're considering it for query/queryAll for instance (return Array for now, Elements later)
11:39
JakeA
shakes hands with annevk & Domenic in a weird 3-way handshake
11:40
<JakeA>
annevk: consider ResponsePromise dropped
11:41
<annevk>
cool
11:43
<JakeA>
annevk: We renamed purpose to context right? Are you still interested in having that on Request objects?
11:43
<JakeA>
(rather than event objects where it is now)
11:44
<annevk>
JakeA: I think grouping it all on Request is fine
11:45
<annevk>
JakeA: We could either have a more pure "HTTP-like Request" class and a bunch of parameters, or we could just group them all together as we've done so far
11:46
<annevk>
JakeA: the pure style is somewhat attractive I have to say, but basically more involved
11:46
<JakeA>
annevk: It's called "context" now right?
11:46
<annevk>
JakeA: yes
11:46
<annevk>
http://fetch.spec.whatwg.org/#concept-request-context
11:47
<annevk>
JakeA: we could also call it "API" I suppose
11:47
<annevk>
JakeA: but that's not a great property name
11:54
<JakeA>
annevk: https://github.com/slightlyoff/ServiceWorker/issues/279
12:01
<nedt>
hello!
12:01
<nedt>
I’m looking for a suitable meta tag name for monitoring purpose but can’t anything, but the pingdom
12:02
<nedt>
is there any hash, uid, monitoring meta name I’ve missed?
12:18
<espadrine>
how is inline SVG (in HTML code) supposed to react when using innerHTML?
12:19
<espadrine>
Firefox parses it using the HTML parser, Chrome using the SVG parser…
12:19
<pdr>
espadrine, are you sure?
12:19
<espadrine>
pdr: https://thefiletree.com/espadrine/bugs/svg-innerHTML/index.html?plug=none
12:19
<espadrine>
it breaks because the HTML pass doesn't recognize it as valid
12:20
<espadrine>
at least, I think
12:20
<espadrine>
also, things like inserting <rect /><rect /> yields <rect><rect></rect></rect>
12:21
<espadrine>
according to the dev tools
12:21
<pdr>
espadrine, chrome is parsing that with the html parser in the same way as the inline svg case. I'm not sure what's up with firefox though.
12:23
<espadrine>
pdr: so, chrome does things right, and firefox is the one with the bug?
12:23
<espadrine>
I'll file it.
12:23
<pdr>
espadrine, try to dig into what firefox is doing first. But I do think chrome is correct in this case
12:28
<davve>
espadrine: firefox has a known bug; puts elements in the wrong namespace, IIRC.
12:29
<davve>
https://bugzilla.mozilla.org/show_bug.cgi?id=886390
12:29
<espadrine>
davve: good to know; I'm asking on #developers at mozilla
12:45
<jgraham>
espadrine: Talk to hsivonen
12:50
<zcorpan>
espadrine: i guess what firefox does matches an older revision of the spec
12:52
<espadrine>
zcorpan: yep. The updated spec is more intuitive.
13:03
<nedt>
ok then, anyone here who can help me getting a wiki account?
13:05
<JakeA>
nedt: I don't own any wikis, but you probably need to state which wiki you want an account on & what permissions you're wanting
13:05
<JakeA>
(& why)
13:05
<nedt>
http://wiki.whatwg.org/
13:06
<nedt>
because of the meta tag I asked about an hour ago
13:06
<jgraham>
nedt: I think annevk can help
13:06
<jgraham>
Certainly Hixie can later
13:08
<nedt>
I would be even more happy if there is an existing meta extension that gives a simple hash for monitoring etc. without being specific to a service. But couldn’t find one
13:12
<JakeA>
What's the hash used for?
13:13
<nedt>
mostly for monitoring. i.e. verifing a site is up and everything needed to output the page (cms, db, …) is working.
13:14
<nedt>
there is the pingdom metaextension of the google-site-verification, but using them for an other service feels like misusing
13:14
<annevk>
nedt: pm with a username/password
13:14
<annevk>
nedt: not password, email address
13:15
annevk
always forgets
13:20
<annevk>
jgraham: I think you should be able to create accounts too
13:21
<jgraham>
Oh really?
13:31
<annevk>
jgraham: http://wiki.whatwg.org/index.php?title=Special:UserLogin&type=signup
13:32
<jgraham>
annevk: Interesting
13:33
<annevk>
most longtime users of the wiki can do it
14:24
<annevk>
TabAtkins: SimonSapin: querySelector/querySelectorAll can pass unpaired surrogates into the "CSS" parser; problem?
14:25
<TabAtkins>
Nope, not a problem. As part of parsing, the input stream gets cleaned up, which'll eliminate unpaired surrogates.
14:26
<SimonSapin>
annevk: CSSOM (both per spec and in impls) too. Currently they go through unchanged. I don’t like it, but I don’t know if we can change it
14:26
<SimonSapin>
TabAtkins: I don,t belive we hav ethat particular cleanup
14:27
<SimonSapin>
(sorry for the mangling, SSH is not very responsive over mobile in a moving train)
14:27
<TabAtkins>
Oh, you're right, we only kill nulls.
14:27
<TabAtkins>
Hm, I bet we could fix that.
14:28
<TabAtkins>
Keep things consistent between input and escapes.
14:28
<TabAtkins>
SimonSapin: Why would you think we couldn't change it? Where do you think unpaired surrogates might be used? Only possible useful spot would be in Selectors, and I doubt there are many pages with purposefully unpaired surrogates in class/etc.
14:30
<annevk>
hmm, come to think of it, if you change that, run it by bz
14:31
<annevk>
I could see people assigning random strings to id/class and expect that to work
14:34
<SimonSapin>
TabAtkins: not that it’s useful, but who know what crazy things people are doing in JS
14:34
<SimonSapin>
it’s just selectors, it’s all of CSSOM
14:34
<SimonSapin>
it’s not just selectors, it’s all of CSSOM
14:35
<TabAtkins>
annevk: If we change it at the preprocessing level, it'll still work (you'll be setting a different string, but also querying the same, different, string).
14:35
<SimonSapin>
but maybe we can get away with it. I’d be happy to
14:35
<TabAtkins>
SimonSapin: None of CSSOM is happy with unpaired surrogates except selectors and a few custom idents.
14:36
<TabAtkins>
Which means that either you're explicitly putting unpaired surrogates in your markup (crazy?!?) or you're setting them in JS (and they'll get cleaned up in the same way, so they continue to match).
14:36
<SimonSapin>
TabAtkins: could you bring it up at the f2f? I’ll try to join by phone in your afternoons
14:36
<TabAtkins>
annevk: Oh wait, nm, they wouldn't get cleaned up if you set class/id.
14:37
<TabAtkins>
SimonSapin: Add it to the wiki?
14:37
<annevk>
TabAtkins: you can't do it through markup, has to be JS
14:37
<annevk>
TabAtkins: no text encoding allows for unpaired surrogates
14:37
<TabAtkins>
annevk: Ah, good.
14:38
<SimonSapin>
yeah, anything from Encoding is clean
14:38
<TabAtkins>
Then maybe we can make a coordinated change between DOM and CSS, get unpaired surrogates cleaned up everywhere at once?
14:38
<SimonSapin>
it’s only JS strings
14:41
<SimonSapin>
anything you can write/append to in chuncks, there is a risk that each half of a surrogate pair be in a different chunck, but is still ends up paired correctly
14:41
<annevk>
TabAtkins: for DOM in general that's a no :(
14:42
<TabAtkins>
annevk: What do you think about just cleaning up id/class and maybe attrs?
14:42
<annevk>
TabAtkins: I wonder if anyone is willing to take a perf hit on that and whether it's actually worth it
14:43
<annevk>
TabAtkins: kinda depends too on what you see as the bottom layer, if it's JS, getting rid of the unpaired surrogates is kinda pointless
16:39
<Domenic>
annevk (or anyone): what decides whether an API wants ScalarValueString? It seems to be something to do with URLs?
16:42
<Hixie>
never heard of it
16:43
<jgraham>
Sounds like something annevk made up
16:43
<jgraham>
Since he's the only person that uses "Scalar Value" to mean something related to unicode
16:44
<Hixie>
i use "scalar value" in the parts of the spec that interface with Unicode...
16:49
<jgraham>
Hixie: No, you use "Unicode scalar value" and define a synonym
16:49
<Hixie>
that's what i mean
16:49
<jgraham>
Your only use of "scalar value" is in the normal meaning
16:49
<Hixie>
i basically do "import scalar value as..." :-)
16:49
<Hixie>
oh anne uses it for a non-unicode meaning?
16:50
<jgraham>
No, annevk uses "scalar value" for "unicode scalar value"
16:51
<Hixie>
so his use is the normal meaning too
16:51
<jgraham>
by "normal meaning" I mean "unrelated to unicode"
16:51
<Hixie>
you just quoted the part of the spec where i use it in the unicode sense :-)
16:51
<jgraham>
The only use of "scalar value" in HTML is "The meter element also does not represent a scalar value of arbitrary range"
16:51
<Hixie>
i'm confused
16:52
<Hixie>
plus the two uses i just mentioned, where i'm interfacing with the unicode spec
16:52
<jgraham>
No, that's *unicode* scalar value
16:52
<Hixie>
"unicode scalar value" contains "scalar value"...
16:53
<Hixie>
this conversation is making my head hurt
16:55
<jgraham>
I don't see why it's confusing
16:55
<Hixie>
well part of it is i've not yet woken up :-)
16:55
<jgraham>
There are two distinct terms; "scalar value" and "unicode scalar value"
16:56
<Hixie>
to me, "unicode scalar value" contains the term "scalar value", and both contain the term "scalar".
17:06
<dglazkov>
good morning, Whatwg!
17:17
<SamB>
jgraham: those might seem distinct at the markup level, but in English it is just as Hixie says
17:19
<jgraham>
It really isn't
17:19
<SamB>
though reading the scrollback it does seem like if you mean a special unicode concept, you should either use the word Unicode or state up front that you're going to be omitting it from the term for brevity
17:20
<jgraham>
They are different compound nouns
17:39
<Domenic>
ScalarValueString is the new name for [EnsureUTF16] DOMString apparently
17:56
<IZh>
Hixie: Hi. There is a bug in acknowledgements section.
17:57
<IZh>
... Alexey Feldgendler, &Acy;&lcy;&iecy;&kcy;&scy;&iecy;&jcy; &Pcy;&rcy;&ocy;&scy;&kcy;&ucy;&rcy;&yacy;&kcy;&ocy;&vcy; (Alexey Proskuryakov), Alexis Deveria,...
17:58
<ap>
IZh: ?
17:59
<IZh>
ap: Why there are entities instead of characters?
18:00
<ap>
IZh: oh. that I don't know or care about - it looks correct in a browser :)
18:00
<IZh>
http://www.whatwg.org/specs/web-apps/current-work/multipage/acknowledgments.html#acknowledgments
18:01
<IZh>
ap: Hmm... Perhaps mobile browser is buggy... Wait.
18:02
<IZh>
No. The same bug.
18:03
<IZh>
The problem is bacause the ampersand was escaped as &amp;. Double escaping problem.
18:04
<ap>
IZh: I see now. It's correct on http://www.whatwg.org/specs/web-apps/current-work/, but yes, double escaping in acknowledgments.html
18:05
<IZh>
Yes.
18:05
<ap>
much appreciated (hopefully Hixie will see and fix this) :)
18:07
<IZh>
I have filed a bug.
19:43
<Hixie>
IZh, ap: yeah, known bug with the multipage splitter. I'm slowly working on revamping my pipeline which will fix this.
19:48
<IZh>
Hixie: the page splitter double escapes?
19:49
<Hixie>
the page splitter has some parsing/serialising bugs
19:49
<Hixie>
right now the pipeline isn't using a modern HTML parser throughout, which has all kinds of weird bugs
20:03
<Hixie>
if i have a suggestion for a test for the html test suite, where do i put it?
20:03
<Hixie>
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3026
20:03
<jgraham>
Hixie: A suggestion for a test rather than a test?
20:03
<Hixie>
well i haven't made it use the complicated harness stuff
20:04
<zcorpan>
Hixie: https://github.com/w3c/web-platform-tests/issues
20:04
<Hixie>
thanks
20:04
<zcorpan>
Hixie: feel free to assign to me
20:05
<jgraham>
Well the way it's written it would have to be a reftest, but I guess you could fix that
20:05
<Hixie>
no idea how to assign the bug
20:05
<Hixie>
https://github.com/w3c/web-platform-tests/issues/993
20:06
<Hixie>
in other news, has there been any movement on providing a "directory" API to go with the File API?
20:06
<jgraham>
You might not be allowed to assign the bug because github is strange
20:06
<jgraham>
Anyway, I did it
20:06
<zcorpan>
github--
20:29
<Domenic>
Hixie: the "new" filesystem API seems to be directory based
20:30
<Domenic>
I am not sure how I feel about that; most native FS APIs I have used are just plain filename based, with e.g. a directory listing API that accepts a path, but no first-class realization of directories
20:35
<Hixie>
Domenic: how much buy-in does it have?
20:50
<Domenic>
Hixie: hard to say, but from what I've seen it has tentative buy-in from Mozilla and Google? Not quite finished yet though so I imagine they're taking wait-and-see positions...
20:52
<Hixie>
Domenic: wait who's speccing it if not a browser vendor?
20:52
<Domenic>
Hixie: looks like Mozilla. I probably shouldn't be trying to summarize something I've only half paid attention to...
20:53
<Hixie>
heh
21:24
<Hixie>
so someone once complained of the spec, "can't find html5 counterpart of many html 4.01 specifications"
21:24
<Hixie>
i wonder what they meant
21:26
<Domenic>
it may be *harder* to find
21:27
<zewt>
pretty meaningless without specifying "many"
21:33
<Hixie>
some other feedback: "information is there but in planty so you end up reading all night when you need just few lines"
21:33
<Hixie>
sounds about right
21:36
<Hixie>
also i love the people who ask for a way to jump back to the top dearly
21:36
<Hixie>
but darlings
21:36
<Hixie>
learn about the "home" key
21:36
<Hixie>
please
21:37
<Hixie>
MikeSmith: you any idea how we could adjust the spec to address things like "should be easier to check questions such as can a p tag contain a div" ?
21:41
<Domenic>
Interesting, yeah, I've found myself asking that question a lot
21:41
<Domenic>
in developers edition you can follow links pretty easily
21:41
<Domenic>
for content models
21:42
<tantek>
nearly all the restrictions about what tags can contain what other tags or not were some of the dumbest things to put into HTML
21:42
<tantek>
did nothing but confuse people
21:42
<tantek>
so the more we can get rid of those, the better
21:42
<tantek>
p is a great example of wrongness
21:44
<Hixie>
i dunno about that
21:44
<Hixie>
the restrictions aren't really restrictions, they're just cases that make no sense and are likely an indication of an error
21:45
<Hixie>
e.g. putting an ordered list in an <h1> is very unlikely to be what the author meant, and so it's helpful if we can flag that
21:45
<Hixie>
Domenic: is it not easy to follow the links on the big version of the spec?
21:58
<annevk>
Domenic: where it needs to be put into something that does not expect unpaired surrogates
21:58
<annevk>
Domenic: URL and Encoding are such layers
22:19
Hixie
pokes at the style sheet some more
22:19
<Hixie>
tried to add more White Space.
22:34
<benjamingr>
Is there any standard regarding getting the amount of memory JS consumes in a web page? I'm using memory.performance in Chrome and I was wondering if there is anything I should look at in terms of standards
22:51
<Hixie>
benjamingr: what kind of standards?
22:51
<Hixie>
benjamingr: (the answer is probably "no")
22:51
<Hixie>
benjamingr: like, requirements on how much a browser should use for a given page?
22:57
<benjamingr>
Hixie: as in, be able to get the amount of available memory for the page in the browser, or a vague indication of it
22:58
<zewt>
even the browser probably doesn't know that
22:58
<Hixie>
oh, i see
22:58
<Hixie>
maybe in the web perf wg's set of specs?
22:58
<benjamingr>
In chrome, I can get it via the performance.memory object
22:58
<Hixie>
i don't know of anything offhand
23:12
<Hixie>
whatwg spec editors: if your spec is too big for browsers to do the transitions i just added without making scrolling painful, add class=big to your <html> element.