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