Andrea Marchesini
e0b947bce4
Bug 1352379 - Add a test for URLSearchParams and record<> CTOR, r=qdot
2017-04-03 10:01:35 +02:00
Andrea Marchesini
734fb9d343
Bug 1352379 - Remove an extra 2 spaces in urlSearchParams_commons.js, r=qdot
2017-04-03 10:01:18 +02:00
Valentin Gosu
1c5fbd8c6e
Bug 1342438 - Remove url .hash encoding/decoding prefs r=bagder
...
These prefs have been added close to two years ago:
dom.url.encode_decode_hash and dom.url.getters_decode_hash
The main reason for their existence was in case we encounter any web-compat issues. At this point the extra code is mostly useless, and flipping the pref may lead to crashes.
MozReview-Commit-ID: LhAHkYmv0TR
--HG--
extra : rebase_source : 8f2d50d5633496cf165b3925d952bb6475bce3e0
2017-03-08 22:19:34 +01:00
Valentin Gosu
5847af980b
Bug 1324243 - Normalize IPv6 r=manishearth
...
MozReview-Commit-ID: 1UFIdeWrz1E
--HG--
extra : rebase_source : cb7e44b0afe06426e3268e80d94a2f59af633b9b
2017-03-09 00:55:05 +01:00
Carsten "Tomcat" Book
a25648d3cd
Backed out changeset 189b914221f4 (bug 1324243) for wpt-11 bustage
2017-03-06 14:13:03 +01:00
Valentin Gosu
0cb0b2702b
Bug 1324243 - Normalize IPv6 r=manishearth
...
MozReview-Commit-ID: Kxe9eLqvKp6
--HG--
extra : rebase_source : 195cafb81adeb9d5fa0a84535144debe1b26f6ff
2017-03-01 00:01:15 +01:00
Andrea Marchesini
d8051391f9
Bug 1331580 - Construct URLSearchParams from record<>, r=qdot
2017-03-02 21:48:51 +01:00
Joel Maher
f297f17181
Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt
...
MozReview-Commit-ID: 2HbPxGkrVfv
2017-03-01 08:20:25 -05:00
Andrea Marchesini
95d6392cf9
Bug 1337702 - Implement URL's toJSON(), r=smaug
2017-02-09 13:18:40 +01:00
Valentin Gosu
fd0c022031
Bug 1275746 - Fix tests that assume a HTTP url without a hostname is valid r=bz,MattN,jdm,markh
...
MozReview-Commit-ID: DzRenakrcAG
2016-07-07 16:20:47 +03:00
Andrea Marchesini
16bc4a8d06
Bug 1334564 - Deprecate URL.createObjectURL(mediastream), r=smaug, r=rjesup
2017-02-07 08:58:35 +01:00
Andrea Marchesini
899a146699
Bug 1336018 - Get rid of objectURLOptions dictionary in URL.createObjectURL, r=smaug
2017-02-03 08:28:52 +01:00
Sebastian Hengst
1fef20171e
Backed out changeset bfaa720977d2 (bug 1336018) for failing test_exception_messages.html. r=backout on a CLOSED TREE
2017-02-02 16:51:55 +01:00
Sebastian Hengst
cf329a5f4a
Backed out changeset 95fe30082f2c (bug 1334564)
2017-02-02 16:51:18 +01:00
Andrea Marchesini
8f2647aa6b
Bug 1334564 - Deprecate URL.createObjectURL(mediastream), r=smaug
2017-02-02 15:25:54 +01:00
Andrea Marchesini
73af520c01
Bug 1336018 - Get rid of objectURLOptions dictionary in URL.createObjectURL, r=smaug
2017-02-02 15:15:54 +01:00
Andrea Marchesini
8b33e80b44
Bug 1331864 - Implement URLSearchParams's sort(), r=qdot
2017-01-27 20:35:47 +01:00
Andrea Marchesini
20247bbf3f
Bug 1329298 - Part 1 - Unify body extraction in Fetch/Beacon/XHR, r=smaug
2017-01-24 12:13:31 +01:00
Masatoshi Kimura
8a55ba31d3
Bug 1327960 - Don't escape the query part of nsSimpleURI. r=valentin.gosu
...
MozReview-Commit-ID: G5Shb8kYYTx
--HG--
extra : rebase_source : 1f54e00058decbdd605953bb127e3a056dcbb9be
2017-01-06 20:56:14 +09:00
Andrea Marchesini
427d0ee48e
Bug 1331333 - Unify URLSearchParams tests, r=qdot
2017-01-17 11:13:52 +01:00
Andrea Marchesini
69a0cb32c4
Bug 1330678 - Construct URLSearchParams from sequence or from string, r=smaug
2017-01-17 11:13:06 +01:00
Andrea Marchesini
94547f20bb
Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status, r=bkelly
2017-01-05 10:05:32 +01:00
Masatoshi Kimura
0c6dc2ea73
Bug 1323683 - Fold nsIURIWithQuery into nsIURI. r=valentin.gosu
...
MozReview-Commit-ID: BFfgr42sNyx
--HG--
extra : rebase_source : a28d6a3c96f0c86dd7269147f130b3195b1f1faf
2016-12-28 20:40:21 +09:00
Andrea Marchesini
75af7759bf
Bug 1321719 - Location URL should use Get/SetFilePath in nsIURIWithQuery, r=valentin
2016-12-07 16:29:25 -10:00
Andrea Marchesini
9f4ca5a041
Bug 1310483 - Implement nsIURIWithQuery for having query part in simple URI, r=valentin
2016-11-14 13:04:33 +01:00
Sebastian Hengst
1736538ee8
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/url. r=RyanVM
...
MozReview-Commit-ID: 8Eyd35KojSo
--HG--
extra : rebase_source : 3abe627ea10ef2a0a64352dd3b152a7dcea9601d
2016-11-05 11:29:18 +01:00
Valentin Gosu
db9440de51
Bug 1305204 - (Part 2) Backout bug 1275746 a=backout
...
MozReview-Commit-ID: H8aCKdJzEbR
2016-10-23 14:24:45 +02:00
Andrea Marchesini
19a783cce8
Bug 1308667 - WorkerPrivate::QueueRunnable can be used by any parent thread; assertion fixed, r=bkelly
2016-10-12 15:15:04 +02:00
Nicholas Nethercote
34dcc7b852
Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm.
...
This change avoids lots of false positives for Coverity's CHECKED_RETURN
warning, caused by NS_WARN_IF's current use in both statement-style and
expression-style.
In the case where the code within the NS_WARN_IF has side-effects, I made the
following change.
> NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
> -->
> Unused << NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
In the case where the code within the NS_WARN_IF lacks side-effects, I made the
following change.
> NS_WARN_IF(!condWithoutSideEffects);
> -->
> NS_WARNING_ASSERTION(condWithoutSideEffects, "msg");
This has two improvements.
- The condition is not evaluated in non-debug builds.
- The sense of the condition is inverted to the familiar "this condition should
be true" sense used in assertions.
A common variation on the side-effect-free case is the following.
> nsresult rv = Fn();
> NS_WARN_IF_(NS_FAILED(rv));
> -->
> DebugOnly<nsresult rv> = Fn();
> NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "Fn failed");
--HG--
extra : rebase_source : 58788245021096efa8372a9dc1d597a611d45611
2016-09-02 17:12:24 +10:00
Eric Rahm
ee9ba04219
Bug 1262948 - Remove warning from URL constructor. r=baku
...
Remove warning if constructing a new URI fails. An exception is still thrown on failure.
2016-08-15 11:16:25 -07:00
Geoff Lankow
d14b295017
Bug 1287657 - Context menu items should not be disabled for media with a blob URL; r=kinetik, r=baku
2016-07-25 22:41:52 +12:00
Carsten "Tomcat" Book
336105a0de
merge mozilla-inbound to mozilla-central a=merge
2016-07-22 11:58:02 +02:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Andrea Marchesini
8183e57459
Bug 1279493 - Use blob URLs exclusively rather than having mediastream and mediasource URLs, r=smaug
2016-07-21 14:31:43 +02:00
Andrea Marchesini
7e89e04e02
Bug 1282407
- Test for nsIURIWithBlobImpl, r=smaug
2016-07-18 17:22:05 +02:00
Andrea Marchesini
be759d0233
Bug 1286955. Don't use an ErrorResult on multiple threads in the Worker URL implementation. r=bzbarsky
2016-07-15 22:35:12 -04:00
Carsten "Tomcat" Book
e75558e07b
Backed out changeset cf2bb72412a0 (bug 1286955) for hazard failures
2016-07-16 10:03:27 +02:00
Andrea Marchesini
fccb098fcb
Bug 1286955. Don't use an ErrorResult on multiple threads in the Worker URL implementation. r=bzbarsky
2016-07-15 22:35:12 -04:00
Valentin Gosu
ef5a976694
Bug 1275746 - Fix tests that assume a HTTP url without a hostname is valid r=jrgm,MattN,jdm,gijs,smaug
...
MozReview-Commit-ID: DzRenakrcAG
2016-07-13 15:19:34 +03:00
Andrew McCreight
9f969a70a2
Bug 1207233 - Add explicit to URLSearchParams ctor. r=bustage
2016-07-12 09:04:37 -07:00
Thomas Wisniewski
b66fa4f6c0
Bug 1207233 - Part 2: Make URLSearchParams nsIXHRSendable as well as clonable, and have XHRs set the correct request content type for them. r=baku
2016-07-11 15:03:44 -04:00
Carsten "Tomcat" Book
c33672a846
Backed out changeset ff7dbda6a6d0 (bug 1207233)
2016-07-12 11:40:00 +02:00
Thomas Wisniewski
458f4f42b3
Bug 1207233 - Part 2: Make URLSearchParams nsIXHRSendable as well as clonable, and have XHRs set the correct request content type for them. r=baku
...
--HG--
extra : rebase_source : de17309ef5704f288f309605dbb7744eadea3bd8
2016-07-11 15:03:44 -04:00
Andrea Marchesini
9b8df4a1d1
Bug 1270185 - create dom/url for URL API and its tests, r=ehsan
...
--HG--
rename : dom/base/URL.cpp => dom/url/URL.cpp
rename : dom/base/URL.h => dom/url/URL.h
rename : dom/base/URLSearchParams.cpp => dom/url/URLSearchParams.cpp
rename : dom/base/URLSearchParams.h => dom/url/URLSearchParams.h
rename : dom/base/test/file_url.jsm => dom/url/tests/file_url.jsm
rename : dom/workers/test/file_url.jsm => dom/url/tests/file_worker_url.jsm
rename : dom/workers/test/jsm_url_worker.js => dom/url/tests/jsm_url_worker.js
rename : dom/workers/test/test_bug883784.jsm => dom/url/tests/test_bug883784.jsm
rename : dom/workers/test/test_bug883784.xul => dom/url/tests/test_bug883784.xul
rename : dom/base/test/test_unknown_url_origin.html => dom/url/tests/test_unknown_url_origin.html
rename : dom/base/test/test_url.html => dom/url/tests/test_url.html
rename : dom/base/test/test_url.xul => dom/url/tests/test_url.xul
rename : dom/base/test/test_urlExceptions.html => dom/url/tests/test_urlExceptions.html
rename : dom/base/test/test_urlSearchParams.html => dom/url/tests/test_urlSearchParams.html
rename : dom/base/test/test_urlSearchParams_utf8.html => dom/url/tests/test_urlSearchParams_utf8.html
rename : dom/base/test/test_url_data.html => dom/url/tests/test_url_data.html
rename : dom/base/test/test_url_empty_port.html => dom/url/tests/test_url_empty_port.html
rename : dom/base/test/test_url_malformedHost.html => dom/url/tests/test_url_malformedHost.html
rename : dom/base/test/test_urlutils_stringify.html => dom/url/tests/test_urlutils_stringify.html
rename : dom/workers/test/test_url.html => dom/url/tests/test_worker_url.html
rename : dom/workers/test/test_url.xul => dom/url/tests/test_worker_url.xul
rename : dom/workers/test/test_urlApi.html => dom/url/tests/test_worker_urlApi.html
rename : dom/workers/test/test_urlSearchParams.html => dom/url/tests/test_worker_urlSearchParams.html
rename : dom/workers/test/test_url_exceptions.html => dom/url/tests/test_worker_url_exceptions.html
rename : dom/workers/test/urlApi_worker.js => dom/url/tests/urlApi_worker.js
rename : dom/workers/test/urlSearchParams_worker.js => dom/url/tests/urlSearchParams_worker.js
rename : dom/workers/test/url_exceptions_worker.js => dom/url/tests/url_exceptions_worker.js
rename : dom/workers/test/url_worker.js => dom/url/tests/url_worker.js
2016-06-29 07:44:18 +02:00