• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

airbnb / superset / 5000
0%

Build:
DEFAULT BRANCH: master
Ran 14 Dec 2016 04:49PM UTC
Jobs 4
Files 22
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5000

push

travis-ci

mistercrunch
Workaround for slices "Not Found" issue in IE <= 11 (#1821)

This should fix issue #1339.

IE 11 and lower has a long standing issue: out-of-document element's
pathname has no leading '/'. See

https://connect.microsoft.com/IE/feedbackdetail/view/1002846/pathname-incorrect-for-out-of-document-elements

And Superset's Slice.jsonEndpoint() method relies on pathname() to build
JSON API URL for slices:

```javascript
      jsonEndpoint() {
        const parser = document.createElement('a');
        parser.href = data.json_endpoint;
        let endpoint = parser.pathname + this.querystring();
        endpoint += '&json=true';
        endpoint += '&force=' + this.force;
        return endpoint;
      },
```

`parser` above is exactly an out-of-document element. Therefore when
running in IE <= 11, Superset would build wrong JSON endpoint URLs,
hence the 404 errors for loading data for slices.

This commit adds a simple workaround when leading '/' is missing in the
value returned by pathname().

4234 of 5299 relevant lines covered (79.9%)

3.18 hits per line

Jobs
ID Job ID Ran Files Coverage
2 5000.2 (TOX_ENV=py34-postgres) 14 Dec 2016 04:52PM UTC 0
79.52
Travis Job 5000.2
3 5000.3 (TOX_ENV=py34-sqlite) 14 Dec 2016 04:49PM UTC 0
79.58
Travis Job 5000.3
4 5000.4 (TOX_ENV=py27-mysql) 14 Dec 2016 04:51PM UTC 0
79.62
Travis Job 5000.4
5 5000.5 (TOX_ENV=py27-sqlite) 14 Dec 2016 04:49PM UTC 0
79.56
Travis Job 5000.5
Source Files on build 5000
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5000
  • 7a9604a3 on github
  • Prev Build on master (#4986)
  • Next Build on master (#5003)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc