<?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>32425</bug_id>
          
          <creation_ts>2009-12-11 04:57:27 -0800</creation_ts>
          <short_desc>WebCore::executeToggleStyleInList ReadAV@NULL (08a7de8db480c4e2b2ae552176cb3df1)</short_desc>
          <delta_ts>2009-12-31 02:32:19 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows Vista</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>32823</dup_id>
          
          <bug_file_loc>http://skypher.com/SkyLined/Repro/WebKit/Bug%2032425%20-%20WebCore..executeToggleStyleInList%20ReadAV@NULL%20(08a7de8db480c4e2b2ae552176cb3df1)/repro.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Berend-Jan Wever">skylined</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>enrica</cc>
    
    <cc>eric</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>170700</commentid>
    <comment_count>0</comment_count>
      <attachid>44675</attachid>
    <who name="Berend-Jan Wever">skylined</who>
    <bug_when>2009-12-11 04:57:27 -0800</bug_when>
    <thetext>Created attachment 44675
Repro

Id:          WebCore::executeToggleStyleInList ReadAV@NULL (08a7de8db480c4e2b2ae552176cb3df1)
Description: Attempt to read from NULL pointer in WebCore::executeToggleStyleInList
Stack:
  WebCore::executeToggleStyleInList
  WebCore::executeStrikethrough
  WebCore::Editor::Command::execute
  WebCore::Document::execCommand
  WebCore::DocumentInternal::execCommandCallback
  v8::internal::Builtin_HandleApiCall
  v8::internal::Invoke
  v8::internal::Execution::Call
  v8::Script::Run
  WebCore::V8Proxy::runScript
  WebCore::V8Proxy::evaluate
  WebCore::ScriptController::evaluate
  WebCore::ScriptController::executeScript
  WebCore::ScriptController::executeScript
  WebCore::ScriptController::executeIfJavaScriptURL
  WebCore::FrameLoader::changeLocation
  WebCore::RedirectScheduler::timerFired
  WebCore::Timer&lt;...&gt;::fired
  WebCore::ThreadTimers::sharedTimerFiredInternal
  MessageLoop::RunTask
  MessageLoop::DoWork
  base::MessagePumpDefault::Run
  MessageLoop::RunInternal
  MessageLoop::Run
  RendererMain
  ChromeMain
Repro:
&lt;BODY&gt;&lt;/BODY&gt;
&lt;SCRIPT&gt;
  document.execCommand(&quot;selectall&quot;,false,2);
  document.designMode=&quot;on&quot;;
  document.execCommand(&quot;InsertHorizontalRule&quot;,false,&quot;&quot;);
  document.execCommand(&quot;Delete&quot;,false,&quot;&quot;);
  document.designMode=&quot;&quot;;
  document.execCommand(&quot;undo&quot;,false,&quot;&quot;);
  document.designMode =&quot;on&quot;;
  document.execCommand(&quot;strikethrough&quot;,false,false);
&lt;/SCRIPT&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170704</commentid>
    <comment_count>1</comment_count>
    <who name="Berend-Jan Wever">skylined</who>
    <bug_when>2009-12-11 04:59:54 -0800</bug_when>
    <thetext>Online repro</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170823</commentid>
    <comment_count>2</comment_count>
    <who name="Enrica Casucci">enrica</who>
    <bug_when>2009-12-11 10:31:45 -0800</bug_when>
    <thetext>I cannot reproduce this with Safari for Mac.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176163</commentid>
    <comment_count>3</comment_count>
    <who name="Berend-Jan Wever">skylined</who>
    <bug_when>2009-12-31 02:32:19 -0800</bug_when>
    <thetext>Mike Moretti claims there is a problem with &quot;Undo&quot; after &quot;designmode off&quot;.
https://bugs.webkit.org/show_bug.cgi?id=32822
I am assuming this is a variation of that problem.

*** This bug has been marked as a duplicate of bug 32823 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>44675</attachid>
            <date>2009-12-11 04:57:27 -0800</date>
            <delta_ts>2009-12-11 04:57:27 -0800</delta_ts>
            <desc>Repro</desc>
            <filename>repro.html</filename>
            <type>text/html</type>
            <size>354</size>
            <attacher name="Berend-Jan Wever">skylined</attacher>
            
              <data encoding="base64">PEJPRFk+PC9CT0RZPgo8U0NSSVBUPgogIGRvY3VtZW50LmV4ZWNDb21tYW5kKCJzZWxlY3RhbGwi
LGZhbHNlLDIpOwogIGRvY3VtZW50LmRlc2lnbk1vZGU9Im9uIjsKICBkb2N1bWVudC5leGVjQ29t
bWFuZCgiSW5zZXJ0SG9yaXpvbnRhbFJ1bGUiLGZhbHNlLCIiKTsKICBkb2N1bWVudC5leGVjQ29t
bWFuZCgiRGVsZXRlIixmYWxzZSwiIik7CiAgZG9jdW1lbnQuZGVzaWduTW9kZT0iIjsKICBkb2N1
bWVudC5leGVjQ29tbWFuZCgidW5kbyIsZmFsc2UsIiIpOwogIGRvY3VtZW50LmRlc2lnbk1vZGUg
PSJvbiI7CiAgZG9jdW1lbnQuZXhlY0NvbW1hbmQoInN0cmlrZXRocm91Z2giLGZhbHNlLGZhbHNl
KTsKPC9TQ1JJUFQ+
</data>

          </attachment>
      

    </bug>

</bugzilla>