-
TabAtkins
Is there a way to make the test runner run a *single* test, specified in the URL?
-
TabAtkins
-
TabAtkins
Oh, if they're testharness I can just link straight to them, looks like.
-
gsnedders
yes (there's basically no reason to ever use than runner)
-
gsnedders
I mean I guess it's better than nothing for running multiple testharness.js tests
-
TabAtkins
The docs currently point to that runner, and don't mention that you can just navigate directly to the test.
-
TimothyGu
gsnedders: I'm seeing "POST
w3c-test.org/tools/runner/update_manifest.py 500 (Internal Server Error)" is this normal?
-
gsnedders
TimothyGu: yeah, the runner has never really worked well on w3c-test.org :/
-
TimothyGu
:(
-
gsnedders
honestly we should just have better tooling to run the tests; better UI for ./wpt run locally, some better way to run them in browser (and run more than just testharness.js tests), and make that less useful generally by having up-to-date results at
wpt.fyi
-
TimothyGu
gsnedders: is there a way to mute websocket connection notifications, like those shown in
travis-ci.org/tmpvar/jsdom/jobs/329347954#L5163?
-
TimothyGu
-
TimothyGu
I assume you're the WPT guy but correct me if I'm wrong
-
gsnedders
TimothyGu: I… guess they come from the websocket server, so I don't know.
-
gsnedders
yeah, they come from pywebsocket
-
TimothyGu
so no way to disable it?
-
gsnedders
Pretty sure it's coming directly from the third party code, so nothing we directly maintain. Might be configurable with logging levels and the like? I don't know. I've never touched the WebSockets stuff.
-
TimothyGu
ok..
-
gsnedders
Sorry, I can't give a useful answer.
-
TimothyGu
it's okay, just stopping by
-
KiChjang
annevk, spec question about valid floating point numbers
-
KiChjang
are whitespaces in front of the numbers allowed?
-
KiChjang
i.e. is " 123.345" considered a valid floating point number?
-
KiChjang
-
annevk
KiChjang: what would suggest it’s valid?
-
KiChjang
the parsing part of it suggest that it may be valid, since on step 6 it is allowed to skip whitespaces
-
annevk
KiChjang: we parse many invalid inputs
-
KiChjang
ah ok, that's the part i'm missing
-
KiChjang
my intuition was successful parsing == valid string
-
hayato_
-
annevk
I wonder what GitHub uses to mark some of my comments as verified and some not
-
annevk
I do push from different machines, but I think I use identical setups...
-
annevk
And I'm not entirely sure it's related to that
-
annevk
Also, Travis being offline is kinda weird
-
TimothyGu
annevk: it's GPG signing
-
TimothyGu
if you merge on GitHub then it uses GitHub's PGP key and GH automatically recognizes it as verified
-
TimothyGu
If you push from your own machine then depends on the setup
-
TimothyGu
see
jsdom/webidl2js bfb6ee1 (GitHub's key) and
jsdom/webidl2js b26285a (my own key on my machine)
-
TimothyGu
if you don't have signing enabled on your local machine, then only merge commits created on GitHub will be verified, I assume
-
annevk
TimothyGu: I merge everything through GitHub though; either rebase and merge or squash and merge
-
annevk
TimothyGu: and the difference is also not in the distinction between those, judging from recent whatwg/html changes
-
TimothyGu
hmm, maybe fast forward vs. not fast forward? no clue
-
annevk
And locally I use GitHub Desktop, logged in to GitHub directly
-
annevk
It's probably some minor config difference somewhere, but I don't care enough to find out
-
gsnedders
annevk, TimothyGu: pretty sure the commit has to be created on GitHub, not merely rebased on GitHub (hence squash/rebase & merge won't do it)
-
JakeA
Fact check for a talk: Microtasks were originally invented for mutation observers right?
-
annevk
JakeA: yeah
-
JakeA
Ta!
-
MikeSmith
-
MikeSmith
because it’s using tables for layout
-
MikeSmith
-
MikeSmith
annevk: foolip: stats on <main> are now included in
validator.w3.org/nu/stats.html
-
MikeSmith
but note that it caches very aggressively
-
MikeSmith
so if you want to see fresh data, do something like
validator.w3.org/nu/stats.html?a
-
MikeSmith
-
MikeSmith
or whatever
-
MikeSmith
etc
-
MikeSmith
I am also logging URLs on the backend for the interesting cases
-
MikeSmith
<main> in <td>, <main> in <section>, etc
-
MikeSmith
so we will have real current cases to inspect and consider
-
MikeSmith
-
MikeSmith
multiple visible <main>
ukv.de/content
-
MikeSmith
anyway, with that I’m off soon for the night
-
MikeSmith
hopefully my mostly untested code for those counters doesn’t cause some unexpected eff up in the checker while I’m sleeping
-
annevk
Thanks MikeSmith! ❤️
-
foolip
MikeSmith: thanks!
-
foolip
I also have stats about what the ancestors usually are now, but my draft comment is at work so it'll have to wait until tomorrow
-
foolip
But basically, form and section are the most common ones that we're contemplating making invalid
-
foolip
annevk: ^
-
annevk
foolip: do those pages make sense though or would a message from the checker do some good?
-
foolip
annevk: I looked at a few and quickly found one that seemed fine, where <main> was just inside a <section>, and inverting it seems like pointless work
-
annevk
foolip: I don't think that's the only consideration though
-
annevk
foolip: section is a sectioning element too and if it's used as such that seems rather wrong, at least if we ever want to make sections work properly
-
annevk
foolip: if it's a high number, maybe, but otherwise I'm not really convinced
-
wanderview
are there any ways to generate a network request on a worker thread besides fetch(), xhr, improtScripts(), and es import()?
-
wanderview
offline canvas or something?
-
wanderview
^offline^offscreen
-
annevk
wanderview: new Worker in theory
-
wanderview
annevk: oh yea... ok
-
annevk
wanderview: WebSockets/EventSource I guess
-
annevk
wanderview: pretty sure canvas has no networking btw
-
wanderview
ok
-
wanderview
annevk: thanks
-
MikeSmith
annevk: seems like we need to look at some sample of the documents we have that use <main> in <section> and <form> and make a determination about which cases are misuses and which seem legit
-
MikeSmith
foolip: ⬆
-
MikeSmith
and if it turns out that the percentage of misuses are way higher than the percentage of legit uses, then that argues for making it non-conforming
-
MikeSmith
and for the checker to emit an error for those
-
MikeSmith
and regardless, unless the legit uses seem to greatly outweigh the misuses, then those still would seem to merit at least a “should not” in the spec
-
MikeSmith
and for the checker to at least emit a warning
-
MikeSmith
the stats at this point show so far about 800 cases of each that we could take a look at
-
MikeSmith
to narrow things, I could also add some more-granular stats
-
MikeSmith
like, I could get stats on how many of the <section> cases that contain <main> are <section> without a heading
-
MikeSmith
which is arguably a misuse of <section>, in that it indicates the author is just using where they should be using <div>
-
MikeSmith
and also because <section> without a heading can be bad for AT users, if the AT exposes each of those <section> even though they have no identifying heading (and so makes exposing them for navigation pretty worthless)
-
MikeSmith
which is why the checker emits a warning for <section> without a heading
-
fantasai
Afaict, the DOM methods that use selectors are: querySelector, querySelectorAll, closest, matches, webKitMatches
-
fantasai
Are there any others?