Issue #561858 by effulgentsia, sun, rfay, Nick_vh, merlinofchaos, katbailey, dereine et al: documentation and tests for drupal_add_js() and drupal_add_css() with the AJAX framework.