[Webkit-unassigned] [Bug 148179] New: Web Inspector: Named IIFE function + ES6 default parameters in Console crashes WebKit
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 19 10:50:20 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=148179
Bug ID: 148179
Summary: Web Inspector: Named IIFE function + ES6 default
parameters in Console crashes WebKit
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: tobi+webkit at basecode.de
CC: bburg at apple.com, graouts at webkit.org,
joepeck at webkit.org, mattbaker at apple.com,
nvasilyev at apple.com, timothy at apple.com,
webkit-bug-importer at group.apple.com
* Version
WebKit nightly r188633
* SUMMARY
Executing a named IIFE function that uses ES6 default parameters in the console causes a crash.
* STEPS TO REPRODUCE
1. Open Console
2. Execute the following snippet
(function fn(oo = 'test') {
console.log(oo);
})()
=> Crashes the Browser
* EXPECTATION
Console prints "test"
Interestingly an anonymous function works:
(function(oo = 'test') {
console.log(oo);
})()
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150819/3e81e04c/attachment.html>
More information about the webkit-unassigned
mailing list