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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector-protocol/resources/protocol-test.html

Issue 1470323003: [DevTools] Removed support deprecated (//@|/*@) source(URL|MappingURL)= (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js » ('j') | 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 Samsung Electronics. All rights reserved. 2 Copyright (C) 2012 Samsung Electronics. All rights reserved.
3 3
4 Redistribution and use in source and binary forms, with or without 4 Redistribution and use in source and binary forms, with or without
5 modification, are permitted provided that the following conditions 5 modification, are permitted provided that the following conditions
6 are met: 6 are met:
7 7
8 1. Redistributions of source code must retain the above copyright 8 1. Redistributions of source code must retain the above copyright
9 notice, this list of conditions and the following disclaimer. 9 notice, this list of conditions and the following disclaimer.
10 2. Redistributions in binary form must reproduce the above copyright 10 2. Redistributions in binary form must reproduce the above copyright
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 InspectorTest.expectedError = InspectorTest.checkExpectation.bind(null, true); 280 InspectorTest.expectedError = InspectorTest.checkExpectation.bind(null, true);
281 281
282 /** 282 /**
283 * @param {string} scriptName 283 * @param {string} scriptName
284 */ 284 */
285 InspectorTest.importScript = function(scriptName) 285 InspectorTest.importScript = function(scriptName)
286 { 286 {
287 var xhr = new XMLHttpRequest(); 287 var xhr = new XMLHttpRequest();
288 xhr.open("GET", scriptName, false); 288 xhr.open("GET", scriptName, false);
289 xhr.send(null); 289 xhr.send(null);
290 window.eval(xhr.responseText + "\n//@ sourceURL=" + scriptName); 290 window.eval(xhr.responseText + "\n//# sourceURL=" + scriptName);
291 } 291 }
292 292
293 InspectorTest.safeWrap = function(func, onexception) 293 InspectorTest.safeWrap = function(func, onexception)
294 { 294 {
295 function result() 295 function result()
296 { 296 {
297 if (!func) 297 if (!func)
298 return; 298 return;
299 var wrapThis = this; 299 var wrapThis = this;
300 try { 300 try {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 function enableInspectorAgent() 378 function enableInspectorAgent()
379 { 379 {
380 InspectorTest.sendCommand("Inspector.enable", { }); 380 InspectorTest.sendCommand("Inspector.enable", { });
381 } 381 }
382 382
383 window.addEventListener("load", enableInspectorAgent, false); 383 window.addEventListener("load", enableInspectorAgent, false);
384 384
385 </script> 385 </script>
386 </head> 386 </head>
387 </html> 387 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698