Commit Graph

30 Commits

Author SHA1 Message Date
Jeff Gilbert
70a22b2878 Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Emilio Cobos Álvarez
4b8b5e1717 Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
This was done automatically replacing:

  s/mozilla::Move/std::move/
  s/ Move(/ std::move(/
  s/(Move(/(std::move(/

Removing the 'using mozilla::Move;' lines.

And then with a few manual fixups, see the bug for the split series..

MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Andrea Marchesini
ff35c9433a Bug 1454889 - Remove createObjectURL()'s MediaStream overload, r=valentin 2018-04-24 16:19:51 +02:00
Narcis Beleuzu
8fd26b0fe8 Backed out changeset 0c5a4939300c (bug 1454889) for causing frequent Leaks (Bug 1378025). a=backout 2018-05-07 12:06:25 +03:00
Andrea Marchesini
d173a7f829 Bug 1454889 - Remove createObjectURL()'s MediaStream overload, r=valentin 2018-04-24 16:19:51 +02:00
Andrea Marchesini
3add386110 Bug 1454656 - Unify URLWorker and URLMainThread, r=smaug 2018-04-24 12:01:46 +02:00
Andrea Marchesini
da9f889c16 Bug 1448328 - Use thread-safe nsIURI in the URI API - part 1 - No getter/setter runnables, r=valentin 2018-04-14 01:06:35 +02:00
Andrea Marchesini
94c689b806 Bug 1368955 - Split URL.cpp in URLMainThread.{cpp,h} and URLWorker.{cpp,h}, r=qdot 2017-05-31 21:18:56 +02:00
Andrea Marchesini
a52c1f4b91 Bug 1368950 - Remove URL Constructor with a URL base argument, r=qdot 2017-05-31 21:18:19 +02:00
Andrea Marchesini
c1e086c91c Bug 1358114 - Use IPCBlob in BlobURL, r=smaug 2017-04-24 12:16:49 +02:00
Sebastian Hengst
cc75d20a02 Backed out changeset a180e3f4de16 (bug 1358114) 2017-04-24 15:43:05 +02:00
Andrea Marchesini
da5c3e054f Bug 1358114 - Use IPCBlob in BlobURL, r=smaug 2017-04-24 12:16:49 +02:00
Valentin Gosu
029e26bc91 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
2017-03-08 22:19:34 +01:00
Andrea Marchesini
1d0c3e3794 Bug 1334564 - Deprecate URL.createObjectURL(mediastream), r=smaug, r=rjesup 2017-02-07 08:58:35 +01:00
Andrea Marchesini
0856167b5a Bug 1336018 - Get rid of objectURLOptions dictionary in URL.createObjectURL, r=smaug 2017-02-03 08:28:52 +01:00
Sebastian Hengst
c53eee7a84 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
24efcdc191 Backed out changeset 95fe30082f2c (bug 1334564) 2017-02-02 16:51:18 +01:00
Andrea Marchesini
2803064b5d Bug 1334564 - Deprecate URL.createObjectURL(mediastream), r=smaug 2017-02-02 15:25:54 +01:00
Andrea Marchesini
8d3061189e Bug 1336018 - Get rid of objectURLOptions dictionary in URL.createObjectURL, r=smaug 2017-02-02 15:15:54 +01:00
Andrea Marchesini
28f084ecf0 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
bc0de3b080 Bug 1323683 - Fold nsIURIWithQuery into nsIURI. r=valentin.gosu
MozReview-Commit-ID: BFfgr42sNyx
2016-12-28 20:40:21 +09:00
Andrea Marchesini
d722c927a8 Bug 1310483 - Implement nsIURIWithQuery for having query part in simple URI, r=valentin 2016-11-14 13:04:33 +01:00
Nicholas Nethercote
b5810a1eb4 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");
2016-09-02 17:12:24 +10:00
Eric Rahm
18c02b1486 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
5fbd361aec 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
Andrea Marchesini
3ac1b3ccda 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
621523a7ae 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
7f6fb45764 Backed out changeset cf2bb72412a0 (bug 1286955) for hazard failures 2016-07-16 10:03:27 +02:00
Andrea Marchesini
8327cc9f09 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
Andrea Marchesini
f2ca5cf206 Bug 1270185 - create dom/url for URL API and its tests, r=ehsan 2016-06-29 07:44:18 +02:00