Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js b/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js |
| index f00de1e730c3a007edf88f74aad57414255d5341..012aef4dc7d9f749c94e86daaae28169e4788dfb 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js |
| @@ -678,7 +678,9 @@ WebInspector.ElementsTreeElement.prototype = { |
| WebInspector.handleElementValueModifications(event, attribute); |
| return ""; |
| } |
| - config.setPostKeydownFinishHandler(postKeyDownFinishHandler); |
| + |
| + if (!(new WebInspector.ParsedURL(attributeValueElement.textContent).isValid)) |
|
dgozman
2016/07/29 23:12:38
if (!attributeValueElement.textContent.asParsedURL
lushnikov
2016/07/29 23:29:41
sweet 8) thanks!
|
| + config.setPostKeydownFinishHandler(postKeyDownFinishHandler); |
| this._editing = WebInspector.InplaceEditor.startEditing(attribute, config); |