RESOLVED FIXED Bug 113798
Web Inspector: [REGRESSION(r147117)][Elements] Copy/paste keyboard shortcuts broken in "Edit as HTML"
https://bugs.webkit.org/show_bug.cgi?id=113798
Summary Web Inspector: [REGRESSION(r147117)][Elements] Copy/paste keyboard shortcuts ...
WebKit Review Bot
Reported 2013-04-02 09:32:16 PDT
http://trac.webkit.org/changeset/147117 broke the build: This patch breaks copy/paste keyboard shortcuts in Edit as HTML in Elements panel (Requested by alph on #webkit). This is an automatic bug report generated by the sheriff-bot. If this bug report was created because of a flaky test, please file a bug for the flaky test (if we don't already have one on file) and dup this bug against that bug so that we can track how often these flaky tests case pain. "Only you can prevent forest fires." -- Smokey the Bear
Attachments
ROLLOUT of r147117 (16.80 KB, patch)
2013-04-02 09:32 PDT, WebKit Review Bot
no flags
Patch (3.60 KB, patch)
2013-04-02 11:44 PDT, Alexander Pavlov (apavlov)
no flags
Patch (3.07 KB, patch)
2013-04-02 12:34 PDT, Alexander Pavlov (apavlov)
no flags
WebKit Review Bot
Comment 1 2013-04-02 09:32:48 PDT
Created attachment 196164 [details] ROLLOUT of r147117 Any committer can land this patch automatically by marking it commit-queue+. The commit-queue will build and test the patch before landing to ensure that the rollout will be successful. This process takes approximately 15 minutes. If you would like to land the rollout faster, you can use the following command: webkit-patch land-attachment ATTACHMENT_ID where ATTACHMENT_ID is the ID of this attachment.
Alexander Pavlov (apavlov)
Comment 2 2013-04-02 10:10:22 PDT
Comment on attachment 196164 [details] ROLLOUT of r147117 I'm preparing a fix.
Alexander Pavlov (apavlov)
Comment 3 2013-04-02 11:44:52 PDT
Pavel Feldman
Comment 4 2013-04-02 11:57:31 PDT
Comment on attachment 196198 [details] Patch I think editor should stop propagation of these events instead.
Alexander Pavlov (apavlov)
Comment 5 2013-04-02 12:34:36 PDT
Yury Semikhatsky
Comment 6 2013-04-03 02:36:03 PDT
Comment on attachment 196211 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=196211&action=review > Source/WebCore/inspector/front-end/UIUtils.js:460 > + element.addEventListener("copy", consumeCopy, true); Should "copy" event listener be added/removed in WebInspector.CodeMirrorCSSLoadView show/detach? Or do we want to handle copy event in other places?
Alexander Pavlov (apavlov)
Comment 7 2013-04-03 02:40:56 PDT
Comment on attachment 196211 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=196211&action=review >> Source/WebCore/inspector/front-end/UIUtils.js:460 >> + element.addEventListener("copy", consumeCopy, true); > > Should "copy" event listener be added/removed in WebInspector.CodeMirrorCSSLoadView show/detach? Or do we want to handle copy event in other places? CodeMirrorCSSLoadView is a fake view to handle CSS [un]loading required for the editor. This code is the most low-level one that manages the CodeMirror lifecycle, until we make CodeMirrorTextEditor universal enough to support various kinds of content editing.
WebKit Review Bot
Comment 8 2013-04-03 03:23:23 PDT
Comment on attachment 196211 [details] Patch Clearing flags on attachment: 196211 Committed r147535: <http://trac.webkit.org/changeset/147535>
WebKit Review Bot
Comment 9 2013-04-03 03:23:26 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.