Chrome has a bug where it doesn't properly report download progress for gzip-encoded content. I found a library that works around it, as far as I understand by injecting the fix into the DOM.
Now I'm wondering, if link to both this library and my own js file on an html page, would the GPL force me to release the code of my own js file?
<script type="text/javascript" src="chrome-bugfix-library.js"></script>
<script type="text/javascript" src="my-code.js"></script>
I don't use any new API introduced by the library, and my code already worked correctly in Firefox, but with that fix features I developed now work correctly in Chrome as well.
So since I didn't have to change any of my source code as a result of including that GPL-licensed library, I guess I could at least argue that it's not a derivative work?
Must I disclose my source or not?
So I guess this is a more specific version of this question: What are the implications of licensing a JavaScript library under GPL?
EDIT: I got a message from the library developer that I could use it under the MIT license, so that solves my problem, however I'm still curious as to the answer of my question. Are function calls due to polyfills enough to invoke GPL terms?
my-code.js
contain any calls to functions inchrome-bugfix-library.js
?