[Webkit-unassigned] [Bug 183267] New: Web Inspector: Typing Symbol.next() causes iterator advancement

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 1 15:47:41 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=183267

            Bug ID: 183267
           Summary: Web Inspector: Typing Symbol.next() causes iterator
                    advancement
           Product: WebKit
           Version: WebKit Local Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dbates at webkit.org
                CC: inspector-bugzilla-changes at group.apple.com

Perform the following:

1. Open Web Inspector console view.
2. Evaluate the following: var it = "abcdef"[Symbol.iterator]();
3. *Type* (read: do not copy and paste) the following: it.next().value
4. Press the return key on the keyboard.

The result evaluates to "b". But it should be "a".

This issue seems to only occur when typing in the inspector the expression in (3). It does not occur if you copy and paste the expression in (3) and then press the return key on the keyboard.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180301/5448ffea/attachment.html>


More information about the webkit-unassigned mailing list