<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Assertion failure when initializing Intl prototypes"
href="https://bugs.webkit.org/show_bug.cgi?id=158790">158790</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion failure when initializing Intl prototypes
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Local Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>JavaScriptCore
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>andre.bargull@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>SVN: rev202088
Build with: perl Tools/Scripts/build-jsc --gtk --debug
The following test case triggers this assertion error:
---
ASSERTION FAILED: !state.hadException()
---
Test case:
---
Object.prototype.localeMatcher = "invalid";
Intl.NumberFormat.prototype.resolvedOptions();
---
Stack trace:
---
#0 0x00007ffff6de7098 in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:317
#1 0x00007ffff6b837b8 in JSC::IntlNumberFormat::resolvedOptions (this=0x7fffaf1e3eb0, state=...) at ../../Source/JavaScriptCore/runtime/IntlNumberFormat.cpp:492
#2 0x00007ffff6b85d5f in JSC::IntlNumberFormatPrototypeFuncResolvedOptions (state=0x7fffffffcb40)
at ../../Source/JavaScriptCore/runtime/IntlNumberFormatPrototype.cpp:149
#3 0x00007fffb0bff028 in ?? ()
#4 0x00007fffffffcba0 in ?? ()
#5 0x00007ffff69f26a1 in llint_entry () at ../../Source/WTF/wtf/RefPtr.h:79
---
Similar issues can be reproduced with:
---
Object.prototype.localeMatcher = "invalid";
Intl.NumberFormat.prototype.format(0);
---
And:
---
Object.prototype.localeMatcher = "invalid";
Intl.Collator.prototype.resolvedOptions();
---
And:
---
Object.prototype.localeMatcher = "invalid";
Intl.Collator.prototype.compare();
---</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>