[Webkit-unassigned] [Bug 125023] Regular expression execution affected by console.log

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 3 09:59:11 PST 2013


--- Comment #3 from Peter Bacon Darwin <pete at bacondarwin.com>  2013-12-03 09:57:31 PST ---
I am pretty sure that the issue is that the regex has been optimized so that it only actually executes when you first access a property of the resulting matches object.

In our scenario, we write to a property of this object before we have read from it.  At this point the regex has not actually executed.  As soon as we then read from the object, the regex executes and overwrites our original write.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list