Cross Reference: /yui3/src/jsonp/tests/jsonp.html
History log of /yui3/src/jsonp/tests/jsonp.html
Revision Date Author Comments + Modified files
a95fddf694347e114227190db690c17fa3b92ebd 23-Jun-2011 Luke Smith <lsmith@yahoo-inc.com>

Use a better onload/onreadystatechange fork Failing test in FF due to s.onload = ';' + (typeof s.onload === 'string') test. Expecting 'function' in all but IE, but FF 3.6 and 4 return 'string', so were getting the onreadystatechange fork, resulting in test failure. Changed to a carpet bomb approach. Assign both onload and onreadystatechange regardless of env and keep track of which worked. Not pretty, but it gets the job done. I then lost a couple hours tracking why the test was suddenly failing in IE 9, only to discover that I'd reduced the response delay to close to the configured timeout for the test send(), resulting in a race condition. I want my time back. And maybe a drink.

fd84fd78b937cc18754c0032425394cdff77c52c 27-May-2011 Luke Smith <lsmith@yahoo-inc.com>

Split jsonp and jsonp-url test page into one each The test reporting automation used the Runner's complete event to log results. The jsonp tests monitor the state of the global proxy cache YUI.Env.JSONP. To keep the test env clean for the jsonp-url tests, a new YUI instance is created, but the two instances share the global space (which is ok), causing some tests to fail randomly when assertions about the global proxy cache get info from the other YUI instance. I avoided this by putting the jsonp-url tests in a callback to Runner's complete event to create the other YUI instance, and use() and execute the tests, but because the test reporting tools also listen to the complete event, this causes only one set of tests to be reported. Simple answer: use a separate file for each module.

a1db253efdfe10b47f002c23646d43a887e2aeea 27-May-2011 Luke Smith <lsmith@yahoo-inc.com>

Track requests and timeouts for every JSONPRequest The logic to prevent other callbacks from executing after a timeout was limited to connections with allowCache=true. Fixes #2530352

c77d701a41f1b77424b988c2e63f2a8e6829c7e6 19-Apr-2011 Luke Smith <lsmith@yahoo-inc.com>

Normalize YUI config for tests. filter from url. Use the query string filter={raw|debug} to override min default filter applied to YUI config.

/yui3/src/arraysort/tests/arraysort.html /yui3/src/async-queue/tests/async-queue.html /yui3/src/collection/tests/arraylist.html /yui3/src/console-filters/tests/console-filters.html /yui3/src/console/tests/console.html /yui3/src/dataschema/tests/dataschema-perf.html /yui3/src/dataschema/tests/dataschema.html /yui3/src/datasource/tests/datasource-perf.html /yui3/src/datasource/tests/datasource.html /yui3/src/datatable/tests/datatable-manual.html /yui3/src/datatable/tests/datatable.html /yui3/src/datatable/tests/performance.html /yui3/src/event/tests/event-synthetic.html /yui3/src/json/tests/json.html jsonp.html /yui3/src/pluginattr/js/attr.js /yui3/src/pluginattr/tests/pluginattr.html /yui3/src/recordset/tests/recordset.html /yui3/src/slider/tests/slider.html /yui3/src/stylesheet/tests/stylesheet.html
eee45534e7f252e6037f2ba50f79f2870ba220f7 15-Apr-2011 Luke Smith <lsmith@yahoo-inc.com>

Add jsonp-tests to YUI instance testing jsonp-url Since jsonp is a requirement of jsonp-url.

021383d5b6e57dcc00cc55f7a4d715b3e8720ba2 15-Apr-2011 Luke Smith <lsmith@yahoo-inc.com>

Properly segment submodule tests. Add some more. Test page now includes a separate YUI() for each submodule test suite.

998276643802ff9fb197fe220cbd9552da00a624 24-Feb-2011 Luke Smith <lsmith@yahoo-inc.com>

Move tests from sandbox to src/X/tests/src Adapt to test structure enforced by new builder target 'tests'. Still more cleanup to do. But hopefully I didn't miss anything. C'mon CI!

/yui3/sandbox/console/profile.html /yui3/sandbox/console/test.properties /yui3/sandbox/console/test.xml /yui3/src/async-queue/build.properties /yui3/src/async-queue/tests/async-queue-tests.js /yui3/src/async-queue/tests/async-queue.html /yui3/src/async-queue/tests/src/async-queue.js /yui3/src/collection/tests/arraylist-tests.js /yui3/src/collection/tests/arraylist.html /yui3/src/collection/tests/src/arraylist.js /yui3/src/console-filters/tests/console-filters-tests.js /yui3/src/console-filters/tests/console-filters.html /yui3/src/console-filters/tests/src/console-filters.js /yui3/src/console/tests/console-tests.js /yui3/src/console/tests/src/console.js /yui3/src/dial/tests/testsuite.js /yui3/src/event/build-hover.properties /yui3/src/event/build-synthetic.properties /yui3/src/event/tests/event-hover-tests.js /yui3/src/event/tests/event-hover.html /yui3/src/event/tests/event-synthetic-tests.js /yui3/src/event/tests/event-synthetic.html /yui3/src/event/tests/src/event-hover.js /yui3/src/event/tests/src/event-synthetic.js /yui3/src/json/tests/json-parse-tests.js /yui3/src/json/tests/json-stringify-tests.js /yui3/src/json/tests/json-tests.js /yui3/src/json/tests/json.html /yui3/src/json/tests/src/json-parse.js /yui3/src/json/tests/src/json-stringify.js /yui3/src/jsonp/build.xml jsonp-tests.js jsonp-url-tests.js jsonp.html src/jsonp-url.js src/jsonp.js /yui3/src/slider/slider-base.properties /yui3/src/slider/tests/clickable-rail-tests.js /yui3/src/slider/tests/range-slider-tests.js /yui3/src/slider/tests/slider-base-tests.js /yui3/src/slider/tests/slider-tests.js /yui3/src/slider/tests/slider-value-range-tests.js /yui3/src/slider/tests/slider.html /yui3/src/slider/tests/src/clickable-rail.js /yui3/src/slider/tests/src/range-slider.js /yui3/src/slider/tests/src/slider-value-range.js /yui3/src/slider/tests/src/slider.js /yui3/src/stylesheet/tests/src/stylesheet.js /yui3/src/stylesheet/tests/stylesheet-tests.js /yui3/src/stylesheet/tests/stylesheet.html
e336d693d15cf4066c5e8443b1a8acdc50a68dd0 24-Aug-2010 Luke Smith <lsmith@yahoo-inc.com>

Update tests to reflect callback={callback} for base I broke YQL when removing jsonp-url from the 'jsonp' module (formerly a rollup) because it expected YQL.BASE_URL to include "callback={callback}", but YQL was using the feature added by -url whereby that string would be auto-added if not found in the url. For 3.2, the YQL Loader meta was updated to require jsonp-url, but for 3.3 either YQL should be updated or jsonp (base) should absorb the auto-add feature. The tests changed here were also working from the auto-add assumption, but no errors showed because it is also testing jsonp-url.

d9800439fcb588eb613398c3b22a377ae7750956 24-Aug-2010 Luke Smith <lsmith@yahoo-inc.com>

Test file updates for jsonp module structure change

f376730c08e3eb4277ea5f192f34f3164790033b 08-Aug-2010 Luke Smith <lsmith@yahoo-inc.com>

Use path parser from dataschema-json. Fix tests. IE throws when trying to delete window.property, so set to undefined in the tests that exercise the url parsing for global callbacks. The js-syntax parsing regex algo was faulty, as discovered by the false positive tests that should have failed due to a typo in the tests. I wrote a more comprehensive one for dataschema-json long ago, so copy/pasted that one until we can extract to a common util.

a6b6d4f21a57f1f83d714dc2491985e1569910ef 24-Jul-2010 Luke Smith <lsmith@yahoo-inc.com>

IE 6 doesn't like width: 'inherit' declaration in Console

e7eae9b3ca0194e8c08f10b485269a2cdb28b450 01-Jul-2010 Luke Smith <lsmith@yahoo-inc.com>

Simplify url callback parsing, Extract to submod. Split into jsonp-base and jsonp-url. Base does simple, single level name resolution for callback-in-url parsing (callback=foo, or callback=Y.foo). Nested parsing moved to jsonp-url (callback=foo.bar["baz"]).