Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
credentials_mode_only_options, exception_state,
I think you can pass `options` as before, as it will implicitly convert to the base class type (i.e. in the generated C++ code, `SharedStorageWorkletOptions` also inherits `WorkletOptions`).
UseCounter::Count(
To<LocalDOMWindow>(*execution_context).document(),
Can we do `execution_context->CountUse(...)`?
// TODO(348445878): Make the `dataOrigin` option (which is parsed into
Should this be `crbug.com/348445878`? Or is your style also supported? (I haven't seen one)
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I think you can pass `options` as before, as it will implicitly convert to the base class type (i.e. in the generated C++ code, `SharedStorageWorkletOptions` also inherits `WorkletOptions`).
Done
UseCounter::Count(
To<LocalDOMWindow>(*execution_context).document(),
Can we do `execution_context->CountUse(...)`?
Handy, thanks!
// TODO(348445878): Make the `dataOrigin` option (which is parsed into
Should this be `crbug.com/348445878`? Or is your style also supported? (I haven't seen one)
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
yrsun@, PTAL at ukm_features.cc, thanks!
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
return SharedStorageDataOrigin::kInvalid;
Should this be `NOTREACHED_NORETURN`? I *think* IDL will convert to the default value if invalid values are provided. It'd be good to verify this though.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
yrsun@, I decided to split into 2 CLs, will move you off of review here and then onto review for the other one
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
return SharedStorageDataOrigin::kInvalid;
Should this be `NOTREACHED_NORETURN`? I *think* IDL will convert to the default value if invalid values are provided. It'd be good to verify this though.
Revised.
I will also add a web test for this specifically, still working on that.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
yaoxia@, Could you please take a look at my new web tests?
Also, I split the UKM feature to a separate CL. Thanks.
return SharedStorageDataOrigin::kInvalid;
Cammie Smith BarnesShould this be `NOTREACHED_NORETURN`? I *think* IDL will convert to the default value if invalid values are provided. It'd be good to verify this though.
Revised.
I will also add a web test for this specifically, still working on that.
It turns out that an error is thrown if an invalid value is entered. See my new web tests.
This is desirable, however, for feature detection: https://github.com/WICG/shared-storage/pull/158#issuecomment-2168827866
Marking as resolved, but please re-open if you wish to discuss further. 😊
Exposed=Window,
Suggest rebasing to get rid of this.
Done
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Exportable changes to web-platform-tests were detected in this CL and a pull request in the upstream repo has been made: https://github.com/web-platform-tests/wpt/pull/46853.
When this CL lands, the bot will automatically merge the PR on GitHub if the required GitHub checks pass; otherwise, ecosystem-infra@ team will triage the failures and may contact you.
WPT Export docs:
https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md#Automatic-export-process
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Sun Yueruyrsun@, I decided to split into 2 CLs, will move you off of review here and then onto review for the other one
Sg, approved the other one.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Shared Storage: Add non-live dataOption to createWorklet for use counter
We proposed a breaking change to sharedStorage.createWorklet() in
https://github.com/WICG/shared-storage/pull/158.
We add a use counter for how frequently createWorklet is called in a
non-forward-compatible way according to the proposal (i.e. with a
cross-origin script but without the option dataOrigin: "script-
origin"). This will help us determine what the impact of this change
would be.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
The WPT PR for this CL has been merged upstream! https://github.com/web-platform-tests/wpt/pull/46853
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |