Commit Graph

29 Commits

Author SHA1 Message Date
Birunthan Mohanathas
e52329c788 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Andrea Marchesini
b6226d258f Bug 1177916 - URLSearchParams::GetParentObject should not return nullptr, r=smaug 2015-06-29 17:02:53 +01:00
Cameron McCormack
a4d92eff62 Back out bug 1177916 (changeset d4c34d7fb112) for test_urlSearchParams.html failure. 2015-06-27 12:18:19 +10:00
Andrea Marchesini
9be25c5399 Bug 1177916 - URLSearchParams::GetParentObject should not return nullptr, r=smaug 2015-06-26 17:44:34 -07:00
Nikhil Marathe
8a733c36ef Bug 1169044 - Patch 7 - Set mObserver in URLSearchParams. a=bustage.
A patch was landed on inbound that changed URLSearchParams to have multiple observers then got backed out, which broke this.
2015-06-25 11:44:34 -07:00
Nikhil Marathe
4d62cf0de7 Bug 1169044 - Patch 2 - Split URLSearchParams parsing logic into non-CCed URLParams. r=baku 2015-06-04 13:45:24 -07:00
Andrea Marchesini
6dc1c0a268 Bug 1174731 - patch 1 - Make searchParams attribute readonly, r=smaug 2015-06-24 12:15:59 -07:00
Andrew McCreight
aeff7c99ee Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Boris Zbarsky
54c64f20a9 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Mike Hommey
824818ee98 Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Donato Sciarra
15e681497a Bug 1074902 - URLSearchParams.set() should remove duplicate pairs. r=baku 2014-10-09 09:53:00 -04:00
Donato Sciarra
ee993e3fe6 Bug 1074886 - URLSearchParams.get() should return null (not empty string) when not find pair. r=bzbarsky 2014-10-07 10:06:00 +02:00
Peter Van der Beken
9254096129 Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Andrea Marchesini
3cf69cdc04 Bug 1074963 - Constructor URLSearchParams() should preserve the order of pairs from passing argument, r=bz 2014-10-01 14:55:33 +01:00
Andrea Marchesini
f165a69fbc Bug 1064481 - URLSearchParams should encode % values correcty. r=ehsan 2014-09-08 19:27:00 -04:00
Andrea Marchesini
cf723823d9 Bug 1050702 - Improve the use of strings in URLSearchParams, r=hsivonen 2014-08-08 23:41:00 +02:00
Andrea Marchesini
190b960292 Bug 1037715 - Implement .searchParams on Location, r=bz, r=ehsan 2014-08-07 17:45:21 -07:00
Andrea Marchesini
7fd3612d75 Bug 1032511 - URLSearchParam should decode any non-unicode input correctly, r=hsivonen 2014-08-07 17:45:14 -07:00
Birunthan Mohanathas
62570a8716 Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
1b1e0b258c Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug 2014-04-29 04:57:00 -04:00
Boris Zbarsky
35fca5eeeb Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
56f44fdf10 Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Andrea Marchesini
e104f14409 Bug 965990 - Allow URLSearchParams objects to be associated with multiple URLs, r=ehsan 2014-02-03 16:48:38 +00:00
Ryan VanderMeulen
c7a5ff34d2 Backed out changeset 2d021370c57f (bug 965990) for causing bug 973307. 2014-02-21 16:54:42 -05:00
Andrea Marchesini
0991ae3875 Bug 965990 - Allow URLSearchParams objects to be associated with multiple URLs, r=ehsan 2014-02-03 16:48:38 +00:00
Andrea Marchesini
ba2e827564 Bug 959988 - Remove URLSearchParams.prototype.size, r=ehsan 2014-01-15 17:30:07 +01:00
Andrea Marchesini
bfbfe3fb50 Bug 959684 - Implement URLSearchParams stringifier. r=ehsan 2014-01-15 09:50:18 -05:00
Andrea Marchesini
578ebe29fb Bug 887836 - URLSearchParams and URL, r=ehsan, r=bz, r=smaug
--HG--
rename : dom/workers/test/urlSearchparams_worker.js => dom/workers/test/urlSearchParams_worker.js
2013-12-12 19:30:27 +00:00
Andrea Marchesini
cb62561baa Bug 887836 - URLQuery object, r=khuey 2013-12-12 19:30:10 +00:00