Closed Bug 1883415 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44905 - Blink: Expose dataTransfer.types in appropriate drag events.

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 44905 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/44905
Details from upstream follow.

Rakesh Goulikar <ragoulik@microsoft.com> wrote:

Blink: Expose dataTransfer.types in appropriate drag events.

As per spec
https://html.spec.whatwg.org/multipage/dnd.html#concept-dnd-p
The correct access restriction for most drag events after "dragstart" is the protected mode, which allows enumerating the types of data in the drag store.

Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1345474
Change-Id: Ibcbe4f61f5846ba49b590d235324f2784370d005
Reviewed-on: https://chromium-review.googlesource.com/5341049
WPT-Export-Revision: dcec175fe28cfeb58ed34c6b103909d9293ad137

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6f9313837cb9 [wpt PR 44905] - Blink: Set access policy to protected mode in Drag Drop events, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.