Skip to content

Commit 64fe49d

Browse files
committed
wombat: add CSSStyleSheet.prototype href override
karma tests: change name to just 'pywb'
1 parent 467ea0f commit 64fe49d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

karma-tests/karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var sauceLabsConfig = {
2-
testName: 'PyWB Client Tests',
2+
testName: 'pywb Client Tests',
33
};
44

55
// see https://github.com/karma-runner/karma-sauce-launcher/issues/73

pywb/static/wombat.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,6 +1331,7 @@ var wombat_internal = function($wbwindow) {
13311331
//============================================
13321332
function init_attr_overrides($wbwindow) {
13331333
override_attr($wbwindow.HTMLLinkElement.prototype, "href", "cs_");
1334+
override_attr($wbwindow.CSSStyleSheet.prototype, "href", "cs_");
13341335
override_attr($wbwindow.HTMLImageElement.prototype, "src", "im_");
13351336
override_attr($wbwindow.HTMLIFrameElement.prototype, "src", "if_");
13361337
override_attr($wbwindow.HTMLScriptElement.prototype, "src", "js_");

0 commit comments

Comments
 (0)