New issue
Advanced search Search tips

Issue 815367 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

DevTools frontend dragging broken when iframe'd cross-origin

Project Member Reported by paulir...@chromium.org, Feb 24 2018

Issue description

repro: 

1. open https://chrome.browserless.io/
2. hit play icon
3. after devtools frontend is visible, try to adjust the split between screencast and devtools

You can't. 


Uncaught DOMException: Blocked a frame with origin "https://chrome-devtools-frontend.appspot.com" from accessing a cross-origin frame.
    at UI.DragHandler.elementDragStart (https://chrome-devtools-frontend.appspot.com/serve_file/@7e152cf54a9222bfbc6cb4ad83898c7cc3df5ba3/shell.js:2982:437)
    at Object.UI.elementDragStart (https://chrome-devtools-frontend.appspot.com/serve_file/@7e152cf54a9222bfbc6cb4ad83898c7cc3df5ba3/shell.js:2974:198)
    at UI.SimpleResizerWidget._installDragOnMouseDown (https://chrome-devtools-frontend.appspot.com/serve_file/@7e152cf54a9222bfbc6cb4ad83898c7cc3df5ba3/shell.js:2117:17)

 
Project Member

Comment 2 by bugdroid1@chromium.org, Feb 26 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5457e482df0f30ee03965a5dfa04d4b5b9e70d73

commit 5457e482df0f30ee03965a5dfa04d4b5b9e70d73
Author: Paul Irish <paulirish@chromium.org>
Date: Mon Feb 26 06:37:53 2018

DevTools: Allow dragging when iframe'd cross-origin

Change-Id: I12afb94b6e5b920e08b3d5bf6a0a5897e54af41c
Bug:  815367 
Reviewed-on: https://chromium-review.googlesource.com/935838
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Paul Irish <paulirish@chromium.org>
Cr-Commit-Position: refs/heads/master@{#539080}
[modify] https://crrev.com/5457e482df0f30ee03965a5dfa04d4b5b9e70d73/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js

Status: Fixed (was: Started)

Sign in to add a comment