Update dojo/window.scrollIntoView to avoid iOS body scroll reset, fixes #17740

(cherry picked from commit 87a492b78c9738ae0d0e41fe81230b151803e819)
(backported by hand due to conflicts)
Fix #16296 console.debug(NaN) produces error in IE9

Properly convert arguments to an Array when shimming a console function.

(cherry picked from commit 97861d95302c4e4e08de697dc563f9a0786e1d8d)
Only set idProperty if identifier provided, fixes #17557

(cherry picked from commit 5c86aadf89e576075dfb27898a7897112751edad)
Prevent `baseUrl` global variable creation.

fixes #17798
Do not use -ms-user-select to prevent selection of elements in IE

Fixes #17639.

(cherry picked from commit 7ae2a43b608eae921b862b7feb6f2910bb45b03a)
(cherry picked from commit e61aff23544049921d406ec5754da1e2e3e14309)
(cherry picked from commit 0a7036f4d8a66b280387d24db91eeec925e2ef9c)
Revert "Fix IE11 sniffing. Fixes #17311."

This reverts commit 926898da2934cdfba9c99c11a25a8c9080811f35.
Add Microsoft-recommended UA sniff for IE11. Backported to 1.7 _base/sniff.js. Fixes #17311.
Add Trident UA to match every other UA

Refs #17311

(cherry picked from commit bbe72ecd13f5604802b2498f3623e7c5961069f4)
(cherry picked from commit 769bfce2141826ed873d3eba3302227a08a43052)
(cherry picked from commit 136ac4ed115997c5a88118db15d29ff706d7654e)

Conflicts:
	window.js
Always return QueryResults from map and filter (1.7 backport)

Fixes #17681

(cherry picked from commit bdd52aceb1319e919aa8a5157156c36170bcc098)
(cherry picked from commit d34b6a591477ca4e43d000540b66bc612f29ed7a)

Conflicts:
	store/util/QueryResults.js
Use IE's native focusin/focusout support for IE9+ too, avoiding asynchronous focus notification, fixes #16968,  #16970, and refs #16926, #16972 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@31152 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 74f1af634dff02139086221b69b6066c34546e18)

Conflicts:
	on.js

(cherry picked from commit b9ab7f580c8a123ff07ebd9a3b0695e24cf5c5ba)

Conflicts:
	on.js
Remove dumb speed test that compares against an old API we will never restore

Fixes #11200

(cherry picked from commit a3dd7a47aa01315e601525b0d8217a8408237149)
(cherry picked from commit d7ec9bb2e84a0880e831b5c120214011cdcd9097)
Make selective fixes to the date/locale tests based on what Mark Hays did for 1.9

(cherry picked from commit c2034f3a991a7a0184e0815f7f4f046ed35e97d9)
[27007] updated the browser-resize detection for subclasses of _LayoutWidget, but not for subclasses of !ContentPane.    Adding in code for !ContentPane too.   However, that exposes the infinite loop problem, where !ContentPane.resize() causes a(nother) browser resize event, so have to add guard code to detect spurious resize notifications, hence a new !Viewport.js helper module.

Also modifying Dialog to leverage the viewport resize events it gets as a !ContentPane subclass, rather than setting up it's own listener.

Also modifying robotx.js so that it sets the iframe size before dojo loads (inside the iframe), rather than after.   The !BorderContainer_full.html test was hitting a corner case (on IE) where DOH resized the iframe after the !BorderContainer layout() ran, but the !BorderContainer didn't get a resize event (like on a true browser resize), so it didn't resize itself.

Refs #14247 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@27262 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 936fd91d48c48b4a826dc2478f92718599e9c7ef)
Fix MID's in dojo/ and dijit/ modules to be relative paths (when possible), and convert "." --> "./main".

The "./main" references in dijit/ modules are for exporting symbols to the "dijit" namespace and thus will be removed in 2.0, but before that (for consistency) maybe it's worth changing the code to export via setObject(), like dojo.declare() does.

Fixes #14742 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@27778 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 0564589f5cb9cdefc763f47355ea02268e654d7d)

Conflicts:
	robotx.js
Some fixes for robot to be able to run against AMD (baseless) iframe.   Refs #14929 1strict.

git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@28089 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit b95f1305ce555e1564c35c5ed8f825fdadccdfe5)
Convert robot*.js files to baseless AMD, and remove document.write() usage.

 To get util/doh/robot.js to play nice with AMD (no document.write(), and no reference to dojo global), I introduced a dependency to dojo which theoretically wasn't needed before.   Perhaps it can be removed in the future.   If isolation is desired, the dojo-dependent code should be moved to dojo/robot.js, not put if if(){...} blocks.

 Also removed the document.write() usage in dojo/robotx.js to create a console div.   On IE6/IE7, we are already getting a firebug-lite console, so just using that.   (This might be dependent on having isDebug:true in the data-dojo-config of the test file though.)

 Theoretically fixes #14929 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@28336 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 40773a908934997a42eeb0f425fbf79117d26846)

Conflicts:
	robot.js
	robotx.js

Conflicts:
	robotx.js
fix path to doh/main, refs #14929 !strict

git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@28448 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 858109db9e00a554b1536c625514b8bef54db243)
make window and document from iframe (loaded by initRobot()) available from robot module export, refs #14929 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@28569 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit b4b69a9772290e13ae27e54d2be1ce20800acf38)
Various DOH robot updates:

   - Don't include dijit code into page with robot test code; dijit should only be loaded in the content iframe.
   - Fix double scrollbar on tests (on IE8) caused by overflow:visible setting on <html>
   - Prefer dojo/domReady! to dojo/ready, in order to support other AMD loaders.   However, dojo/ready is still needed for the outer frame to detect when the inner frame (with the content) has completed initializing.
   - Since robot depends on dojo, use domClass.add() and remove() to add dohRobot class to <html> node, to avoid getting a space character in the class string.

 Fixes #15865, refs #15616 on 1.8/ branch !strict.

git-svn-id: http://svn.dojotoolkit.org/src/branches/1.8/dojo@29506 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit ffc6bd0481e461ca2364ff62eaf43dd5ea1e5e3c)

Conflicts:
	robotx.js
Refactor robot so initRobot() is implemented as an asynchronous test fixture, rather than using monkey patching code that doesn't work well, having two places calling doh._run() in a race condition.   This design also makes better code separation between vanilla DOH and robot.

I plan to do the same for startRobot() in the next check in.

Also fixes priority of ready() call inside DOH.   The default priority is 1000, so we need to be higher than that, so that DOH doesn't execute until the iframe's dojo.ready() call has finished executing.

Fixes #16386 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@30060 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 6698b8f5f307bd1c8ded908e22b8b91e1b1a6047)
(cherry picked from commit 57cacb66b7ed89c4a9ca2eb4ec7587fb95ef1ab5)

Conflicts:
	robotx.js