Bug 127173

Summary: [GTK] WebKitGtk/testcopyandpaste fails in debug builds
Product: WebKit Reporter: Alberto Garcia <berto>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch cgarcia: review+

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>