Changeset 251376 in webkit
- Timestamp:
- Oct 21, 2019 1:09:25 PM (4 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r251306 r251376 1 2019-10-21 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: replace all uses of `window.*Agent` with a target-specific call 4 https://bugs.webkit.org/show_bug.cgi?id=201149 5 6 Reviewed by Matt Baker. 7 8 Most of these were changed in r251227, but a few appear to have slipped through the cracks. 9 10 * UserInterface/Controllers/DebuggerManager.js: 11 (WI.DebuggerManager.prototype.debuggerDidResume): 12 * UserInterface/Views/SourceCodeTextEditor.js: 13 (WI.SourceCodeTextEditor.prototype._createTypeTokenAnnotator): 14 (WI.SourceCodeTextEditor.prototype._createBasicBlockAnnotator): 15 1 16 2019-10-18 Devin Rousso <drousso@apple.com> 2 17 -
trunk/Source/WebInspectorUI/UserInterface/Controllers/DebuggerManager.js
r251227 r251376 829 829 // This delay ensures the user interface does not flash between brief steps 830 830 // or successive breakpoints. 831 if (!target. DebuggerAgent.setPauseOnAssertions) {831 if (!target.hasCommand("Debugger.setPauseOnAssertions")) { 832 832 this._delayedResumeTimeout = setTimeout(this._didResumeInternal.bind(this, target), 50); 833 833 return; -
trunk/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.js
r251227 r251376 2173 2173 { 2174 2174 // COMPATIBILITY (iOS 8): Runtime.getRuntimeTypesForVariablesAtOffsets did not exist yet. 2175 if (!this.target. RuntimeAgent.getRuntimeTypesForVariablesAtOffsets)2175 if (!this.target.hasCommand("Runtime.getRuntimeTypesForVariablesAtOffsets")) 2176 2176 return; 2177 2177 … … 2186 2186 { 2187 2187 // COMPATIBILITY (iOS 8): Runtime.getBasicBlocks did not exist yet. 2188 if (!this.target. RuntimeAgent.getBasicBlocks)2188 if (!this.target.hasCommand("Runtime.getBasicBlocks")) 2189 2189 return; 2190 2190
Note: See TracChangeset
for help on using the changeset viewer.