2023-07-02 [20:38:28.0197] Brandon Sheley: 2023-07-04 [21:35:01.0284] Alexander Kalenik: Did you have a chance to look at https://github.com/whatwg/html/issues/9148#issuecomment-1610989949 ? I would love to get your implementer experience-informed opinion, before I go making changes. [00:50:27.0386] Domenic: do you know which sites would benefit from `origin-agent-cluster` (regardless of its default value)? [00:52:54.0686] > <@zcorpan:mozilla.org> Domenic: do you know which sites would benefit from `origin-agent-cluster` (regardless of its default value)? Google Workspace uses it heavily to hint for process isolation among its many same-site cross-origin pages. [00:55:13.0022] Domenic: ok. Do you know if there's interest from non-Google properties? [00:57:26.0556] I haven't been in touch with any. Unfortunately it looks like it's not used on the sites HTTP archive picks up, but it's used by ~0.5% of page views. https://chromestatus.com/metrics/feature/timeline/popularity/3286 [00:58:11.0644] Domenic: ok, thanks! [01:31:09.0873] Domenic: I see 39 sites in httparchive using resources with OAC: ?1 [01:36:27.0782] Oh nice! [01:54:37.0938] Domenic: https://docs.google.com/spreadsheets/d/1WNmB2zpx8BAf8bkBOeL-gVeHghR02sXW2Jzea6t2vpE/edit?usp=sharing [01:55:20.0226] Well, that is kind of suspicious [01:55:58.0679] It got into some white-label Brazilian photo-printing site I guess? [01:56:30.0983] oh wait, I made a mistake. They're actually using `Origin-Agent-Cluster: 1` [02:03:47.0789] Domenic: 6406 pages use `?1` https://docs.google.com/spreadsheets/d/11-6EKWZaQdpvOe8L1nxHW3wWtTnwDy1GhNYDJCcVY-0/edit?usp=sharing [02:05:15.0174] Curious that the use counter doesn't find these in httparchive [02:06:31.0901] I think maybe I renamed the use counter at one point. I wonder if that broke it. [02:06:48.0338] Ah wow that is a nice list. 2023-07-05 [23:14:26.0242] Domenic: I want to raise an issue for adding `VideoPlaybackQuality` and `getVideoPlaybackQuality()` to HTML. I had thought we had an issue template of some kind with a checklist (e.g., including the _“no implementers object”_ language — but right now, I can’t find any such template. And maybe I’m confusing it with the browser-project “Intent to implement/ship” messages I’ve seen that do have such checklists? [23:15:52.0292] * Domenic: I want to raise an issue for adding `VideoPlaybackQuality` and `getVideoPlaybackQuality()` to HTML. I had thought we had an issue template of some kind with a checklist (e.g., including the _“no implementers object”_ language) — but right now, I can’t find any such template. And maybe I’m confusing it with the browser-project “Intent to implement/ship” messages I’ve seen that do have such checklists? [23:21:47.0725] ah, nevermind — I realize now that I what I had been thinking of was of course the template for _PRs_ 2023-07-06 [17:37:05.0283] Help wanted / Good first issue: For anybody interested in contributing to the HTML standard, https://github.com/whatwg/html/issues/1102 might be a good issue you could resolve, by writing a spec patch for it with a modest amount of effort — perhaps mostly by just porting over the existing `` spec text from https://w3c.github.io/html-media-capture/ [02:01:36.0187] I'm confused about why you cannot directly download the resource (file) on the local machine using JS, but you can do it with JS if you fetch the resource, construct the a element with the fetched resource as URL and then click it using JS? [02:26:55.0782] Is there a spec issue about upstreaming https://wicg.github.io/document-policy/#integrations ? [05:31:53.0649] zcorpan: I don't think there is one against HTML [05:32:10.0718] annevk: ok [05:57:34.0326] vrafaeli: example? I thought `.click()` would generally work. Seems weird if it performs a same-origin check ahead of time given redirects. [06:18:31.0899] I initially thought https://github.com/whatwg/html/issues/9491 was about making `/>` conforming on all tags but also have it continue to be meaningless [06:19:11.0958] So you can write `
yolo
` and the HTML checker won't yell [06:20:12.0335] Anyway, if we do a flag it should just be "XML5" [06:20:40.0427] * Anyway, if we do a flag it should just be "XML5" (and the flag is `text/xml`) [06:45:53.0442] > <@annevk:matrix.org> vrafaeli: example? I thought `
.click()` would generally work. Seems weird if it performs a same-origin check ahead of time given redirects. https://codesandbox.io/s/interesting-nightingale-vkpy9s?file=/src/index.js I use a plugin to inject response header "content-disposition: attachment". I was expecting that after the response has been received the browser would initialte a download to the local machine. [06:46:47.0247] but the download to local machine does not happen [06:47:24.0110] > <@annevk:matrix.org> vrafaeli: example? I thought `.click()` would generally work. Seems weird if it performs a same-origin check ahead of time given redirects. * https://codesandbox.io/s/interesting-nightingale-vkpy9s?file=/src/index.js I use a Chrome plugin to inject response header "content-disposition: attachment". I was expecting that after the response has been received the Chrome browser would initialte a download to the local machine. [06:47:57.0211] * https://codesandbox.io/s/interesting-nightingale-vkpy9s?file=/src/index.js I use a Chrome plugin to inject response header "content-disposition: attachment". I was expecting that this would make the Chrome browser to do a download to the local machine. [06:50:28.0748] * https://codesandbox.io/s/interesting-nightingale-vkpy9s?file=/src/index.js I use a Chrome plugin to inject response header "content-disposition: attachment". (in my real case the server sets it) I was expecting that this would make the Chrome browser to do a download to the local machine. [11:14:09.0413] Hm, is there a term I can reference for "frames that can be communicated with"? Basically just anything you can postMessage to? [11:17:52.0867] browsing context group? [11:18:22.0678] (though BroadcastChannel is an exception) [11:18:51.0279] (Context is "things that should be able to see an MQ change if it gets toggled by script", re: https://github.com/w3c/csswg-drafts/issues/6517) [11:19:23.0758] Because if you darkmode a site via an in-site toggle you'd like iframes to darkmode as well, ideally. [12:41:41.0422] TabAtkins: you can postMessage() across origins. In the issue you say it shouldn't be visible to cross-origin iframes [13:14:28.0268] Basically I just don't want to invent a new security boundary. If you can already freely message a cross-domain frame, you should be able to affect their MQs. [13:30:12.0475] TabAtkins: for popups you can communicate between opener and openee unless it was opened with `noopener`. For iframes I *think* you can always send a message (if embedding is allowed). When same-origin, you can communicate even if there's no reference to the window (with `BroadcastChannel` or `localStorage` or `document.cookie` or a shared worker) [13:30:43.0752] Right, all this detail is why I was asking if there's already a spec concept for communicating subframes. [13:34:17.0414] TabAtkins: it's still not clear to me what you want [13:39:26.0232] I want to define that you can toggle certain MQs from script. These MQs want to transmit their script-changed values to subframes (so an iframe will also be darkmode if the top-level frame was set to darkmode). But I don't want to open a new communication channel. I'm *presuming* that "frames you can postMessage" is a reasonable description of the boundary for things that can see the altered MQs. [13:40:06.0696] And I'm hoping this is already a concept defined somewhere so I don't have to create and maintain such a definition in a CSS spec that doesn't otherwise care about the web's communication/security boundaries. [13:40:43.0005] TabAtkins: what about popups? [13:41:05.0924] I suspect we should treat them like subframes in this regard. [13:42:03.0627] > <@tabatkins:matrix.org> I want to define that you can toggle certain MQs from script. These MQs want to transmit their script-changed values to subframes (so an iframe will also be darkmode if the top-level frame was set to darkmode). But I don't want to open a new communication channel. I'm *presuming* that "frames you can postMessage" is a reasonable description of the boundary for things that can see the altered MQs. Didn't we resolve at some point that the embedded page's color scheme depended on the color-scheme value of the iframe? [13:42:17.0402] Or discuss doing it or something? [13:42:43.0855] yeah we at least discussed it, tho I don't recall the conclusion exactly. But we should rely on the same mechanism, def. [13:43:50.0036] Seems like if we do that stuff then it works. But yeah gecko has the "browsing context group" concept which is just that, stuff you can postMessage to [13:50:17.0146] I'm a bit uneasy with making custom MQ available to the whole browsing context group. It would be like `BroadcastChannel` but to all origins [13:59:17.0959] I don't really care what concept I end up leaning on. If browsing context group is too large, then a smaller one would work just fine for me. I just need the concept to exist somewhere where it can be reasonably maintained as we continue to add more distinctions and guards to it. [14:00:40.0276] TabAtkins: it seems like you only want to propagate to descendant documents so that's probably what you want to say; or do you also want to go to ancestors or popups? [14:01:22.0830] Not ancestors (ancestors need to be able to propagate to *me*). Possibly popups, but I don't think I have much of an opinion. Seems reasonable that if the page is in darkmode its popups should be too. [14:02:08.0355] "Its popups" is somewhat of a corner area as some popups are created deliberately without communication channel [14:02:27.0195] yeah that's fair [14:02:29.0588] Anyway, if you don't want ancestors claiming you want equivalence with postMessage() is not too helpful [14:02:57.0700] I would start with a document and its descendant documents (HTML has some terms for this though they are not super) [14:05:09.0502] Descendants will count things like, say, fenced frames tho I assume, so I'll still need more clarification there. [14:05:14.0313] But yeah that's probably the starting point. [14:06:16.0706] Fenced frames aren't integrated with HTML so who knows how they work. If descendant documents return them they probably have some issues to work out. [14:06:33.0957] fair [14:06:57.0990] Probably just leaving an impl note next to the definition will suffice for now. 2023-07-07 [02:39:12.0527] Have a nice summer folks [02:43:10.0919] The same to you all Have a wonderful summer vacation [07:07:41.0507] https://url.spec.whatwg.org/#serialize-an-integer is entertainingly succinct. No idea what data type it returns for example :) [07:17:48.0472] I found https://github.com/whatwg/infra/issues/201, so now I know fetch has a very slight improvement on this, which has apparently been copied into various other specs. [09:00:19.0119] A decimal number is a data type :p [09:02:19.0473] Anyway, yeah, we should add numbers and ways to serialize them to strings to Infra. Maybe now that BigInt is defined we can actually do so. [13:55:52.0419] jarhar: mfreed: hey, did you see https://github.com/whatwg/html/pull/9456#issuecomment-1611419095? [13:56:39.0868] jarhar: mfreed: would be great to have your input; cc ntim [13:57:44.0481] I’m looking at https://github.com/w3c/webappsec-credential-management/actions/runs/5465713950/jobs/9949551741 ``` LINE ~299: No 'dfn' refs found for 'parent browsing context'. [=parent browsing context=] ``` [13:58:26.0965] I guess `parent browsing context` got changed to something else at some point before March? [14:02:05.0147] aha, `parent navigable`, it seems [14:02:20.0150] * aha, `parent navigable`, it seems. Right? [14:02:47.0795] Yeah, though I'm not sure it's really a term of art on its own; you'd get the current navigable somehow and then grab its parent member. [14:03:38.0759] I see [14:03:59.0235] Lemme grab the relevant part of the credential-management spec [14:05:24.0508] https://w3c.github.io/webappsec-credential-management/#algorithm-same-origin-with-ancestors > 6. While _current_ has a parent browsing context: > > 1. Set _current_ to current’s parent browsing context. [14:06:17.0259] So I guess I can’t just `s/parent browsing context/parent navigable/` there? [14:07:26.0320] Maybe I need to add some earlier step to get the current navigable first? [14:10:29.0046] _current_ prolly needs to become a navigable and then you check _current_'s parent [14:11:17.0162] Domenic and Dominic Farolino have a better hold on this and might be able to suggest even better things [14:11:20.0095] is there a _“get navigable for…”_ hook? [14:12:01.0599] > <@annevk:matrix.org> Domenic and Dominic Farolino have a better hold on this and might be able to suggest even better things Thanks yeah then I’ll wait to hear from them. It’s not urgent. The related issue has been open since March 2nd [14:12:02.0308] You can grab it from the `Window` object at least [14:12:09.0412] It looks like you want to go from document -> navigable. For that, use "node navigable". [15:10:33.0388] Unrelated incidental bikeshed warning: ``` LINK ERROR: Multiple possible 'fetch()' idl refs. Arbitrarily chose https://wicg.github.io/background-fetch/#dom-backgroundfetchmanager-fetch To auto-select one of the following refs, insert one of these lines into a