Permalink
Switch branches/tags
Nothing to show
Commits on May 1, 2012
  1. test-spec.js now delegates all testing to the specification iframe on…

    toolness committed May 1, 2012
    …ce it's done loading. Putting the test logic closer to the spec-generating code should help ensure that the two don't go out of sync, since the spec-generating code doesn't really have a public API that's expected to be maintained.
  2. better error feedback for specification tests. They now also test to …

    toolness committed May 1, 2012
    …make sure that each error spec has a friendly error message that executes properly.
  3. Added jQuery.errorTemplates and removed jQuery.loadMany(). jQuery.fn.…

    toolness committed May 1, 2012
    …fillError() now takes an optional second argument.
  4. added better exception messages to jQuery.fn.fillError() and a test s…

    toolness committed May 1, 2012
    …uite for errors.jquery.js.
  5. Moved the specification and its dependencies to the 'spec' directory.…

    toolness committed May 1, 2012
    … Among other things, this makes the specification "production" code whose utility libraries, particularly errors.jquery.js, can be used by clients. (Everything in 'demo' is still experimental hacked-together stuff.)
  6. Removed demo, spec, and editor's dependency on underscore.js by embed…

    toolness committed May 1, 2012
    …ding its template functionality in errors.jquery.js (as our error message logic is the only thing that requires templating).
Commits on Apr 30, 2012
  1. error name title in spec.html is now set to the expected error type r…

    toolness committed Apr 30, 2012
    …ather than the real one.
  2. Added a simple optional 'error detectors' argument to Slowparse.HTML …

    toolness committed Apr 30, 2012
    …which allows some kinds of error detection to be optional.
    
    Added TreeInspectors.forbidJS, which is	an error detector that reports when forbidden JS policies are violated.
  3. add regression test for #32.

    toolness committed Apr 30, 2012
  4. Merge pull request #31 from Pomax/gh-pages

    toolness committed Apr 30, 2012
    fix for "--" parsing in comments
  5. comment parsing fix due to firefox rejecting createComment('--') and …

    U-MICHIELKAMECC18\Pomax committed Apr 30, 2012
    …variations
  6. Replaced noscript.slowparse.js with tree-inspectors.js. The new libra…

    toolness committed Apr 30, 2012
    …ry just contains utility functions for inspecting the DOM tree generated by slowparse, and has no hard dependencies on slowparse--clients of it, like the editor, can trivially use the .parseInfo property of nodes returned by an inspector to map back to the original source code if necessary.
    
    This is nice because it means that Slowparse doesn't need to expose DOMBuilder; instead, the TreeWalkers use the DOM API to do everything they need.
Commits on Apr 27, 2012
  1. Merge pull request #26 from Pomax/gh-pages

    toolness committed Apr 27, 2012
    this should fix @font-face failures
  2. Added a test to make sure that code in <script> tags isn't accidental…

    toolness committed Apr 27, 2012
    …ly executed during parsing. (It's only executed if the generated document fragment is appended to the document.)
  3. The editor now provides instant feedback to users when they try addin…

    toolness committed Apr 27, 2012
    …g the most common forms of JavaScript to their page, and directs them to jsbin/jsfiddle if they really need JS support.
  4. split out all the utility functions from test-slowparse.js into a sep…

    toolness committed Apr 27, 2012
    …arate file, testing-utils.js.