Home | History | Annotate | Download | only in front-end

Lines Matching refs:expression

517 InjectedScript.setPropertyValue = function(objectProxy, propertyName, expression)
523 var expressionLength = expression.length;
530 // Surround the expression in parenthesis so the result of the eval is the result
531 // of the whole expression not the last potential sub-expression.
536 var result = InjectedScript._window().eval("(" + expression + ")");
542 var result = InjectedScript._window().eval("\"" + InjectedScript._escapeCharacters(expression, "\"") + "\"");
592 InjectedScript.getCompletions = function(expression, includeInspectorCommandLineAPI, callFrameId)
602 if (expression)
603 expressionResult = InjectedScript._evaluateOn(callFrame.evaluate, callFrame, expression);
611 if (!expression)
612 expression = "this";
613 expressionResult = InjectedScript._evaluateOn(InjectedScript._window().eval, InjectedScript._window(), expression);
626 InjectedScript.evaluate = function(expression, objectGroup)
628 return InjectedScript._evaluateAndWrap(InjectedScript._window().eval, InjectedScript._window(), expression, objectGroup);
631 InjectedScript._evaluateAndWrap = function(evalFunction, object, expression, objectGroup)
635 result.value = InjectedScript.wrapObject(InjectedScript._evaluateOn(evalFunction, object, expression), objectGroup);
649 InjectedScript._evaluateOn = function(evalFunction, object, expression)
652 // Surround the expression in with statements to inject our command line API so that
654 expression = "with (window.console._inspectorCommandLineAPI) { with (window) {\n" + expression + "\n} }";
655 var value = evalFunction.call(object, expression);