Description[Media Router] Use origin instead of URL for frame.
This CL uses the last committed origin of a frame making a presentation request,
instead of the full URL. Frames created in script have an empty last committed URL.
Note the following:
- Only the origin is used from the frame URL presentation request (that is why
this change is safe). PresentationRequest should be converted to use
url::Origin instead of GURL to avoid unnecessary conversions. Tracked in
crbug.com/632623.
- Is it possible for a frames to not have a last committed origin? If so, the
strict checking for valid, non-empty origins will need to be relaxed.
- TODO: Add functional tests in a separate patch.
BUG=658409
Committed: https://crrev.com/e0c208309294e9c5132e713e8b04872b90c184a5
Cr-Commit-Position: refs/heads/master@{#427128}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Remove DCHECK in media_router_ui.cc #
Messages
Total messages: 10 (4 generated)
|