16:49:56 RRSAgent has joined #webdriver 16:50:01 logging to https://www.w3.org/2025/12/10-webdriver-irc 16:50:03 Zakim has joined #webdriver 16:50:47 chair: David Burns 16:51:08 Meeting: Browser Testing and Tools Dec 2025 16:52:17 Agenda: https://www.w3.org/wiki/WebDriver/2025-12-BiDi 16:52:37 Scribe: David Burns 16:52:44 ScribeNick: AutomatedTester 16:53:33 rrsagent, set logs world-visible 16:53:44 rrsagent, make minutes 16:53:45 I have made the request to generate https://www.w3.org/2025/12/10-webdriver-minutes.html AutomatedTester 16:56:52 present+ 17:00:17 whimboo has joined #webdriver 17:01:39 jgraham has joined #webdriver 17:02:28 orkon has joined #webdriver 17:02:40 sasha has joined #webdriver 17:02:45 jimevans has joined #webdriver 17:02:55 present+ 17:02:57 RRSAgent, pointer 17:02:57 See https://www.w3.org/2025/12/10-webdriver-irc#T17-02-57 17:02:58 jdescottes has joined #webdriver 17:03:06 present+ 17:03:10 present+ 17:03:15 present+ 17:03:16 present+ 17:03:19 present+ 17:04:18 Agenda: https://www.w3.org/wiki/WebDriver/2025-12-BiDi#Agenda 17:04:30 RRSAgent: make minutes 17:04:32 I have made the request to generate https://www.w3.org/2025/12/10-webdriver-minutes.html jgraham 17:04:51 https://www.w3.org/wiki/WebDriver/2025-12-BiDi 17:04:52 present+ 17:05:31 present+ 17:05:58 Please fill in https://docs.google.com/spreadsheets/d/1tGRG8MtpWlIDTfQstxPw1hRR_lowrdAl5z7QFq56Rs8/edit?gid=0#gid=0 with avilability for longer WG meeting. 17:06:08 Topic: Bypass CSPs for async calls, nested calls, calls to content scripts 17:06:26 github: https://github.com/w3c/webdriver-bidi/issues/1024 17:06:30 lauromoura has joined #webdriver 17:06:55 jdescottes: I have been looking it how we should bypass CSP for non-trivial cases 17:07:34 ... initially Chrome was doing things here and we have aligned Firefox to the chrome way and it is not spec'ed yet 17:07:46 ... we need to define the behaviour to spec it 17:08:05 ... we currently only do this for sync 17:08:38 ... do we want to update the implementation to default to bypasses CSP in all cases or should it be an explicit flag 17:09:14 .... one thing worth noting is that devtools doesn't follow this and it enforces CSP in eval which will be different 17:09:18 q+ 17:09:21 ... so what do we want to do here? 17:09:24 ack sadym 17:09:56 sadym: it's more or less related to scipt eval with bidi 17:10:53 q+ 17:10:55 q+ 17:11:01 mradbourne has joined #webdriver 17:11:01 ... 17:11:42 ack next 17:12:09 orkon: I wanted to summarise that we are ok with the works currently 17:12:21 ... it is hard to align here related to tasks 17:12:51 ... i think the current default behaviour is expected by automation users 17:12:56 ack next 17:13:09 sadym: according to the JS spec, the micortasks scheduled with setTimeout are not attributed with the source, so there is no way we can attribute them as "trusted" or "force to run". However we can allow for "thenables" to be run in such cases. 17:13:31 sadym: TL;DR; we can "promise.then", but cannot "setTimeout()" 17:13:53 aq+ 17:13:55 q+ 17:13:59 jdescottes: do you think that there is a usecase for bypassing CSP using thenables? 17:14:16 ack next 17:14:43 sadym: we cannot test when one chain is broken because thenables execute immediately 17:14:50 q+ 17:14:57 ... we do have use cases for thenables but with settimeout it doesnt work 17:15:00 ack next 17:15:03 q+ 17:15:55 orkon: I didn't test the thenable case in settimeout in CSP ... but I think that would be fine 17:15:57 ack next 17:16:37 jdescottes: I think in that case we wait for the PR for script eval is fully merged before we move on with this 17:16:46 topic: Bypass CSPs as a separate command./ configuration 17:16:56 github: https://github.com/w3c/webdriver-bidi/issues/1033 17:17:09 yoav has joined #webdriver 17:18:36 jdescottes: by bypassing CSP on the page for anything that might be handled... it's something that playwright use this, and they find it is very useful. This is for situation where script has nonce defined. this would be scoped to browsing context or global context 17:18:41 q? 17:19:22 q+ 17:19:34 jdescottes: there is a playwright issue linked please read that 17:19:37 ack next 17:19:41 q+ 17:20:12 q- 17:20:13 orkon: I think we should have it... i think that bidi should be able to control this 17:20:31 q? 17:20:34 topic: Add subscription ID to event data 17:20:43 github: https://github.com/w3c/webdriver-bidi/issues/1032 17:21:03 jimevans: we added the ability to sub to events on user context 17:21:07 q+ 17:21:19 ... most of the events have the browsing context that they are coming from 17:21:37 ... if you do it via the user context it is hard to track where it is coming from 17:21:57 ... it's not impossible but definitely not ergonomic 17:22:09 ... this has been rasised by the selenium contributor 17:23:03 ... there is a proposal that has an array of subscription ids. I am looking to get discussion around this to improve the use case 17:23:14 q? 17:23:18 ack next 17:23:25 q+ 17:23:46 jgraham: I think we have 2 option. Add user context to the event. I think this ia good idea anyway 17:24:34 q+ 17:24:34 ... adding the id to the event is a good idea and I feel we have discussed before and forgot why we didn't do it. 17:25:03 ... I dont know if we are doing a de-duplication of events if you resubscribe 17:25:35 ... I like the model as it makes things easier on the client side 17:25:38 ack next 17:26:23 sadym: from what I remember the subscription can be set by different users and that was the concern if user a subscribes and user b unsubscribes 17:26:23 q+ 17:26:33 ... in the user context it wont be a problem 17:26:35 ack next 17:27:12 jimevans: when I was discussing it with the user, I mentioned that if we returned the subscription ids to the event 17:27:27 ... there are cases where events could leak out info 17:27:40 q+ 17:28:09 ... if multiple clients subscribe to the same events it could be a problem 17:28:34 ... we can add ids or user context could be a valid solution but not sure if there is a reason not to 17:28:37 ack next 17:29:39 jdescottes: when we added the subscription model we didn't consider the events too much because we were thinking about the unsubscription model. I can't talk for the security issues 17:29:41 ack next 17:30:02 jgraham: I think it's a good poiunt about unsub breaking encapsulation 17:30:46 ... if we think things shouldn't share any state but that should be solved by the multiple sessions keeping things separate 17:31:07 ... everything else depends on the client to enforce boundaries 17:32:07 ... from this discussion it solves the use case we should do it 17:32:09 q? 17:33:00 topic: Autofill trigger 17:33:11 github: https://github.com/w3c/webdriver-bidi/pull/706 17:33:44 sadym: this is a PR from yoav. There are some misunderstandings and we need to discuss 17:34:10 ... we only test the 3rd part which is filling in the data and it is the least contriversial part 17:34:34 ... even with that I think that the PR from yoav makes sense and I think we should approve 17:34:40 q+ 17:34:48 yoav: thanks for summing it up properly and I will handle concerns 17:34:52 ack next 17:35:49 jgraham: I am not an expert on how data will get in and be stored 17:36:15 ... I am curious what blaze has to say about this from webkit 17:36:37 blaze: I am looking at the PR, I think we're very close 17:37:01 ... the discussion we were having was around addresses and checkout 17:37:33 ... if we are only solving it for that then it's fine, if it's logout etc then we need to discuss it further 17:38:04 ... as long as we have the fields designed. I think the tests also need to be shown 17:38:22 yoav: this can be scoped to addresses and then work from there 17:38:49 ...beyond that we have a set of outdated wpt mocks that need revisiting 17:39:31 ... if this lands in the spec I can see about landing this into chromium and making sure the wpt tests are updated 17:40:09 Example of the test using trigger autofill API: https://github.com/yoavweiss/chromium-bidi/blob/1f4a9e9389597f99e0bde231b0506b11a03cc740/tests/autofill/test_autofill_trigger.py#L101 17:40:19 q+ 17:40:21 ... this also goes with an event for autofill being redone 17:40:35 ... this tells the browser when to redo the autofill 17:40:45 ack next 17:41:18 blaze: there is the classification vs putting this into the DOM. 17:41:48 ... I think if we make sure the classication is done properly 17:42:28 ... and if the browser doesn't get the classication right how do we know what needs fixing 17:42:43 ... I am trying to understand waht is next 17:43:40 ... I will look and if there are more tests that would be great 17:44:06 sadym: there is a link to a test that uses pure bidi 17:44:16 https://github.com/web-platform-tests/wpt/pull/44329 17:44:22 bburg has joined #webdriver 17:44:26 present+ 17:44:36 rrsagent, make minutes 17:44:38 I have made the request to generate https://www.w3.org/2025/12/10-webdriver-minutes.html AutomatedTester 17:45:09 q? 17:45:13 topic: Allow for specifying schema in "proxy" 17:45:23 github: https://github.com/w3c/webdriver/pull/1922 17:45:46 sadym: what is specified in the spec isn't what chromium does, chromium does a lot more 17:46:01 ... I have reworked the proposal and it is backwards compatiable 17:46:10 ... please look and consider this for merging 17:46:15 q? 17:46:43 topic: Enable and disable scripting via BiDi 17:46:53 github: https://github.com/whatwg/html/pull/11441 17:47:31 sadym: we only have left this last bit that is in the html spec 17:47:42 ... there are some reservations still 17:48:26 sadym: https://github.com/whatwg/html/issues/11874 17:48:32 q+ 17:48:50 ... this is the best that we can do for now. Do we need full alignment or can we move forward? 17:48:53 ack next 17:49:10 q+ 17:49:21 jdescottes: I can't answet the question but I will follow up with Simon tomorrow 17:49:34 action: jdescottes to follow up on this 17:49:43 ack next 17:50:44 jgraham: it seems in the end it sets out the 3 scenarios. in 3rd scenarios if the page loads and disavles script... 17:51:07 q+ 17:51:09 ... it says practical implementation can trump the theoretical purity 17:51:41 ... if we have a page that has runs script and then disables script it might later run some script 17:52:07 ... we should have a plan to align here for the fuutre 17:52:37 .... my read is that Simon is that as long as everyone is happy we can move ahead here 17:52:44 ack next 17:53:42 sadym: practically speaking, if we can't reproduce it then we can continue doing with what we are doing 17:54:14 jgraham: the other use case is weakmap finalisers 17:54:49 ... this is a edge case but we need to say that we are ok with the code running 17:55:20 sadym: in that case we have the same case and we restrict finalisers or we don't restrict them 17:55:39 orkon has joined #webdriver 17:55:45 jgraham: in practise disable script is an edge case and I doubt many people would try do this 17:56:05 ... it's ok to say for the spec to say it should do it but it could be hard to implement 17:56:27 ... and we say that if scripting is disabled that some script may still get run 17:56:32 q? 17:56:55 RRSAgent: make minutes 17:56:56 I have made the request to generate https://www.w3.org/2025/12/10-webdriver-minutes.html jgraham 17:57:25 topic: `emulation.setMaxTouchPoints` invokes legacy archived specification 17:57:34 github: https://github.com/w3c/webdriver-bidi/pull/1042 17:57:51 sadym: this is a step forward for mobile emulation, please can people review 17:58:54 jgraham: pointer events does this and we shouldn't be referencing touch events is a not a good idea. I haven't read the PR 18:00:06 ... if we are using legacy APIs we should suggest to people to use a non-legacy API for things 18:01:07 s/should suggest people use a non-legacy API for things/just have a non-normative note about what implementations implementing those nonstandard APIS might want to do, because all the behaviour here is nonstandard anyway/ 18:01:32 RRSAgent: make minutes 18:01:33 I have made the request to generate https://www.w3.org/2025/12/10-webdriver-minutes.html jgraham 18:02:16 Zakim, bye 18:02:16 leaving. As of this point the attendees have been AutomatedTester, jimevans, jdescottes, tidoust, whimboo, orkon, jgraham, sasha, sadym, bburg 18:02:16 Zakim has left #webdriver 18:02:25 jimevans_ has joined #webdriver 18:02:34 RRSAgent: make minutes 18:02:36 I have made the request to generate https://www.w3.org/2025/12/10-webdriver-minutes.html jgraham 18:02:45 RRSAgent: bye 18:02:45 I see 1 open action item saved in https://www.w3.org/2025/12/10-webdriver-actions.rdf : 18:02:45 ACTION: jdescottes to follow up on this [1] 18:02:45 recorded in https://www.w3.org/2025/12/10-webdriver-irc#T17-49-34 18:02:47 spectranaut_ has joined #webdriver