wpt
wpt copied to clipboard
Update script result_ownership tests to handle id is only on root
Per serialization spec, child ownership is always set to "none" before serializing values. This means that only the root can ever have a handle id set.
Our current tests for resultOwnership="root" assert that a handle is set on the root remote value, but not that nested remote values do not have a handle id.
The question is do we want to restrict the protocol extensions. And having the nested handlers can be considered as such an extension.
CC'ing @jgraham as well.
The question is do we want to restrict the protocol extensions. And having the nested handlers can be considered as such an extension.
I imagine this a question about the spec rather than about the test modification? Should we file another issue for that? Otherwise I'm not sure when we need to consider extensions when writing tests?
The question is do we want to restrict the protocol extensions. And having the nested handlers can be considered as such an extension.
@sadym-chromium I will file a separate issue for this topic, could we land this change?
Note: I just rebased for now, will apply comments afterwards.
@whimboo I applied the comments, can you take a look?
Thanks for the review! I can see wpt-chrome-dev-stability is failing, if I understand correctly because of slow tests detected. None of the tests mentioned use the helper which was modified here, so it sounds unlikely that this is related to my patch.
I asked for the task to be re executed.
Thanks for the review! I can see
wpt-chrome-dev-stabilityis failing, if I understand correctly because of slow tests detected. None of the tests mentioned use the helper which was modified here, so it sounds unlikely that this is related to my patch.
This task is always failing those days and maybe it needs to be removed if no-one from Google could get it fixed. @sadym-chromium, @foolip any idea what's wrong with it?
@jgraham could you please merge this PR? Thanks.