Bug 177619 - WebInspector: Uncaught Exception: TypeError: this._delegate.completionControllerCSSFunctionValuesNeeded is not a function.
Summary: WebInspector: Uncaught Exception: TypeError: this._delegate.completionControl...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords: InRadar
Depends on: 177346
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-28 14:20 PDT by Devin Rousso
Modified: 2017-09-28 16:05 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.90 KB, patch)
2017-09-28 14:32 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2017-09-28 14:20:21 PDT
-------
Inspected URL:        <removed>/WebKit/WebKitBuild/Release/WebInspectorUI.framework/Resources/Main.html
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13) AppleWebKit/605.1.8+ (KHTML, like Gecko)

Uncaught Exceptions:
 - TypeError: this._delegate.completionControllerCSSFunctionValuesNeeded is not a function. (In 'this._delegate.completionControllerCSSFunctionValuesNeeded(this, functionName, functionCompletions)', 'this._delegate.completionControllerCSSFunctionValuesNeeded' is undefined) (at CodeMirrorCompletionController.js:589:97)
    _generateCSSCompletions @ CodeMirrorCompletionController.js:589:97
    _completeAtCurrentPosition @ CodeMirrorCompletionController.js:523:62
    _handleChange @ CodeMirrorCompletionController.js:866:40
    _handleChange @ [native code]
    fireCallbacksForOps @ codemirror.js:2034:26
    finishOperation @ codemirror.js:2048:28
    endOperation @ codemirror.js:3607:18
    runInOp @ codemirror.js:3744:25
    poll @ codemirror.js:8849:10
    ? @ codemirror.js:8649:15
-------

* STEPS TO REPRODUCE
1. Open a CSS file in Resources
2. Type `width: calc(` inside a CSS rule.
3. Press any character.
=> Error
Comment 1 Devin Rousso 2017-09-28 14:32:24 PDT
Created attachment 322116 [details]
Patch
Comment 2 WebKit Commit Bot 2017-09-28 16:04:09 PDT
Comment on attachment 322116 [details]
Patch

Clearing flags on attachment: 322116

Committed r222636: <http://trac.webkit.org/changeset/222636>
Comment 3 WebKit Commit Bot 2017-09-28 16:04:10 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2017-09-28 16:05:18 PDT
<rdar://problem/34726855>