mirror of
https://github.com/Modernizr/Modernizr.git
synced 2026-01-09 07:38:03 -05:00
Hosted tests in modernizr.github.io failed these two tests due to 404s
This commit is contained in:
@@ -29,7 +29,7 @@ describe('iframe context', function() {
|
||||
});
|
||||
|
||||
it('is able to be loaded in an iframe', function(done) {
|
||||
iframeWindow.$.getScript('http://localhost:9999/dist/modernizr-build.js')
|
||||
iframeWindow.$.getScript('../dist/modernizr-build.js')
|
||||
.done(function(build, status) {
|
||||
expect(status).to.equal('success');
|
||||
expect(iframeWindow.Modernizr).to.not.be(undefined);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<svg width="180" height="88" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
|
||||
<script>window.onerror = window.parent.document.getElementById('svgContext').onerror</script>
|
||||
<script xlink:href="/dist/modernizr-build.js"></script>
|
||||
<script xlink:href="../../dist/modernizr-build.js"></script>
|
||||
<script> if (window.Modernizr) {window.parent.document.getElementById('svgContext').onsuccess(window.Modernizr)}</script>
|
||||
|
||||
<path fill="none" d="M-1-1h1172v90H-1z" />
|
||||
|
||||
|
Before Width: | Height: | Size: 685 B After Width: | Height: | Size: 690 B |
Reference in New Issue
Block a user