The message logged to the console when a profile has been completed uses the wrong number. 1. Open profile pane. 2. Start profiling 3. end profiling 4. look in the console If you have just created profile 1, the console reports creating prfile 2
It looks like the loop in linkifyStringAsFragment() happens twice and thus increments the profile count multiple times.
The root cause is that the constructor for ConsoleMessage calls _format twice. Once for this.message and once for this.formattedMessage.
Created attachment 23912 [details] Proposed patch
Committed revision 37066.
Reopening to fix correctly =(
Created attachment 23950 [details] Proposed patch
Comment on attachment 23950 [details] Proposed patch Don't land the change to Page.h.
Committed revision 37106.