Skip to content
  • pfeldman@chromium.org's avatar
    Web Inspector: get rid of context execution id fallback. · 948e28f4
    pfeldman@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=95567
    
    Reviewed by Yury Semikhatsky.
    
    Source/WebCore:
    
    We now assign execution context id upon changes in the UI.
    
    * inspector/front-end/ConsoleView.js:
    (WebInspector.ConsoleView.prototype.get statusBarItems):
    (WebInspector.ConsoleView.prototype._contextAdded):
    (WebInspector.ConsoleView.prototype._addContextList):
    (WebInspector.ConsoleView.prototype._contextListRemoved):
    (WebInspector.ConsoleView.prototype._updateExecutionContextSelector):
    (WebInspector.ConsoleView.prototype._appendExecutionContextOption):
    (WebInspector.ConsoleView.prototype._executionContextChanged):
    (WebInspector.ConsoleView.prototype._contextListUpdated):
    (WebInspector.ConsoleView.prototype._addedExecutionContext):
    (WebInspector.ConsoleView.prototype.evalInInspectedWindow.evalCallback):
    (WebInspector.ConsoleView.prototype.evalInInspectedWindow):
    (WebInspector.ConsoleView.prototype._enterKeyPressed):
    * inspector/front-end/JavaScriptContextManager.js:
    (WebInspector.JavaScriptContextManager):
    (WebInspector.JavaScriptContextManager.prototype.contextLists):
    (WebInspector.JavaScriptContextManager.prototype.contextByFrameAndSecurityOrigin):
    (WebInspector.JavaScriptContextManager.prototype._frameAdded):
    (WebInspector.JavaScriptContextManager.prototype._frameNavigated):
    (WebInspector.JavaScriptContextManager.prototype._frameDetached):
    (WebInspector.JavaScriptContextManager.prototype.isolatedContextCreated):
    (WebInspector.FrameExecutionContextList):
    (WebInspector.FrameExecutionContextList.prototype._frameNavigated):
    (WebInspector.FrameExecutionContextList.prototype._addExecutionContext):
    (WebInspector.FrameExecutionContextList.prototype.executionContexts):
    (WebInspector.FrameExecutionContextList.prototype.contextBySecurityOrigin):
    
    LayoutTests:
    
    * http/tests/inspector/console-cd-completions.html:
    * http/tests/inspector/console-cd.html:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127412 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    948e28f4