Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js

Issue 1986463002: DevTools: decode URI passed into loadTimelineFromURL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Intel Inc. All rights reserved. 3 * Copyright (C) 2012 Intel Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 1823 matching lines...) Expand 10 before | Expand all | Expand 10 after
1834 } 1834 }
1835 1835
1836 WebInspector.LoadTimelineHandler.prototype = { 1836 WebInspector.LoadTimelineHandler.prototype = {
1837 /** 1837 /**
1838 * @override 1838 * @override
1839 * @param {string} value 1839 * @param {string} value
1840 */ 1840 */
1841 handleQueryParam: function(value) 1841 handleQueryParam: function(value)
1842 { 1842 {
1843 WebInspector.TimelinePanel.show(); 1843 WebInspector.TimelinePanel.show();
1844 WebInspector.TimelinePanel.instance()._loadFromURL(value); 1844 WebInspector.TimelinePanel.instance()._loadFromURL(window.decodeURICompo nent(value));
1845 } 1845 }
1846 } 1846 }
1847 1847
1848 /** 1848 /**
1849 * @constructor 1849 * @constructor
1850 * @implements {WebInspector.ActionDelegate} 1850 * @implements {WebInspector.ActionDelegate}
1851 */ 1851 */
1852 WebInspector.TimelinePanel.ActionDelegate = function() 1852 WebInspector.TimelinePanel.ActionDelegate = function()
1853 { 1853 {
1854 } 1854 }
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
2064 * @override 2064 * @override
2065 * @param {!WebInspector.Target} target 2065 * @param {!WebInspector.Target} target
2066 */ 2066 */
2067 targetRemoved: function(target) 2067 targetRemoved: function(target)
2068 { 2068 {
2069 this._targets.remove(target, true); 2069 this._targets.remove(target, true);
2070 }, 2070 },
2071 2071
2072 __proto__: WebInspector.Object.prototype 2072 __proto__: WebInspector.Object.prototype
2073 } 2073 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698