[Webkit-unassigned] [Bug 125049] Add JavaScript style checker and teach checker.py about .js files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 2 13:06:29 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=125049


Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #218130|review?                     |review+
               Flag|                            |




--- Comment #2 from Joseph Pecoraro <joepeck at webkit.org>  2013-12-02 13:04:49 PST ---
(From update of attachment 218130)
View in context: https://bugs.webkit.org/attachment.cgi?id=218130&action=review

> Tools/Scripts/webkitpy/style/checker_unittest.py:484
> +        # Check checker attributes on a typical input.
> +        file_base = "foo"
> +        file_extension = "css"
> +        file_path = file_base + "." + file_extension
> +        self.assert_checker_text(file_path)
> +        checker = self.dispatch(file_path)
> +        self.assertEqual(checker.handle_style_error,
> +                          self.mock_handle_style_error)
> +

There is no mention in the ChangeLog of handling .css files as text. It also seems weird to put this test in "test_js_paths" and not a "test_css_paths". Looks fine though.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list