You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resource and response tests rely on a FakeElement object that has its own implementation of DOM methods like appendChild and insertBefore. This is fine for the common case, but edge cases like older version of Internet Explorer may have quirks that are not reflected in the FakeElement implementation. This masks bugs that would otherwise fail the tests.
These tests should instead rely on the native DOM and its methods.
The text was updated successfully, but these errors were encountered:
New JS library `spf.testing.dom` appends elements to the document to be used in SPF tests.
Use this on response_test. Next and final part is to change resource_test.
Progress on youtube#178
New JS library `spf.testing.dom` appends elements to the document to be used in SPF tests.
Use this on response_test. Next and final part is to change resource_test.
Progress on youtube#178
rviscomi
added a commit
to rviscomi/spfjs
that referenced
this issue
Jan 7, 2015
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").
Closesyoutube#178
The resource and response tests rely on a FakeElement object that has its own implementation of DOM methods like appendChild and insertBefore. This is fine for the common case, but edge cases like older version of Internet Explorer may have quirks that are not reflected in the FakeElement implementation. This masks bugs that would otherwise fail the tests.
These tests should instead rely on the native DOM and its methods.
The text was updated successfully, but these errors were encountered: