Skip to content

JS errors when searching API #3178

@dnfield

Description

@dnfield

go to https://api.dart.dev/dev/2.19.0-216.0.dev/index.html

Open the console

Start typing in the API search box

observe JS errors

js_helper.dart:1124 Uncaught RangeError (start): Invalid value: Not in inclusive range 0..1: 6
    at Object.b (js_helper.dart:1124:37)
    at Object.b6 (errors.dart:358:7)
    at b_.l (js_string.dart:155:22)
    at b_.F (js_string.dart:153:10)
    at iz.$2 (search.dart:382:36)
    at ip.$2 (search.dart:424:5)
    at ip.$1 (search.dart:406:3)
    at ii.$1 (search.dart:443:5)
    at no (js_helper.dart:1836:14)
    at HTMLInputElement.<anonymous> (js_helper.dart:1868:1)

image

Also observable on https://master-api.flutter.dev

@kevmoo @srawlins fyi

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1A high priority bug; for example, a single project is unusable or has many test failurescustomer-flutterIssues originating from important to Fluttertype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions