Commit Graph

29 Commits

Author SHA1 Message Date
Birunthan Mohanathas
a29151dc87 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
59a2afcb49 Bug 1177916 - URLSearchParams::GetParentObject should not return nullptr, r=smaug 2015-06-29 17:02:53 +01:00
Cameron McCormack
24937cc162 Back out bug 1177916 (changeset d4c34d7fb112) for test_urlSearchParams.html failure. 2015-06-27 12:18:19 +10:00
Andrea Marchesini
7bcafddd2e Bug 1177916 - URLSearchParams::GetParentObject should not return nullptr, r=smaug 2015-06-26 17:44:34 -07:00
Nikhil Marathe
73502c327d 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
4e85046721 Bug 1169044 - Patch 2 - Split URLSearchParams parsing logic into non-CCed URLParams. r=baku 2015-06-04 13:45:24 -07:00
Andrea Marchesini
e381040919 Bug 1174731 - patch 1 - Make searchParams attribute readonly, r=smaug 2015-06-24 12:15:59 -07:00
Andrew McCreight
92010d3e4c Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Boris Zbarsky
3a822d99b4 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
715db83e04 Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn 2015-02-02 09:56:13 +09:00
Donato Sciarra
fe59d02125 Bug 1074902 - URLSearchParams.set() should remove duplicate pairs. r=baku 2014-10-09 09:53:00 -04:00
Donato Sciarra
8651294a1d 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
3467274091 Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz. 2014-10-07 11:44:49 +02:00
Andrea Marchesini
0c817f7456 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
a2f6d0343b Bug 1064481 - URLSearchParams should encode % values correcty. r=ehsan 2014-09-08 19:27:00 -04:00
Andrea Marchesini
e580136de6 Bug 1050702 - Improve the use of strings in URLSearchParams, r=hsivonen 2014-08-08 23:41:00 +02:00
Andrea Marchesini
ffe9ef5b47 Bug 1037715 - Implement .searchParams on Location, r=bz, r=ehsan 2014-08-07 17:45:21 -07:00
Andrea Marchesini
39e838131c Bug 1032511 - URLSearchParam should decode any non-unicode input correctly, r=hsivonen 2014-08-07 17:45:14 -07:00
Birunthan Mohanathas
1ebdb921a5 Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
a993719744 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
b95c359828 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
ae0180ee85 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
fefe23a3c0 Bug 965990 - Allow URLSearchParams objects to be associated with multiple URLs, r=ehsan 2014-02-03 16:48:38 +00:00
Ryan VanderMeulen
97015d953f Backed out changeset 2d021370c57f (bug 965990) for causing bug 973307. 2014-02-21 16:54:42 -05:00
Andrea Marchesini
93c7cf2a05 Bug 965990 - Allow URLSearchParams objects to be associated with multiple URLs, r=ehsan 2014-02-03 16:48:38 +00:00
Andrea Marchesini
942fc487f9 Bug 959988 - Remove URLSearchParams.prototype.size, r=ehsan 2014-01-15 17:30:07 +01:00
Andrea Marchesini
a551066aef Bug 959684 - Implement URLSearchParams stringifier. r=ehsan 2014-01-15 09:50:18 -05:00
Andrea Marchesini
d30d3ae7f6 Bug 887836 - URLSearchParams and URL, r=ehsan, r=bz, r=smaug 2013-12-12 19:30:27 +00:00
Andrea Marchesini
4f76ee9387 Bug 887836 - URLQuery object, r=khuey 2013-12-12 19:30:10 +00:00