For dojox/layout/!ContentPane, ensure that startup() on children is called after the parser runs, rather than before:
For dojox/layout/!ContentPane, ensure that startup() on children is called after the parser runs, rather than before:

1. Make dojox/html/_base::_ContentSetter.onEnd() return a Promise that resolves after both the require() calls finish and the parser finishes.    (The parser may also be asynchronous since it will auto-require unloaded modules and since it has a syntax for manual requires.)

2. Make dojox/html/_base::_ContentSetter.set() return a Promise that resolves when loads and parse complete.   dojo/html::_ContentSetter.set() keeps it's old API of returning a node until 2.0.

3. Make dojox/layout/!ContentPane use the Promise returned from set(), rather than _ContentSetter.parseDeferred, since _ContentSetter.parseDeferred may not even exist until sometime after set() returns.

Fixes #15558 !strict.


git-svn-id: 674a2d6b1e32e53f607eb824547723f32280967e@29052 560b804f-0ae3-0310-86f3-f6aa0a117693

redaktor/deliteful