WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 91714
Web Inspector: Timeline: forward compatibility for load.
https://bugs.webkit.org/show_bug.cgi?id=91714
Summary
Web Inspector: Timeline: forward compatibility for load.
eustas.bug
Reported
2012-07-18 22:55:26 PDT
Created
attachment 153182
[details]
Demo screenshot When you try to load timeline data with record types unknown in current version, exception occurs. Fix: accept record of unrecognized types and render them as "unknown".
Attachments
Demo screenshot
(67.09 KB, image/png)
2012-07-18 22:55 PDT
,
eustas.bug
no flags
Details
Patch
(14.63 KB, patch)
2012-07-18 23:13 PDT
,
eustas.bug
no flags
Details
Formatted Diff
Diff
Patch
(7.25 KB, patch)
2012-07-19 03:18 PDT
,
eustas.bug
no flags
Details
Formatted Diff
Diff
Patch
(7.24 KB, patch)
2012-07-19 04:28 PDT
,
eustas.bug
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
eustas.bug
Comment 1
2012-07-18 23:13:55 PDT
Created
attachment 153184
[details]
Patch
Vsevolod Vlasov
Comment 2
2012-07-19 02:13:16 PDT
Comment on
attachment 153184
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=153184&action=review
> Source/WebCore/inspector/front-end/TimelinePresentationModel.js:66 > + var recordTypes = WebInspector.TimelineModel.RecordType;
Maybe extract _initRecordStyles() ?
> LayoutTests/inspector/timeline/timeline-load-incompatible.html:43 > +Tests the Timeline save/load of unknown (incompatible) record types.
Please add a link to the bug below.
eustas.bug
Comment 3
2012-07-19 03:17:31 PDT
Comment on
attachment 153184
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=153184&action=review
>> Source/WebCore/inspector/front-end/TimelinePresentationModel.js:66 >> + var recordTypes = WebInspector.TimelineModel.RecordType; > > Maybe extract _initRecordStyles() ?
Done.
>> LayoutTests/inspector/timeline/timeline-load-incompatible.html:43 >> +Tests the Timeline save/load of unknown (incompatible) record types. > > Please add a link to the bug below.
Done.
eustas.bug
Comment 4
2012-07-19 03:18:13 PDT
Created
attachment 153217
[details]
Patch
Andrey Kosyakov
Comment 5
2012-07-19 03:25:18 PDT
Comment on
attachment 153217
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=153217&action=review
> Source/WebCore/English.lproj/localizedStrings.js:219 > +localizedStrings["Unknown: "] = "Unknown: ";
Unknown: %s
> Source/WebCore/inspector/front-end/TimelinePresentationModel.js:115 > + title: WebInspector.UIString("Unknown: ") + WebInspector.UIString(record.type),
So where would we get a UIString for unknown records? ;-)
eustas.bug
Comment 6
2012-07-19 04:19:28 PDT
Comment on
attachment 153217
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=153217&action=review
>> Source/WebCore/English.lproj/localizedStrings.js:219 >> +localizedStrings["Unknown: "] = "Unknown: "; > > Unknown: %s
Fixed.
>> Source/WebCore/inspector/front-end/TimelinePresentationModel.js:115 >> + title: WebInspector.UIString("Unknown: ") + WebInspector.UIString(record.type), > > So where would we get a UIString for unknown records? ;-)
Hope never dies =) Fixed.
eustas.bug
Comment 7
2012-07-19 04:28:19 PDT
Created
attachment 153225
[details]
Patch
Andrey Kosyakov
Comment 8
2012-07-20 01:59:42 PDT
Comment on
attachment 153225
[details]
Patch LGTM
WebKit Review Bot
Comment 9
2012-07-20 02:41:50 PDT
Comment on
attachment 153225
[details]
Patch Clearing flags on attachment: 153225 Committed
r123198
: <
http://trac.webkit.org/changeset/123198
>
WebKit Review Bot
Comment 10
2012-07-20 02:41:55 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug