Skip to content

Commit

Permalink
Use real DOM for testing (2 of 2).
Browse files Browse the repository at this point in the history
Resources are created in an iframe using real DOM elements as opposed to FakeElements.
el.href would return the canonical URL ("file://foo.bar") so we use el.getAttribute('href') instead ("//foo.bar").

Closes youtube#178
  • Loading branch information
rviscomi committed Jan 7, 2015
1 parent c110840 commit 0fe4791
Showing 1 changed file with 57 additions and 112 deletions.
Loading

0 comments on commit 0fe4791

Please sign in to comment.