aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/URLDecomposition.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-09-27fix: implement correct behaviour for urls with blob: scheme (#5825)Gravatar Liz 1-1/+8
* fix: implement correct behaviour for urls with blob: scheme Urls using the blob scheme can have special behaviour if their origin itself is a url. This fixes that by parsing the subdomain and if valid and the schemes(protocols) are valid returns its origin. Ive used node.js here a lot to make sure its behaviour is copied 1:1 and enabled the automated tests for it. Fixes https://github.com/oven-sh/bun/issues/5805 * fix: subUrl can be const, we are not modifying it * style: add spaces after `if` keyword
2023-07-23Upgrade WebKit (#3777)Gravatar Jarred Sumner 1-25/+12
* Upgrade to latest WebKit * Upgrade WebKit * hm * Fix failing tests * Delete utf8-encoding-fixture.bin.cmp --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-03-22A couple bug fixes (#2458)Gravatar Dylan Conway 1-12/+3
* fix valid status code range * update path * highwatermark option * throw DOMException * remove extra transpiler output * more transpiler tests * comment * get index not quickly * replace with `getDirectIndex` * update abort test * throw out of range status code * promisify test fix * move stdio test instance files * working crypto tests * allow duplicate set-cookie headers * different formatting * revert, fix will be in different pr * it is called * use min buffer size * fix url tests * null origin for other protocols * remove overload * add very large file test * await * coerce to int64 * 64 * no cast * add todo blob url tests * use `tryConvertToInt52`
2022-09-16Fix `origin` missing `protocol` in `URL`Gravatar Jarred Sumner 1-1/+15
Fixes https://github.com/oven-sh/bun/issues/1244
2022-06-22change the directory structurejarred/renameGravatar Jarred Sumner 1-0/+257