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

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

Issue 2513423003: DevTools: Convert inspector-unit tests to use reusable test harness (Closed)
Patch Set: create shell module Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 799
800 Terminal.prototype = { 800 Terminal.prototype = {
801 fit: function() {}, 801 fit: function() {},
802 linkify: function() {}, 802 linkify: function() {},
803 /** @param {!Element} element */ 803 /** @param {!Element} element */
804 open: function(element) {}, 804 open: function(element) {},
805 /** @param {string} eventName * @param {!Function} handler */ 805 /** @param {string} eventName * @param {!Function} handler */
806 on: function(eventName, handler) {} 806 on: function(eventName, handler) {}
807 }; 807 };
808 808
809 var testRunner = {};
einbinder 2016/11/30 19:51:06 Can we somehow enforce that this might be undefine
chenwilliam 2016/11/30 23:06:03 I moved the type definition into the test_runner m
810 testRunner.notifyDone = function() {};
811
809 // Module namespaces. 812 // Module namespaces.
810 var Accessibility = {}; 813 var Accessibility = {};
811 var Animation = {}; 814 var Animation = {};
812 var Audits = {}; 815 var Audits = {};
813 var Audits2 = {}; 816 var Audits2 = {};
814 var Audits2Worker = {}; 817 var Audits2Worker = {};
815 var Bindings = {}; 818 var Bindings = {};
816 var CmModes = {}; 819 var CmModes = {};
817 var Common = {}; 820 var Common = {};
818 var Components = {}; 821 var Components = {};
(...skipping 14 matching lines...) Expand all
833 var Persistence = {}; 836 var Persistence = {};
834 var Platform = {}; 837 var Platform = {};
835 var Profiler = {}; 838 var Profiler = {};
836 var Resources = {}; 839 var Resources = {};
837 var Sass = {}; 840 var Sass = {};
838 var Screencast = {}; 841 var Screencast = {};
839 var SDK = {}; 842 var SDK = {};
840 var Security = {}; 843 var Security = {};
841 var Services = {}; 844 var Services = {};
842 var Settings = {}; 845 var Settings = {};
846 var Shell = {};
843 var Snippets = {}; 847 var Snippets = {};
844 var SourceFrame = {}; 848 var SourceFrame = {};
845 var Sources = {}; 849 var Sources = {};
846 var Terminal = {}; 850 var Terminal = {};
851 var TestRunner = {};
847 var TextEditor = {}; 852 var TextEditor = {};
848 var Timeline = {}; 853 var Timeline = {};
849 var TimelineModel = {}; 854 var TimelineModel = {};
850 var ToolboxBootstrap = {}; 855 var ToolboxBootstrap = {};
851 var UI = {}; 856 var UI = {};
852 var UtilitySharedWorker = {}; 857 var UtilitySharedWorker = {};
853 var WorkerService = {}; 858 var WorkerService = {};
854 var Workspace = {}; 859 var Workspace = {};
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698