Bug 145720

Summary: Returned Exception* values need to be initialized to nullptr when no exceptions are thrown.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Severity: Normal CC: ap, commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
the patch. none

Description Mark Lam 2015-06-05 18:06:39 PDT
For example, see https://build.webkit.org/results/Apple%20Win%207%20Release%20(Tests)/r185259%20(52263)/results.html.

The relevant failures are:

Tests that crashed:


Tests that failed text/pixel/audio diff:


These failures only seem to manifest on the Windows Release build test bots.  They don't manifest on the Debug build test bots nor Mac bots.
Comment 1 Mark Lam 2015-06-05 18:26:29 PDT
I skipped these tests for now in r185283: <http://trac.webkit.org/r185283>.

It turns out, that the inspector-protocol/debugger tests were already skipped for platform/mac and inspector-protocol is skipped entirely for Debug build on platform/win.  That may be why we don't see the failures on those bots.
Comment 2 Mark Lam 2015-06-05 23:45:11 PDT
Found the culprit: an un-initialized variable.  This makes me re-consider introducing an opaque type for encapsulating an Exception*. But for now, I'll do the minimum fix.
Comment 3 Mark Lam 2015-06-05 23:49:03 PDT
Created attachment 254407 [details]
the patch.
Comment 4 WebKit Commit Bot 2015-06-06 00:55:49 PDT
Comment on attachment 254407 [details]
the patch.

Clearing flags on attachment: 254407

Committed r185286: <http://trac.webkit.org/changeset/185286>
Comment 5 WebKit Commit Bot 2015-06-06 00:55:54 PDT
All reviewed patches have been landed.  Closing bug.