Changeset 199838 in webkit
- Timestamp:
- Apr 21, 2016 3:24:17 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r199835 r199838 1 2016-04-21 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Debugger statement gets a space after it when pretty printed 4 https://bugs.webkit.org/show_bug.cgi?id=156867 5 <rdar://problem/25862308> 6 7 Reviewed by Geoffrey Garen. 8 9 * inspector/formatting/formatting-javascript-expected.txt: 10 * inspector/formatting/formatting-javascript.html: 11 * inspector/formatting/resources/javascript-tests/other-statements-expected.js: Renamed from LayoutTests/inspector/formatting/resources/javascript-tests/throw-statement-expected.js. 12 * inspector/formatting/resources/javascript-tests/other-statements.js: Renamed from LayoutTests/inspector/formatting/resources/javascript-tests/throw-statement.js. 13 1 14 2016-04-21 Brady Eidson <beidson@apple.com> 2 15 -
trunk/LayoutTests/inspector/formatting/formatting-javascript-expected.txt
r199556 r199838 42 42 PASS 43 43 44 -- Running test case: EsprimaFormatter.JavaScript.other-statements.js 45 PASS 46 44 47 -- Running test case: EsprimaFormatter.JavaScript.return-statement.js 45 48 PASS … … 63 66 PASS 64 67 65 -- Running test case: EsprimaFormatter.JavaScript.throw-statement.js66 PASS67 68 68 -- Running test case: EsprimaFormatter.JavaScript.try-catch-finally-statements.js 69 69 PASS -
trunk/LayoutTests/inspector/formatting/formatting-javascript.html
r199556 r199838 23 23 "resources/javascript-tests/new-expression.js", 24 24 "resources/javascript-tests/object-array-literal.js", 25 "resources/javascript-tests/other-statements.js", 25 26 "resources/javascript-tests/return-statement.js", 26 27 "resources/javascript-tests/sample-jquery.js", … … 30 31 "resources/javascript-tests/template-strings.js", 31 32 "resources/javascript-tests/ternary-expressions.js", 32 "resources/javascript-tests/throw-statement.js",33 33 "resources/javascript-tests/try-catch-finally-statements.js", 34 34 "resources/javascript-tests/unary-binary-expressions.js", -
trunk/LayoutTests/inspector/formatting/resources/javascript-tests/other-statements-expected.js
r199837 r199838 8 8 a: 1 9 9 }; 10 11 debugger 12 debugger; -
trunk/LayoutTests/inspector/formatting/resources/javascript-tests/other-statements.js
r199837 r199838 6 6 throw new x; 7 7 throw {a:1}; 8 9 debugger 10 debugger; -
trunk/Source/WebInspectorUI/ChangeLog
r199793 r199838 1 2016-04-21 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Debugger statement gets a space after it when pretty printed 4 https://bugs.webkit.org/show_bug.cgi?id=156867 5 <rdar://problem/25862308> 6 7 Reviewed by Geoffrey Garen. 8 9 * Tools/Formatting/index.html: 10 * UserInterface/Workers/Formatter/EsprimaFormatter.js: 11 (EsprimaFormatter.prototype._handleTokenAtNode): 12 Handle the unhandled DebuggerStatement node type. 13 1 14 2016-04-20 Joseph Pecoraro <pecoraro@apple.com> 2 15 -
trunk/Source/WebInspectorUI/Tools/Formatting/index.html
r199556 r199838 53 53 "label-break-continue-block.js", 54 54 "with-statement.js", 55 "throw-statement.js",56 55 "return-statement.js", 56 "other-statements.js", 57 57 "variable-declaration.js", 58 58 "functions.js", -
trunk/Source/WebInspectorUI/UserInterface/Workers/Formatter/EsprimaFormatter.js
r199168 r199838 786 786 || nodeType === "RestElement" 787 787 || nodeType === "TemplateElement" 788 || nodeType === "TemplateLiteral") { 788 || nodeType === "TemplateLiteral" 789 || nodeType === "DebuggerStatement") { 789 790 builder.appendToken(tokenValue, tokenOffset); 790 791 return;
Note: See TracChangeset
for help on using the changeset viewer.