Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for FencedFrameConfig.
Developer library 6
` ` HTML fenced frame element
ndbox.google.com/private-advertising/protected-audience) or [Shared Storage](https://privacysandbox.google.com/private-advertising/shared-storage)) generates a FencedFrameConfig object, which is then set as the value of the `<fencedframe>`'s `config` property. The following example gets a `FencedFrameConfig` from a Protected Audience API's ad auction, which is then used to display the winning ad in a `<fencedframe>`
SharedStorageSelectURLOperation
d Storage window.sharedStorage.set("ab-testing-group", getExperimentGroup(), { ignoreIfPresent: true, }); // Run the URL selection operation const fencedFrameConfig = await window.sharedStorage.selectURL( "ab-testing", [ { url: `https://your-server.example/content/default-content.html` }, { url: `https://your-server.example/content/experiment-content-a.html` }, ], { reso
SharedStorageWorklet
d storage window.sharedStorage.set("ab-testing-group", getExperimentGroup(), { ignoreIfPresent: true, }); // Run the URL selection operation const fencedFrameConfig = await window.sharedStorage.selectURL( "ab-testing", [ { url: `https://your-server.example/content/default-content.html` }, { url: `https://your-server.example/content/experiment-content-a.html` }, ], { reso
SharedStorageOperation
AP.map(({ group }) => group); // Resolve the selectURL call to a fenced frame config only when it exists on the page const resolveToConfig = typeof window.FencedFrameConfig !== "undefined"; // Run the URL selection operation to select an ad based on the experiment group in shared storage const selectedUrl = await window.sharedStorage.selectURL("ab-testing", urls, { data: groups, resolveToConfig,
The structured clone algorithm
erialized/cloned. - DOMMatrix - DOMMatrixReadOnly - DOMPoint - DOMPointReadOnly - DOMQuad - DOMRect - DOMRectReadOnly - EncodedAudioChunk - EncodedVideoChunk - FencedFrameConfig - File - FileList - FileSystemDirectoryHandle - FileSystemFileHandle - FileSystemHandle - GPUCompilationInfo - GPUCompilationMessage - GPUPipelineError - ImageBitmap - ImageData - RTCCertificate - RTCEncodedAudioFrame - RTCEncodedVideoFrame -
WorkletSharedStorage
age. ## Instance properties - context - : Contains contextual data passed into the shared storage worklet from the associated browsing context via the FencedFrameConfig.setSharedStorageContext() method. ## Instance methods _`WorkletSharedStorage` inherits properties from its parent interface, SharedStorage._ - get() - : Retrieves a value from the shared storage. - length() - : Returns the number of