1.x master

This code works in Chrome Correctly (My version: 36.0.1985.125 m) instead of: "Error: Syntax error, unrecognized expression: #test input[name=test_name"

<html>
    <head>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    </head>

    <body>
        <form>
            <input type="text" name="test_name" value="hi!" />
        </form>

        <script>
            var ready = $("input[name=test_name]");
            console.log(ready.val());
            var error = $("input[name=test_name");
            console.log(error.val());
        </script> 
    </body>
 </html>