mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
wombat: add CSSStyleSheet.prototype href override
karma tests: change name to just 'pywb'
This commit is contained in:
parent
467ea0f68b
commit
64fe49d703
@ -1,5 +1,5 @@
|
||||
var sauceLabsConfig = {
|
||||
testName: 'PyWB Client Tests',
|
||||
testName: 'pywb Client Tests',
|
||||
};
|
||||
|
||||
// see https://github.com/karma-runner/karma-sauce-launcher/issues/73
|
||||
|
@ -1331,6 +1331,7 @@ var wombat_internal = function($wbwindow) {
|
||||
//============================================
|
||||
function init_attr_overrides($wbwindow) {
|
||||
override_attr($wbwindow.HTMLLinkElement.prototype, "href", "cs_");
|
||||
override_attr($wbwindow.CSSStyleSheet.prototype, "href", "cs_");
|
||||
override_attr($wbwindow.HTMLImageElement.prototype, "src", "im_");
|
||||
override_attr($wbwindow.HTMLIFrameElement.prototype, "src", "if_");
|
||||
override_attr($wbwindow.HTMLScriptElement.prototype, "src", "js_");
|
||||
|
Loading…
x
Reference in New Issue
Block a user