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

airbnb / superset / 5000 / 4
0%
master: 0%

Build:
DEFAULT BRANCH: master
Ran 14 Dec 2016 04:51PM UTC
Files 22
Run time 1s
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

14 Dec 2016 04:41PM UTC coverage: 79.619%. Remained the same
TOX_ENV=py27-mysql

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().

4219 of 5299 relevant lines covered (79.62%)

0.8 hits per line

Source Files on job 5000.4 (TOX_ENV=py27-mysql)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5000
  • Travis Job 5000.4
  • 7a9604a3 on github
  • Prev Job for TOX_ENV=py27-mysql on master (#4986.4)
  • Next Job for TOX_ENV=py27-mysql on master (#5003.4)
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