function pushFrame(resultSet, options, frameElement, frameSelector) {
	'use strict';
	var frameXpath = axe.utils.getXpath(frameElement);
	var frameSpec = {
		element: frameElement,
		selector: frameSelector,
		xpath: frameXpath
	};

	resultSet.forEach(function(res) {
		res.node = axe.utils.DqElement.fromFrame(res.node, options, frameSpec);

		var checks = axe.utils.getAllChecks(res);
		if (checks.length) {
			checks.forEach(function(check) {
				check.relatedNodes = check.relatedNodes.map(node =>
					axe.utils.DqElement.fromFrame(node, options, frameSpec)
				);
			});
		}
	});
}
function pushFrame(resultSet, options, frameElement, frameSelector) {
	'use strict';
	var frameXpath = axe.utils.getXpath(frameElement);
	var frameSpec = {
		element: frameElement,
		selector: frameSelector,
		xpath: frameXpath
	};

	resultSet.forEach(function(res) {
		res.node = axe.utils.DqElement.fromFrame(res.node, options, frameSpec);

		var checks = axe.utils.getAllChecks(res);
		if (checks.length) {
			checks.forEach(function(check) {
				check.relatedNodes = check.relatedNodes.map(node =>
					axe.utils.DqElement.fromFrame(node, options, frameSpec)
				);
			});
		}
	});
}
function pushFrame ( resultSet , options , frameElement , frameSelector ) { 'use strict' ; var frameXpath = axe . utils . getXpath ( frameElement ) ; var frameSpec = { element : frameElement , selector : frameSelector , xpath : frameXpath } ; resultSet . forEach ( function ( res ) { res . node = axe . utils . DqElement . fromFrame ( res . node , options , frameSpec ) ; var checks = axe . utils . getAllChecks ( res ) ; if ( checks . length ) { checks . forEach ( function ( check ) { check . relatedNodes = check . relatedNodes . map ( node => axe . utils . DqElement . fromFrame ( node , options , frameSpec ) ) ; } ) ; } } ) ; }
Adds the owning frame's CSS selector onto each instance of DqElement
@private
@param	{Array} resultSet `nodes` array on a `RuleResult`
@param	{HTMLElement} frameElement	The frame element
@param	{String} frameSelector		 Unique CSS selector for the frame
Adds the owning frame s CSS selector onto each instance of DqElement
Pushes the frame to the end of the result set