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

Side by Side Diff: sky/framework/inspector/worker-agent.sky

Issue 837933003: Convert the inspector framework to use ES6 classes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: prevent extensions Created 5 years, 11 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 | « sky/framework/inspector/runtime-agent.sky ('k') | 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 <script> 1 <script>
2 function WorkerAgent() { 2 class WorkerAgent {
3 constructor() {
4 Object.preventExtensions(this);
5 }
6
7 canInspectWorkers() {
8 return {
9 result: false
10 };
11 }
3 } 12 }
4 13
5 WorkerAgent.prototype.canInspectWorkers = function() {
6 return {
7 result: false
8 };
9 };
10
11 module.exports = WorkerAgent; 14 module.exports = WorkerAgent;
12 </script> 15 </script>
OLDNEW
« no previous file with comments | « sky/framework/inspector/runtime-agent.sky ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698