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

Side by Side Diff: Source/devtools/front_end/main/Main.js

Issue 733473002: [DevTools] Fix WebInspector.reload regressed in r185127. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
« 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) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com).
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 */ 604 */
605 evaluateForTestInFrontend: function(callId, script) 605 evaluateForTestInFrontend: function(callId, script)
606 { 606 {
607 WebInspector.evaluateForTestInFrontend(callId, script); 607 WebInspector.evaluateForTestInFrontend(callId, script);
608 } 608 }
609 } 609 }
610 610
611 WebInspector.reload = function() 611 WebInspector.reload = function()
612 { 612 {
613 InspectorAgent.reset(); 613 InspectorAgent.reset();
614 window.location.reload(); 614 window.top.location.reload();
615 } 615 }
616 616
617 /** 617 /**
618 * @constructor 618 * @constructor
619 * @implements {WebInspector.ActionDelegate} 619 * @implements {WebInspector.ActionDelegate}
620 */ 620 */
621 WebInspector.Main.ReloadActionDelegate = function() 621 WebInspector.Main.ReloadActionDelegate = function()
622 { 622 {
623 } 623 }
624 624
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 p.classList.add("help-section"); 909 p.classList.add("help-section");
910 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically."); 910 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically.");
911 } 911 }
912 912
913 WebInspector.WorkerTerminatedScreen.prototype = { 913 WebInspector.WorkerTerminatedScreen.prototype = {
914 914
915 __proto__: WebInspector.HelpScreen.prototype 915 __proto__: WebInspector.HelpScreen.prototype
916 } 916 }
917 917
918 new WebInspector.Main(); 918 new WebInspector.Main();
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