<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>9916</bug_id>
          
          <creation_ts>2006-07-14 09:51:21 -0700</creation_ts>
          <short_desc>REGRESSION: Hitting delete in an empty text form causes a crash</short_desc>
          <delta_ts>2006-07-14 10:56:44 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>9905</dup_id>
          
          <bug_file_loc>http://www.google.com</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brady Eidson">beidson</reporter>
          <assigned_to name="Brady Eidson">beidson</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>49806</commentid>
    <comment_count>0</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2006-07-14 09:51:21 -0700</bug_when>
    <thetext>Anywhere you have an empty form if you give the form focus and press delete, ToT crashes.  Seems to be something as simple as a missing nil check...  Entirely reproducible anywhere - for example, the search field at www.google.com.

Crash trace follows - 
0   com.apple.WebCore        	0x01f66ce1 WebCore::Node::renderer() const + 9 (Node.h:314)
1   com.apple.WebCore        	0x01df731c WebCore::TypingCommand::deleteKeyPressed(WebCore::TextGranularity) + 854 (TypingCommand.cpp:343)
2   com.apple.WebCore        	0x01df82d8 WebCore::TypingCommand::doApply() + 156 (TypingCommand.cpp:197)
3   com.apple.WebCore        	0x01dd79a7 WebCore::EditCommand::apply() + 469 (EditCommand.cpp:227)
4   com.apple.WebCore        	0x01dd7a91 WebCore::EditCommandPtr::apply() const + 81 (EditCommand.cpp:80)
5   com.apple.WebCore        	0x01df7f23 WebCore::TypingCommand::deleteKeyPressed(WebCore::Document*, bool, WebCore::TextGranularity) + 363 (TypingCommand.cpp:73)
6   com.apple.WebCore        	0x01cedadc -[WebCoreFrameBridge deleteKeyPressedWithSmartDelete:granularity:] + 110 (WebCoreFrameBridge.mm:2172)
7   com.apple.WebKit         	0x0104d0c8 -[WebHTMLView(WebHTMLViewFileInternal) _deleteRange:killRing:prepend:smartDeleteOK:deletionAction:granularity:] + 404 (WebHTMLView.m:605)
8   com.apple.WebKit         	0x0105fbb9 -[WebHTMLView _deleteWithDirection:granularity:killRing:isTypingAction:] + 290 (WebHTMLView.m:4554)
9   com.apple.WebKit         	0x0105fc8a -[WebHTMLView deleteBackward:] + 94 (WebHTMLView.m:4569)
10  com.apple.AppKit         	0x9348e35d -[NSResponder doCommandBySelector:] + 76
11  com.apple.WebKit         	0x01062d5c -[WebHTMLView(WebNSTextInputSupport) doCommandBySelector:] + 148 (WebHTMLView.m:5389)
12  com.apple.AppKit         	0x93483965 -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) interpretEventAsCommand:forClient:] + 1932
13  com.apple.AppKit         	0x93481ed1 -[NSTSMInputContext interpretKeyEvents:] + 1157
14  com.apple.AppKit         	0x93481276 -[NSView interpretKeyEvents:] + 65
15  com.apple.WebKit         	0x0105b477 -[WebHTMLView _interceptEditingKeyEvent:] + 246 (WebHTMLView.m:3496)
16  com.apple.WebKit         	0x0105b5e5 -[WebHTMLView keyDown:] + 351 (WebHTMLView.m:3516)
17  com.apple.AppKit         	0x93480ce9 -[NSWindow sendEvent:] + 7377
18  com.apple.Safari         	0x000c06b8 -[Window sendEvent:] + 222 (Window.m:77)
19  com.apple.AppKit         	0x93472524 -[NSApplication sendEvent:] + 5023
20  com.apple.Safari         	0x00024d88 -[BrowserApplication sendEvent:] + 515
21  com.apple.AppKit         	0x9339d106 -[NSApplication run] + 547
22  com.apple.AppKit         	0x93391037 NSApplicationMain + 573
23  com.apple.Safari         	0x000bae0d main + 333
24  com.apple.Safari         	0x00002cd6 _start + 228 (crt.c:272)
25  com.apple.Safari         	0x00002bf1 start + 41</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49807</commentid>
    <comment_count>1</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2006-07-14 09:56:44 -0700</bug_when>
    <thetext>In Radar, bug number 4630522</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49808</commentid>
    <comment_count>2</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2006-07-14 09:57:52 -0700</bug_when>
    <thetext>This is a regression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49810</commentid>
    <comment_count>3</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2006-07-14 10:18:21 -0700</bug_when>
    <thetext>Duplicate of 9905, fixed in revision 15427</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49811</commentid>
    <comment_count>4</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2006-07-14 10:20:16 -0700</bug_when>
    <thetext>Verified + closing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49812</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-07-14 10:56:26 -0700</bug_when>
    <thetext>Reopen to mark duplicate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49813</commentid>
    <comment_count>6</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-07-14 10:56:35 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 9905 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>