nvasilyev@apple.com | 1a133f3 | 2018-01-16 20:23:12 +0000 | [diff] [blame] | 1 | 2018-01-16 Nikita Vasilyev <nvasilyev@apple.com> |
| 2 | |
nvasilyev@apple.com | 7afead0 | 2018-01-16 20:31:54 +0000 | [diff] [blame^] | 3 | Web Inspector: Styles Redesign: Long value causes bad wrapping |
| 4 | https://bugs.webkit.org/show_bug.cgi?id=181618 |
| 5 | <rdar://problem/36485175> |
| 6 | |
| 7 | Reviewed by Joseph Pecoraro. |
| 8 | |
| 9 | Wrap long values only when editing. |
| 10 | |
| 11 | * UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.css: |
| 12 | (.spreadsheet-style-declaration-editor .value.editing): |
| 13 | |
| 14 | 2018-01-16 Nikita Vasilyev <nvasilyev@apple.com> |
| 15 | |
nvasilyev@apple.com | 1a133f3 | 2018-01-16 20:23:12 +0000 | [diff] [blame] | 16 | Web Inspector: Styles Redesign: clicking on the white space after the property sometimes places a blank property at the wrong index |
| 17 | https://bugs.webkit.org/show_bug.cgi?id=179585 |
| 18 | <rdar://problem/35490780> |
| 19 | |
| 20 | Reviewed by Joseph Pecoraro. |
| 21 | |
| 22 | * UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.js: |
| 23 | (WI.SpreadsheetCSSStyleDeclarationEditor.prototype.spreadsheetStylePropertyRemoved): |
| 24 | Layout call is needed to update data-property-index attributes on the property views. |
| 25 | |
commit-queue@webkit.org | ad830a3 | 2018-01-16 20:20:35 +0000 | [diff] [blame] | 26 | 2018-01-16 Joseph Pecoraro <pecoraro@apple.com> |
| 27 | |
| 28 | Web Inspector: Network Tab - Export HAR Context Menu not working |
| 29 | https://bugs.webkit.org/show_bug.cgi?id=181694 |
| 30 | <rdar://problem/36479197> |
| 31 | |
| 32 | Reviewed by Brian Burg. |
| 33 | |
| 34 | * UserInterface/Views/NetworkTableContentView.js: |
| 35 | (WI.NetworkTableContentView.prototype.tableCellContextMenuClicked): |
| 36 | Ensure `this` works in the handler. |
| 37 | |
mattbaker@apple.com | 3482298 | 2018-01-16 07:03:57 +0000 | [diff] [blame] | 38 | 2018-01-15 Matt Baker <mattbaker@apple.com> |
| 39 | |
| 40 | Web Inspector: TabBar redesign: add context menu to TabBar for toggling available tabs |
| 41 | https://bugs.webkit.org/show_bug.cgi?id=181448 |
| 42 | <rdar://problem/36383298> |
| 43 | |
| 44 | Reviewed by Devin Rousso. |
| 45 | |
| 46 | * UserInterface/Base/Main.js: |
| 47 | (WI.loaded): |
| 48 | (WI.contentLoaded): |
| 49 | Reorder production tab classes and default (open) tabs. |
| 50 | (WI.registerTabClass): Removed. |
| 51 | Not used. |
| 52 | |
| 53 | * UserInterface/Base/Object.js: |
| 54 | Remove notification that is no longer used. |
| 55 | |
| 56 | * UserInterface/Views/GeneralTabBarItem.js: |
| 57 | (WI.GeneralTabBarItem): |
| 58 | (WI.GeneralTabBarItem.prototype.set title): |
| 59 | (WI.GeneralTabBarItem.prototype._handleContextMenuEvent): Deleted. |
| 60 | Remove per-tab context menu (provided Close Tab and Close Other Tabs). |
| 61 | |
| 62 | * UserInterface/Views/NewTabContentView.js: |
| 63 | (WI.NewTabContentView): |
| 64 | |
| 65 | * UserInterface/Views/TabBar.js: |
| 66 | (WI.TabBar): |
| 67 | (WI.TabBar.prototype._handleContextMenu): |
| 68 | |
| 69 | * UserInterface/Views/TabBrowser.js: |
| 70 | (WI.TabBrowser): |
| 71 | (WI.TabBrowser._handleNewTabContextMenu): Deleted. |
| 72 | No longer needed. |
| 73 | |
nvasilyev@apple.com | 460e735 | 2018-01-14 04:06:15 +0000 | [diff] [blame] | 74 | 2018-01-13 Nikita Vasilyev <nvasilyev@apple.com> |
| 75 | |
| 76 | Web Inspector: Styles Redesign: properties should never be semitransparent or crossed out while editing |
| 77 | https://bugs.webkit.org/show_bug.cgi?id=180793 |
| 78 | <rdar://problem/36038813> |
| 79 | |
| 80 | Reviewed by Devin Rousso. |
| 81 | |
| 82 | * UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.css: |
| 83 | (.spreadsheet-style-declaration-editor .value.editing): |
| 84 | (.spreadsheet-style-declaration-editor .property:matches(.invalid-name, .other-vendor, .overridden):not(.disabled) .content > *): |
| 85 | (.spreadsheet-style-declaration-editor .property.invalid-name:not(.disabled) .content > *): |
| 86 | (.spreadsheet-style-declaration-editor .property.invalid-value:not(.disabled) .content .value): |
| 87 | (.spreadsheet-style-declaration-editor .property.not-inherited .content > *): |
| 88 | * UserInterface/Views/SpreadsheetStyleProperty.js: |
| 89 | (WI.SpreadsheetStyleProperty.prototype._update): |
| 90 | |
commit-queue@webkit.org | 5396259 | 2018-01-12 21:03:22 +0000 | [diff] [blame] | 91 | 2018-01-12 Joseph Pecoraro <pecoraro@apple.com> |
| 92 | |
commit-queue@webkit.org | 0b67c28 | 2018-01-12 21:47:07 +0000 | [diff] [blame] | 93 | Web Inspector: Drop support for iOS 7 targets |
| 94 | https://bugs.webkit.org/show_bug.cgi?id=181549 |
| 95 | <rdar://problem/36444813> |
| 96 | |
| 97 | Reviewed by Brian Burg. |
| 98 | |
| 99 | * Versions/Inspector-iOS-7.0.json: Removed. |
| 100 | * UserInterface/Protocol/Legacy/7.0/InspectorBackendCommands.js: Removed. |
| 101 | Remove protocol snapshot and generated commands for iOS 7. |
| 102 | |
| 103 | * UserInterface/Base/Main.js: |
| 104 | * UserInterface/Controllers/BreakpointPopoverController.js: |
| 105 | (WI.BreakpointPopoverController.prototype._createPopoverContent): |
| 106 | * UserInterface/Controllers/DebuggerManager.js: |
| 107 | (WI.DebuggerManager.prototype._setBreakpoint): |
| 108 | * UserInterface/Controllers/SourceMapManager.js: |
| 109 | (WI.SourceMapManager.prototype._loadAndParseSourceMap): |
| 110 | * UserInterface/Models/Instrument.js: |
| 111 | (WI.Instrument.startLegacyTimelineAgent): |
| 112 | * UserInterface/Models/ResourceTimingData.js: |
| 113 | * UserInterface/Models/ScriptTimelineRecord.js: |
| 114 | (WI.ScriptTimelineRecord.EventType.displayName): |
| 115 | * UserInterface/Models/SourceMapResource.js: |
| 116 | (WI.SourceMapResource.prototype.requestContentFromBackend): |
| 117 | * UserInterface/Protocol/CSSObserver.js: |
| 118 | (WI.CSSObserver.prototype.regionLayoutUpdated): Deleted. |
| 119 | * UserInterface/Protocol/RemoteObject.js: |
| 120 | (WI.RemoteObject.fromPayload): |
| 121 | Remove code that was only necessary to support iOS 7. |
| 122 | |
| 123 | 2018-01-12 Joseph Pecoraro <pecoraro@apple.com> |
| 124 | |
commit-queue@webkit.org | 5396259 | 2018-01-12 21:03:22 +0000 | [diff] [blame] | 125 | Web Inspector: Support JSX (React) syntax highlighting |
| 126 | https://bugs.webkit.org/show_bug.cgi?id=181607 |
| 127 | <rdar://problem/36442564> |
| 128 | |
| 129 | Reviewed by Brian Burg. |
| 130 | |
| 131 | * UserInterface/Base/MIMETypeUtilities.js: |
| 132 | (WI.mimeTypeForFileExtension): |
| 133 | (WI.fileExtensionForMIMEType): |
| 134 | * UserInterface/Models/Resource.js: |
| 135 | Support the jsx extension and mime types. |
| 136 | |
| 137 | * UserInterface/Main.html: |
| 138 | * Scripts/update-codemirror-resources.rb: |
| 139 | * UserInterface/External/CodeMirror/jsx.js: Added. |
| 140 | Include new mode from CodeMirror@d8926768. |
| 141 | |
commit-queue@webkit.org | ecdf31a | 2018-01-11 08:19:08 +0000 | [diff] [blame] | 142 | 2018-01-11 Joseph Pecoraro <pecoraro@apple.com> |
| 143 | |
commit-queue@webkit.org | c47e70e | 2018-01-12 00:30:45 +0000 | [diff] [blame] | 144 | Web Inspector: Rename "Query String" section as "Query String Parameters" for clarity |
| 145 | https://bugs.webkit.org/show_bug.cgi?id=181464 |
| 146 | |
| 147 | Reviewed by Darin Adler. |
| 148 | |
| 149 | * Localizations/en.lproj/localizedStrings.js: |
| 150 | * UserInterface/Views/ResourceHeadersContentView.js: |
| 151 | (WI.ResourceHeadersContentView.prototype.initialLayout): |
| 152 | |
| 153 | 2018-01-11 Joseph Pecoraro <pecoraro@apple.com> |
| 154 | |
commit-queue@webkit.org | ecdf31a | 2018-01-11 08:19:08 +0000 | [diff] [blame] | 155 | Web Inspector: Remove unused variable in WI.DebuggerSidebarPanel |
| 156 | https://bugs.webkit.org/show_bug.cgi?id=181517 |
| 157 | |
| 158 | Reviewed by Matt Baker. |
| 159 | |
| 160 | * UserInterface/Views/DebuggerSidebarPanel.js: |
| 161 | |
commit-queue@webkit.org | d0acc27 | 2018-01-11 07:05:12 +0000 | [diff] [blame] | 162 | 2018-01-10 Joseph Pecoraro <pecoraro@apple.com> |
| 163 | |
commit-queue@webkit.org | 2f64c11 | 2018-01-11 07:07:52 +0000 | [diff] [blame] | 164 | REGRESSION(r218975): Web Inspector: Add back NavigationSidebarPanel initialization parameter used by SearchSidebarPanel (top overflow shadow) |
| 165 | https://bugs.webkit.org/show_bug.cgi?id=181518 |
| 166 | <rdar://problem/36427197> |
| 167 | |
| 168 | Reviewed by Matt Baker. |
| 169 | |
| 170 | * UserInterface/Views/NavigationSidebarPanel.css: |
| 171 | (.sidebar > .panel.navigation > .overflow-shadow.top): |
| 172 | * UserInterface/Views/NavigationSidebarPanel.js: |
| 173 | (WI.NavigationSidebarPanel): |
| 174 | Add back the initialization parameter still used by SearchSidebarPanel |
| 175 | and add back its implementation. There were still references to |
| 176 | dynamically update _topOverflowShadowElement in NavigationSidebarPanel. |
| 177 | |
| 178 | 2018-01-10 Joseph Pecoraro <pecoraro@apple.com> |
| 179 | |
commit-queue@webkit.org | d0acc27 | 2018-01-11 07:05:12 +0000 | [diff] [blame] | 180 | Web Inspector: Incorrect check with WI.debuggableType |
| 181 | https://bugs.webkit.org/show_bug.cgi?id=181515 |
| 182 | <rdar://problem/36425509> |
| 183 | |
| 184 | Reviewed by Brian Burg. |
| 185 | |
| 186 | * UserInterface/Base/Main.js: |
| 187 | (WI.contentLoaded): |
| 188 | This moved to WI.sharedApp a while ago. |
| 189 | |
mattbaker@apple.com | ef5b437 | 2018-01-11 03:36:29 +0000 | [diff] [blame] | 190 | 2018-01-10 Matt Baker <mattbaker@apple.com> |
| 191 | |
| 192 | Web Inspector: Canvas tab: throttle recording slider updates |
| 193 | https://bugs.webkit.org/show_bug.cgi?id=180839 |
| 194 | <rdar://problem/36057849> |
| 195 | |
| 196 | Reviewed by Joseph Pecoraro |
| 197 | |
| 198 | * UserInterface/Base/Utilities.js: |
| 199 | Add Object.throttle and Function.cancelThrottle. Repeated calls to a |
| 200 | function on a throttled object are delayed, so that the function isn't |
| 201 | invoked more frequently than the specified delay value. |
| 202 | |
| 203 | For a description of throttling behavior see: |
| 204 | - http://www.chrislondon.co/throttling-vs-debouncing |
| 205 | - http://benalman.com/projects/jquery-throttle-debounce-plugin |
| 206 | |
| 207 | * UserInterface/Views/RecordingContentView.js: |
| 208 | (WI.RecordingContentView.prototype.updateActionIndex): |
| 209 | Throttle frequency of canvas snapshot creation to 200ms. |
| 210 | (WI.RecordingContentView.prototype.hidden): |
| 211 | Prevent trailing edge call after hiding the view. |
| 212 | |
commit-queue@webkit.org | 97cca38 | 2018-01-10 20:19:20 +0000 | [diff] [blame] | 213 | 2018-01-10 Joseph Pecoraro <pecoraro@apple.com> |
| 214 | |
| 215 | Web Inspector: Should not try to autocomplete subsections of a string |
| 216 | https://bugs.webkit.org/show_bug.cgi?id=181461 |
| 217 | <rdar://problem/36369421> |
| 218 | |
| 219 | Reviewed by Brian Burg. |
| 220 | |
| 221 | * UserInterface/Controllers/CodeMirrorCompletionController.js: |
| 222 | (WI.CodeMirrorCompletionController.prototype._completeAtCurrentPosition): |
| 223 | Disable autocompletion within strings. |
| 224 | |
commit-queue@webkit.org | 2b3c666 | 2018-01-10 03:17:27 +0000 | [diff] [blame] | 225 | 2018-01-09 Joseph Pecoraro <pecoraro@apple.com> |
| 226 | |
| 227 | REGRESSION(r201855): Web Inspector: Should see "length" autocompletion suggestion on a string literal |
| 228 | https://bugs.webkit.org/show_bug.cgi?id=181462 |
| 229 | <rdar://problem/36390699> |
| 230 | |
| 231 | Reviewed by Matt Baker. |
| 232 | |
| 233 | * UserInterface/Controllers/JavaScriptRuntimeCompletionProvider.js: |
| 234 | (WI.JavaScriptRuntimeCompletionProvider.prototype.completionControllerCompletionsNeeded.inspectedPage_evalResult_getCompletions): |
| 235 | This is code that runs on the inspected target, which may have an old version of |
| 236 | WebKit/JavaScriptCore, so don't use new syntax like this. |
| 237 | |
| 238 | (WI.JavaScriptRuntimeCompletionProvider.prototype.completionControllerCompletionsNeeded): |
| 239 | We intended to return the result by as a JSON value instead of a RemoteObject. |
| 240 | |
ross.kirsling@sony.com | c9167ef | 2018-01-10 02:43:36 +0000 | [diff] [blame] | 241 | 2018-01-09 Ross Kirsling <ross.kirsling@sony.com> |
| 242 | |
| 243 | Web Inspector: Layers sidebar shows popover on selection even when collapsed |
| 244 | https://bugs.webkit.org/show_bug.cgi?id=181465 |
| 245 | |
| 246 | Reviewed by Matt Baker. |
| 247 | |
| 248 | * UserInterface/Views/LayerDetailsSidebarPanel.js: |
| 249 | (WI.LayerDetailsSidebarPanel.prototype.selectNodeByLayerId): |
| 250 | Have sidebar show itself if necessary before displaying popover. |
| 251 | |
commit-queue@webkit.org | ba467f2 | 2018-01-08 17:42:17 +0000 | [diff] [blame] | 252 | 2018-01-08 Joseph Pecoraro <pecoraro@apple.com> |
| 253 | |
| 254 | Web Inspector: Find next / previous within a resource content view does not have bouncy highlight when editor scrolls |
| 255 | https://bugs.webkit.org/show_bug.cgi?id=181279 |
| 256 | <rdar://problem/36291097> |
| 257 | |
| 258 | Reviewed by Brian Burg. |
| 259 | |
| 260 | * UserInterface/Views/TextEditor.js: |
| 261 | (WI.TextEditor.prototype._revealSearchResult): |
| 262 | Reposition the bouncy highlight on scroll based on the CodeMirror |
| 263 | line/ch position of the search result. |
| 264 | |
| 265 | (WI.TextEditor.prototype._removeBouncyHighlightElementIfNeeded): |
| 266 | Track the bouncy highlight scroll handler in a member variable so that |
| 267 | we always remember to remove it and don't leak scroll handlers. |
| 268 | |
ddkilzer@apple.com | 925e86e | 2018-01-08 06:00:43 +0000 | [diff] [blame] | 269 | 2018-01-07 David Kilzer <ddkilzer@apple.com> |
| 270 | |
| 271 | Enable -Wcast-qual for WebInspectorUI, WebKitLegacy, WebKit projects |
| 272 | <https://webkit.org/b/181256> |
| 273 | <rdar://problem/36281730> |
| 274 | |
| 275 | Reviewed by Darin Adler. |
| 276 | |
| 277 | * Configurations/Base.xcconfig: |
| 278 | (WARNING_CFLAGS): Add -Wcast-qual. |
| 279 | |
commit-queue@webkit.org | 8f8a4b9 | 2018-01-06 01:29:12 +0000 | [diff] [blame] | 280 | 2018-01-05 Joseph Pecoraro <pecoraro@apple.com> |
| 281 | |
| 282 | Web Inspector: Add another Protocol Version |
| 283 | https://bugs.webkit.org/show_bug.cgi?id=181354 |
| 284 | <rdar://problem/35432817> |
| 285 | |
| 286 | Reviewed by Matt Baker. |
| 287 | |
| 288 | * UserInterface/Protocol/Legacy/11.3/InspectorBackendCommands.js: Added. |
| 289 | * Versions/Inspector-iOS-11.3.json: Added. |
| 290 | |
webkit@devinrousso.com | 9cefadd | 2018-01-05 06:40:30 +0000 | [diff] [blame] | 291 | 2018-01-04 Devin Rousso <webkit@devinrousso.com> |
| 292 | |
| 293 | Web Inspector: replace HTMLCanvasElement with CanvasRenderingContext for instrumentation logic |
| 294 | https://bugs.webkit.org/show_bug.cgi?id=180770 |
| 295 | |
| 296 | Reviewed by Joseph Pecoraro. |
| 297 | |
| 298 | * UserInterface/Models/Canvas.js: |
| 299 | (WI.Canvas.fromPayload): |
| 300 | (WI.Canvas.prototype.get contextType): |
| 301 | (WI.Canvas.prototype.saveIdentityToCookie): |
| 302 | (WI.Canvas.prototype.get frame): Deleted. |
| 303 | |
commit-queue@webkit.org | b8865be | 2018-01-05 04:34:07 +0000 | [diff] [blame] | 304 | 2018-01-04 Joseph Pecoraro <pecoraro@apple.com> |
| 305 | |
| 306 | REGRESSION (r225709): Web Inspector: CSS Source maps not loading |
| 307 | https://bugs.webkit.org/show_bug.cgi?id=181314 |
| 308 | <rdar://problem/36177620> |
| 309 | |
| 310 | Reviewed by Brian Burg. |
| 311 | |
| 312 | * UserInterface/Controllers/SourceMapManager.js: |
| 313 | (WI.SourceMapManager.prototype._loadAndParseSourceMap): |
| 314 | * UserInterface/Models/SourceMapResource.js: |
| 315 | (WI.SourceMapResource.prototype.requestContentFromBackend): |
| 316 | Correct this so that we only fall back to a reasonable frame id |
| 317 | if we couldn't determine a frame id from earlier. Previously this |
| 318 | was incorrectly clearing the frame id if we had gotten it earlier. |
| 319 | |
| 320 | * UserInterface/Test.html: |
| 321 | * UserInterface/Test/Test.js: |
| 322 | (WI.loaded): |
| 323 | Add SourceMap related files for tests. |
| 324 | |
bburg@apple.com | 948fbb6 | 2018-01-04 21:29:13 +0000 | [diff] [blame] | 325 | 2018-01-04 Brian Burg <bburg@apple.com> |
| 326 | |
bburg@apple.com | d437357 | 2018-01-05 00:00:25 +0000 | [diff] [blame] | 327 | Web Inspector: Capture Element Screenshot looks fuzzy |
| 328 | https://bugs.webkit.org/show_bug.cgi?id=175734 |
| 329 | <rdar://problem/33803377> |
| 330 | |
| 331 | Reviewed by Joseph Pecoraro and Simon Fraser. |
| 332 | |
| 333 | Spruce up these functions a bit. They now optionally return a promise |
| 334 | if no callback is supplied. They now can take either a WI.DOMNode or a node id. |
| 335 | |
| 336 | * UserInterface/Controllers/DOMTreeManager.js: |
| 337 | (WI.DOMTreeManager.prototype.querySelector): |
| 338 | (WI.DOMTreeManager.prototype.querySelectorAll): |
| 339 | |
| 340 | 2018-01-04 Brian Burg <bburg@apple.com> |
| 341 | |
bburg@apple.com | 948fbb6 | 2018-01-04 21:29:13 +0000 | [diff] [blame] | 342 | Web Inspector: add RemoteObject.fetchProperties and some basic tests for RemoteObject API |
| 343 | https://bugs.webkit.org/show_bug.cgi?id=180945 |
| 344 | |
| 345 | Reviewed by Joseph Pecoraro. |
| 346 | |
| 347 | Add a new method, fetchProperties, which async fetches an arbitrary list of properties |
| 348 | from a RemoteObject. This is intended for writing tests and other quick evaluations, |
| 349 | so it has some behaviors that are suitable in these situations: |
| 350 | - If the evaluation throws an exception, the result will reject with that exception. |
| 351 | - If there is a protocol error for some reason, the result will reject with an exception. |
| 352 | - Non-string and non-number keys cause an exception, as this is probably not intended. |
| 353 | - Does not accept a callback, returns a promise only. New code should use async. |
| 354 | |
| 355 | For full fidelity introspection of property descriptors, clients should use the existing |
| 356 | getOwnPropertyDescriptor[s] class of methods. |
| 357 | |
| 358 | * UserInterface/Protocol/RemoteObject.js: |
| 359 | (WI.RemoteObject.prototype.async.fetchProperties): Added. |
| 360 | - Validate specified keys and remove duplicates. |
| 361 | - Request properties one-by-one to avoid fetching all descriptors and dealing with previews. |
| 362 | - Unwrap returned primitive values to avoid unnecessary munging in tests. |
| 363 | |
| 364 | (WI.RemoteObject.prototype.getProperty): |
| 365 | - Rework this to return a promise if no callback was supplied. |
| 366 | - Introduce stricter property type checking to avoid unintended mistakes. |
| 367 | |
| 368 | (WI.RemoteObject.prototype.callFunction): |
| 369 | - Rework this to return a promise if no callback was supplied. |
| 370 | - Turn thrown exceptions and protocol errors into rejected promises. |
| 371 | |
commit-queue@webkit.org | dde3a32 | 2018-01-04 20:56:43 +0000 | [diff] [blame] | 372 | 2018-01-04 Joseph Pecoraro <pecoraro@apple.com> |
| 373 | |
| 374 | Web Inspector: โG / โงโG text search does not working after closing find banner |
| 375 | https://bugs.webkit.org/show_bug.cgi?id=181280 |
| 376 | <rdar://problem/36291175> |
| 377 | |
| 378 | Reviewed by Matt Baker. |
| 379 | |
| 380 | * UserInterface/Views/ContentBrowser.js: |
| 381 | (WI.ContentBrowser.prototype._findBannerDidHide): |
| 382 | When the find banner is hidden trigger a new ContentView method, |
| 383 | searchHidden instead of the destructive searchCleared. This allows |
| 384 | most content views (text editors, DOM tree, Network Headers view) |
| 385 | to keep their populated search results. |
| 386 | |
| 387 | * UserInterface/Views/ContentView.js: |
| 388 | (WI.ContentView.prototype.searchHidden): |
| 389 | * UserInterface/Views/LogContentView.js: |
| 390 | (WI.LogContentView.prototype.searchHidden): |
| 391 | By default searchHidden does nothing. The Console's LogContentView |
| 392 | treats the find banner differently and clears its search results. |
| 393 | |
| 394 | * UserInterface/Views/TextEditor.js: |
| 395 | (WI.TextEditor.prototype.searchCleared): |
| 396 | Modernize some code while working in this area. |
| 397 | |
| 398 | * UserInterface/Views/Main.css: |
| 399 | (.bouncy-highlight): |
| 400 | Ensure black text on yellow background in the bouncy highlight. In the |
| 401 | DOM Tree it could have been white if the find banner was closed. |
| 402 | |
commit-queue@webkit.org | 026ee04 | 2018-01-04 07:18:18 +0000 | [diff] [blame] | 403 | 2018-01-03 Ting-Wei Lan <lantw44@gmail.com> |
| 404 | |
| 405 | Replace hard-coded paths in shebangs with #!/usr/bin/env |
| 406 | https://bugs.webkit.org/show_bug.cgi?id=181040 |
| 407 | |
| 408 | Reviewed by Alex Christensen. |
| 409 | |
| 410 | * Scripts/combine-resources.pl: |
| 411 | * Scripts/copy-user-interface-resources-dryrun.rb: |
| 412 | * Scripts/copy-user-interface-resources.pl: |
| 413 | * Scripts/fix-worker-imports-for-optimized-builds.pl: |
| 414 | * Scripts/remove-console-asserts-dryrun.rb: |
| 415 | * Scripts/remove-console-asserts.pl: |
| 416 | * Scripts/update-LegacyInspectorBackendCommands.rb: |
| 417 | * Scripts/update-codemirror-resources.rb: |
| 418 | * WebInspectorUI.vcxproj/build-webinspectorui.pl: |
| 419 | |
commit-queue@webkit.org | c45f957 | 2018-01-03 22:46:33 +0000 | [diff] [blame] | 420 | 2018-01-03 Joseph Pecoraro <pecoraro@apple.com> |
| 421 | |
commit-queue@webkit.org | f95124f | 2018-01-04 05:58:24 +0000 | [diff] [blame] | 422 | Web Inspector: "Log Value" context menu is sometimes unavailable |
| 423 | https://bugs.webkit.org/show_bug.cgi?id=181278 |
| 424 | <rdar://problem/36281649> |
| 425 | |
| 426 | Reviewed by Devin Rousso. |
| 427 | |
| 428 | * UserInterface/Views/ObjectPreviewView.css: |
| 429 | (.object-preview > .title): |
| 430 | * UserInterface/Views/ObjectTreeView.css: |
| 431 | (.object-tree.expanded > .title): |
| 432 | Make the expanded object title information 16px tall to match ObjectTree |
| 433 | tree element row heights. This eliminates the floating console message |
| 434 | location from overlapping the first ObjectTree's TreeElement and causing |
| 435 | truncation and other behavior issues (like Context Menu identification). |
| 436 | |
| 437 | 2018-01-03 Joseph Pecoraro <pecoraro@apple.com> |
| 438 | |
commit-queue@webkit.org | f0c1ef4 | 2018-01-04 05:57:23 +0000 | [diff] [blame] | 439 | Web Inspector: RTL - DOM Tree Element selection doesn't work |
| 440 | https://bugs.webkit.org/show_bug.cgi?id=181275 |
| 441 | <rdar://problem/36290450> |
| 442 | |
| 443 | Reviewed by Devin Rousso. |
| 444 | |
| 445 | * UserInterface/Views/TreeOutline.js: |
| 446 | (WI.TreeOutline.prototype.treeElementFromEvent): |
| 447 | Provide a better explanation for why we are making the `x` adjustment here, |
| 448 | to detect the inner most tree element along the horizontal. Fix the algorithm |
| 449 | for RTL, since the intent is to adjust to the trailing edge of the container |
| 450 | which is on the opposite side in RTL. |
| 451 | |
| 452 | 2018-01-03 Joseph Pecoraro <pecoraro@apple.com> |
| 453 | |
commit-queue@webkit.org | 273c4b3 | 2018-01-04 00:46:52 +0000 | [diff] [blame] | 454 | Web Inspector: Find banner sometimes does not work (when already populated and shown for first time on resource) |
| 455 | https://bugs.webkit.org/show_bug.cgi?id=181255 |
| 456 | <rdar://problem/36248855> |
| 457 | |
| 458 | Reviewed by Matt Baker. |
| 459 | |
| 460 | * UserInterface/Views/TextEditor.js: |
| 461 | (WI.TextEditor.prototype.set string): |
| 462 | Defer any early searches until the initial content of a TextEditor has been set. |
| 463 | Such searches can happen when the FindBanner already has content when a |
| 464 | ContentView is first opened and needs to load its content from the backend. |
| 465 | Further, even though the content may be loaded from the backend before the |
| 466 | search results, microtask hops might cause the content to get to the TextEditor |
| 467 | after the search results. |
| 468 | |
| 469 | 2018-01-03 Joseph Pecoraro <pecoraro@apple.com> |
| 470 | |
commit-queue@webkit.org | c45f957 | 2018-01-03 22:46:33 +0000 | [diff] [blame] | 471 | REGRESSION: Web Inspector: Debugger tab doesn't restore selected resource on reload |
| 472 | https://bugs.webkit.org/show_bug.cgi?id=181253 |
| 473 | <rdar://problem/36280564> |
| 474 | |
| 475 | Reviewed by Matt Baker. |
| 476 | |
| 477 | * UserInterface/Views/DebuggerSidebarPanel.js: |
| 478 | (WI.DebuggerSidebarPanel.prototype.restoreStateFromCookie): |
| 479 | Add braces to ensure the trailing else is actually trailing the outer |
| 480 | chain as it was intended to be. |
| 481 | |
commit-queue@webkit.org | d76347e | 2018-01-03 02:52:04 +0000 | [diff] [blame] | 482 | 2018-01-02 Joseph Pecoraro <pecoraro@apple.com> |
| 483 | |
| 484 | Web Inspector: Clicking source location link in Console unexpectedly jumps to Network tab |
| 485 | https://bugs.webkit.org/show_bug.cgi?id=181229 |
| 486 | <rdar://problem/36075219> |
| 487 | |
| 488 | Reviewed by Matt Baker. |
| 489 | |
| 490 | * UserInterface/Base/Main.js: |
| 491 | Cleanup linkifyURLAsNode. Ignore Search tab in generic handlePossibleLinkClick |
| 492 | when not already in the Search tab. |
| 493 | |
| 494 | * UserInterface/Views/CallFrameView.js: |
| 495 | (WI.CallFrameView): |
| 496 | Ignore Search and Network tab in CallFrame links. |
| 497 | |
| 498 | * UserInterface/Views/TabBrowser.js: |
| 499 | (WI.TabBrowser.prototype.bestTabContentViewForRepresentedObject): |
| 500 | Improve style. |
| 501 | |
mcatanzaro@igalia.com | 3fcf3c3 | 2018-01-02 04:27:34 +0000 | [diff] [blame] | 502 | == Rolled over to ChangeLog-2018-01-01 == |