Bug 93728

Summary: NRWT crashes when DRT with --encode-binary crashes just before it dumps pixels
Product: WebKit Reporter: Xianzhu Wang <wangxianzhu>
Component: Tools / TestsAssignee: Xianzhu Wang <wangxianzhu>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, dpranke, ojan, webkit.review.bot
Priority: P2 Keywords: NRWT
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Xianzhu Wang 2012-08-10 10:15:49 PDT
If DRT running with --encode-binary crashes just before it dump pixels, block.content might be set to None (returned from self._server_process.read_stdout() at driver.py:421), then block.decode_content() will cause crash of NRWT in base64.b64decode() because self.content is None.
Comment 1 Xianzhu Wang 2012-08-10 10:22:34 PDT
Created attachment 157756 [details]
Patch
Comment 2 Xianzhu Wang 2012-08-10 11:47:41 PDT
Comment on attachment 157756 [details]
Patch

Sorry for the wrong component :)
Comment 3 WebKit Review Bot 2012-08-10 12:49:37 PDT
Comment on attachment 157756 [details]
Patch

Clearing flags on attachment: 157756

Committed r125316: <http://trac.webkit.org/changeset/125316>
Comment 4 WebKit Review Bot 2012-08-10 12:49:41 PDT
All reviewed patches have been landed.  Closing bug.