Comment #4 on issue 9625 by bugdro...@chromium.org: Code defect in  
XMLWriter in chrome\common\libxml_utils.cc
http://code.google.com/p/chromium/issues/detail?id=9625

The following revision refers to this bug:
     http://src.chromium.org/viewvc/chrome?view=rev&revision=13616

------------------------------------------------------------------------
r13616 | t...@google.com | 2009-04-13 15:17:02 -0700 (Mon, 13 Apr 2009) | 28  
lines
Changed paths:
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/libxml_utils.cc?r1=13616&r2=13615

Fix automated_ui_testing for XMLWriter

There was an error in InitXMLReader where it tries to delete the bufffer_
member,
setting it to null will make it work as mulhern stated.

    \src\chrome\Debug>automated_ui_tests.exe
    Started crash_service.exe so you know if a test crashes!
    [==========] Running 1 test from 1 test case.
    [----------] Global test environment set-up.
    [----------] 1 test from AutomatedUITest
    [ RUN      ] AutomatedUITest.TheOneAndOnlyTest
    .\automated_ui_tests.cc(167): error: Value of: InitXMLReader()
    Actual: false
    Expected: true
    Error initializing XMLReader

Then it crashes.

TEST=Ran the test again, doesn't crash.

BUG=9625 http://crbug.com/9625

Patch by Mohamed Mansour <m0.interact...@gmail.com> in
http://codereview.chromium.org/63001

Review URL: http://codereview.chromium.org/67094

------------------------------------------------------------------------


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to