Merge "Fix Safari test"
This commit is contained in:
		@@ -128,6 +128,8 @@ limitations under the License.
 | 
			
		||||
 | 
			
		||||
      // Async tick is needed because iron-selector content is distributed and
 | 
			
		||||
      // distributed content requires an observer to be set up.
 | 
			
		||||
      // Note: Double flush seems to be needed in Safari. {@see Issue 4963}.
 | 
			
		||||
      flush(function() {
 | 
			
		||||
        flush(function() {
 | 
			
		||||
          for (var label in element.permittedLabels) {
 | 
			
		||||
            assert.ok(element.$$('iron-selector[data-label="' + label + '"]'),
 | 
			
		||||
@@ -171,6 +173,7 @@ limitations under the License.
 | 
			
		||||
          });
 | 
			
		||||
        });
 | 
			
		||||
      });
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    function getActiveElement() {
 | 
			
		||||
      return Polymer.IronOverlayManager.deepActiveElement;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user