Bug 127173 - [GTK] WebKitGtk/testcopyandpaste fails in debug builds
Summary: [GTK] WebKitGtk/testcopyandpaste fails in debug builds
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-17 06:24 PST by Alberto Garcia
Modified: 2014-01-17 06:33 PST (History)
0 users

See Also:


Attachments
Patch (1.38 KB, patch)
2014-01-17 06:26 PST, Alberto Garcia
cgarcia: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Garcia 2014-01-17 06:24:59 PST
The PasteGlobalSelection CommandEntry appears twice in
createCommandMap, which breaks the assertion some lines below.

ASSERTION FAILED: !commandMap.get(commands[i].name)

Looks like it was added by mistake in r161638

http://trac.webkit.org/changeset/161638/trunk/Source/WebCore/editing/EditorCommand.cpp
Comment 1 Alberto Garcia 2014-01-17 06:26:27 PST
Created attachment 221462 [details]
Patch
Comment 2 Alberto Garcia 2014-01-17 06:33:44 PST
Committed r162201: <http://trac.webkit.org/changeset/162201>