v148 · Security · ContextJ Demo
ContextJ Demo
Tests domain name strings against Chrome 148's IDNA ContextJ validation via new URL(). Valid joining character usage is accepted; invalid usage throws.
Chrome 148 validates ZWJ (U+200D) and ZWNJ (U+200C) within IDN labels against IDNA2008 ContextJ rules. Domain names that use these invisible joiners outside their permitted Unicode contexts are rejected as invalid URLs.
test cases
| Domain | Joiner used | Chrome 148 result | Reason |
|---|---|---|---|
| example.com | None | ✓ Valid | Pure ASCII — no joining character issues |
| münchen.de | None | ✓ Valid | Latin script with umlaut — valid IDN, no joiners |
| कामकाज.com | ZWNJ (U+200C) | ✓ Valid | ZWNJ after Devanagari Virama — permitted by ContextJ rule |
| example.com | ZWJ (U+200D) | ✗ Invalid | ZWJ between Latin letters — no joining context; rejected |
| example.com | ZWNJ at start | ✗ Invalid | ZWNJ at label start — no preceding Virama; rejected |
| test.com | ZWNJ before dot | ✗ Invalid | ZWNJ at label end — no valid context; rejected |
live validation
Test a domain with new URL()
Enter a domain and click Test
Quick tests (click to load):
see also
implementation reference
Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗