[wpt-sync] Sync PR 43754 - Fenced frame: Add ad component remote context WPT support.
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox123 fixed)
Tracking | Status | |
---|---|---|
firefox123 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
101.97 KB,
text/plain
|
Details |
Sync web-platform-tests PR 43754 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/43754
Details from upstream follow.
Liam Brady <lbrady@google.com> wrote:
Fenced frame: Add ad component remote context WPT support.
Introduces a way to embed ad components within frames and be able to run
arbitrary JavaScript in them.Steps for setting up:
- Create a fenced frame or URN iframe remote context using either
attachFencedFrameContext() or attachIFrameContext(). Specify the new
include_component: true
parameter when calling the function. This
will create a remote context URL/URN, but not actually create a frame.- To create the ad component frame, call either
attachComponentFencedFrameContext() or attachComponentIFrameContext().
This will construct an ad component frame, and return the remote context
object the same way that attachFencedFrameContext/attachIFrameContext
does. This can be interacted with in the same way that any other remote
context frame can be interacted with.As a proof of concept, this CL makes the following test changes:
- Updates
nested-opaque-ad-sizes.https.html
to finally be functional.- Adds a WPT to test that ad components can send automatic beacons with
a header opt-in.Change-Id: Ic4277b4082e36617f95f20895c9502bca3928965
Bug: 1427455Reviewed-on: https://chromium-review.googlesource.com/5136743
WPT-Export-Revision: 1705360cba5deff2789828eb38e53adb5383c75e
Assignee | ||
Comment 1•9 months ago
|
||
Assignee | ||
Comment 2•9 months ago
|
||
Comment 4•9 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/aca6c5d598f1
https://hg.mozilla.org/mozilla-central/rev/5b9f56b286d9
Description
•