Bug 186773

Summary: [WSL] && and || should short-circuit
Product: WebKit Reporter: Robin Morisset <rmorisset>
Component: WebGPUAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: jer.noble, tdenney
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 176199    

Robin Morisset
Reported 2018-06-18 09:14:47 PDT
In particular, the following code should not trap: ``` bool x = false; if (false && (x = true)) {} if (x) trap; ```
Attachments
Thomas Denney
Comment 1 2018-07-20 11:15:26 PDT
This is resolved by https://bugs.webkit.org/show_bug.cgi?id=187779 (I didn't realize that there was an existing bug for this).
Jer Noble
Comment 2 2018-07-20 15:35:12 PDT
*** This bug has been marked as a duplicate of bug 187779 ***
Myles C. Maxfield
Comment 3 2018-10-13 15:48:36 PDT
Note You need to log in before you can comment on or make changes to this bug.