Peter Van der Beken
00ece8f296
Bug 1096328 - Remove nativeOwnership from Bindings.conf, make rooting analysis happy. r=bz.
2015-01-08 22:56:42 +01:00
Valentin Gosu
c33039bcd2
Bug 1093611 - nsStandardURL::SetRef only does percent-encoding if dom.url.encode_decode_hash is true r=honzab
2015-01-13 02:11:02 +02:00
Valentin Gosu
d2e7848275
Bug 1093611 - AnchorElement.hash should be the encoded version of the href attribute's fragment r=smaug
2014-11-12 03:14:04 +02:00
Carsten "Tomcat" Book
b1bbd7b153
Backed out changeset ec354ea4ace0 (bug 1093611) for talos svgr bustage
2014-11-26 15:08:54 +01:00
Valentin Gosu
6cfe195762
Bug 1093611 - AnchorElement.hash should be the encoded version of the href attribute's fragment r=smaug
2014-11-12 03:14:04 +02:00
Andrea Marchesini
abbb525ecc
Bug 1101584 - sContentUtils::GetUTFOrigin should check if the URI has the nsIURIWithPrincipal interface, r=bz, r=smaug
2014-11-19 11:40:00 +01:00
Wes Kocher
c56a2e92ca
Backed out changeset 8e604ebfc313 (bug 1101584) for m-oth failures on a CLOSED TREE
2014-11-19 12:07:15 -08:00
Andrea Marchesini
49cd6f0500
Bug 1101584 - sContentUtils::GetUTFOrigin should check if the URI has the nsIURIWithPrincipal interface, r=bz
2014-11-19 16:32:47 +00:00
Valentin Gosu
5ed2566162
Bug 1082723 - Add IPv6 delimiters to nsLocation::GetHostname and Link::GetHostname r=smaug
2014-10-20 13:46:20 +03:00
Andrea Marchesini
1560ff52a9
Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
...
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-08 17:15:23 +01:00
Andrea Marchesini
57fa89d6de
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-08 17:15:22 +01:00
Ryan VanderMeulen
566e49b6ff
Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures.
...
Backed out changeset 7d06b68c44d0 (bug 1079335)
Backed out changeset 92030169528e (bug 1079301)
Backed out changeset c09d7f95554a (bug 1047483)
Backed out changeset c199f1057d7e (bug 1047483)
Backed out changeset 18830d07884c (bug 1047483)
Backed out changeset e087289ccfbb (bug 1047483)
Backed out changeset 6238ff5d3ed0 (bug 1047483)
CLOSED TREE
--HG--
rename : content/base/public/File.h => content/base/public/nsDOMFile.h
rename : content/base/src/MultipartFileImpl.cpp => content/base/src/nsDOMBlobBuilder.cpp
rename : content/base/src/MultipartFileImpl.h => content/base/src/nsDOMBlobBuilder.h
rename : content/base/src/File.cpp => content/base/src/nsDOMFile.cpp
2014-10-07 13:16:11 -04:00
Andrea Marchesini
946cf8e0e1
Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
...
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-07 15:20:55 +01:00
Andrea Marchesini
570a9abfb8
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-07 15:20:52 +01:00
Andrea Marchesini
24784441a1
Bug 1058470 - Blob URL should contain the origin as part of the URI, r=bz
2014-08-31 11:40:11 +01:00
Andrea Marchesini
111bb0ee47
Bug 1046240 - Expose the principal for a blob URI for chrome-only js code. r=smaug
2014-08-13 08:29:00 -04:00
Andrea Marchesini
14fd85afcc
Bug 1037715 - Implement .searchParams on Location, r=bz, r=ehsan
2014-08-07 17:45:21 -07:00
Boris Zbarsky
d04696eb6f
Bug 832014 part 4. Make the URLUtils APIs able to throw, since Location needs to be able to do that so far. r=peterv
2014-07-11 19:30:27 -04:00
Andrea Marchesini
696f677e99
Bug 827823 - patch 1 - CC in DOMFile class, r=ehsan
2014-06-26 20:46:34 -07:00
Andrea Marchesini
5668ca3c96
Bug 1018682 - URL API - SetProtocol should serialize and reparse the URL, r=bz
2014-06-09 17:20:19 +01:00
Valentin Gosu
d82b452230
Bug 960014 - Escape IPv6 address in URL::GetHostname r=smaug
2014-05-30 01:19:09 +03:00
Nick Lebedev
7d585aca9e
Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley
2014-05-13 11:58:00 +02:00
Valentin Gosu
6bbca56f4f
Bug 1005578 - Change nsIURI object from nsStandardURL to nsJSURI when calling url.href. r=bz
2014-05-06 17:14:04 -04:00
Valentin Gosu
71a8af93d4
Bug 996055 - Prevent url.hostname from clearing the hostname. r=mcmanus
2014-04-23 17:45:58 +03:00
Boris Zbarsky
fdbb455d4f
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
3f26a82832
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
f4613ebe81
Bug 985432 - URLSearchParams is not nullable, r=bz
2014-03-19 15:36:46 +00:00
Andrea Marchesini
893a19e4bb
Bug 965990 - Allow URLSearchParams objects to be associated with multiple URLs, r=ehsan
2014-02-03 16:48:38 +00:00
Ryan VanderMeulen
f1a55855c0
Backed out changeset 2d021370c57f (bug 965990) for causing bug 973307.
2014-02-21 16:54:42 -05:00
Andrea Marchesini
c2511cfdb1
Bug 965990 - Allow URLSearchParams objects to be associated with multiple URLs, r=ehsan
2014-02-03 16:48:38 +00:00
Ehsan Akhgari
eaa7491d77
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Andrea Marchesini
cd35fe13b6
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
f5abcb4feb
Bug 930450 - Setting port to the empty string should set URL's port to "0", r=ehsan
2013-12-05 21:05:51 +00:00
Benoit Jacob
8b59628554
Bug 940717 - Unify the IsChromeURI functions we have in various places - r=ehsan
2013-11-20 11:29:03 -05:00
Andrea Marchesini
f703a01ee7
Bug 927735 - TypeError check for URL API. r=ehsan
2013-10-18 10:17:03 -04:00
Andrea Marchesini
3ceab08516
Bug 926890 - Throw JavaScript exceptions for URL, r=ehsan
2013-10-16 16:04:26 +02:00
Andrea Marchesini
d24dfb225f
Bug 920015 - Expose DOM URL to js modules, r=ehsan, f=emk, r=bz, r=bholley, r=smaug
...
--HG--
rename : js/xpconnect/tests/unit/test_textDecoder.js => js/xpconnect/tests/unit/test_url.js
2013-10-10 08:56:01 +02:00
Andrea Marchesini
d80e13725f
Bug 887364 - URL API for main thread. r=ehsan
2013-09-04 13:07:21 -04:00
Kyle Huey
bf31d78a83
Bug 903772: Part 3 - Refactor GlobalObject. r=peterv
2013-08-22 22:17:08 -07:00
Ms2ger
6ec28362b3
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Matthew Gregan
16d93ca314
Bug 855130 - Implement URL::createObjectURL overload for
...
MediaSources. Add MediaSources to HostObjectProtocolHandler. Make
MediaSource a real interface. r=khuey
2013-06-21 15:15:15 +12:00
Phil Ringnalda
223d1262f5
Backed out 5fa1f7715c19:7a300d1d1b23 (bug 855130) for Windows build failures
...
CLOSED TREE
2013-07-01 21:23:37 -07:00
Matthew Gregan
4590b89783
Bug 855130 - Implement URL::createObjectURL overload for MediaSources. r=khuey
...
---
content/base/public/nsHostObjectProtocolHandler.h | 26 +++++++++
content/base/src/nsHostObjectProtocolHandler.cpp | 65 +++++++++++++++++------
content/base/src/nsHostObjectURI.h | 5 +-
content/media/mediasource/MediaSource.cpp | 1 +
content/media/mediasource/MediaSource.h | 7 +++
dom/base/URL.cpp | 12 +++++
dom/base/URL.h | 7 +++
dom/webidl/URL.webidl | 6 +++
layout/build/nsLayoutModule.cpp | 4 ++
9 files changed, 116 insertions(+), 17 deletions(-)
2013-07-02 15:46:49 +12:00
Robert O'Callahan
9146383988
Bug 837034. Part 2: Convert DOMMediaStream to use WebIDL. r=peterv,jesup
...
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 483fca748444db20ed0d35cb586485f277e1808c
2013-02-15 21:04:11 +13:00
Peter Van der Beken
bfc9de7860
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
...
--HG--
extra : rebase_source : 5668d9e01bff0fe7831d98018428856e5940a620
2012-12-03 17:07:49 +01:00
Ed Morley
19dd19ed37
Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures
2013-01-28 11:08:21 +00:00
Peter Van der Beken
70a2f7c413
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
...
--HG--
extra : rebase_source : 68e5630591f6209e2af9c5cd2321fed8edd3de24
2012-12-03 17:07:49 +01:00
Robert O'Callahan
a58b731c33
Bug 792675. Part 6: Extend createObjectURL to support MediaStreams. r=sicking
...
--HG--
extra : rebase_source : ffec7b146552362b576e88c6dea24d612a5860b9
2012-09-25 15:24:45 +12:00
Robert O'Callahan
7b4c5ebb95
Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking
...
The code to handle MediaStream URIs is almost the same as for Blobs, so share it.
nsHostObjectProtocolHandler is modified a bit to simplify method names. Also
we make nsHostObjectProtocolHandler::AddDataEntry take responsibility for
generating the URI to avoid duplicating that code later.
We need separate subclasses for each kind of host object protocol handler,
but we don't need separate subclasses for each kind of host object URI.
--HG--
rename : content/base/public/nsBlobProtocolHandler.h => content/base/public/nsHostObjectProtocolHandler.h
rename : content/base/src/nsBlobProtocolHandler.cpp => content/base/src/nsHostObjectProtocolHandler.cpp
rename : content/base/src/nsBlobURI.cpp => content/base/src/nsHostObjectURI.cpp
rename : content/base/src/nsBlobURI.h => content/base/src/nsHostObjectURI.h
extra : rebase_source : bfb1d7ea2813100a35f9a2054a67584e38f5f330
2012-09-25 15:24:44 +12:00
Robert O'Callahan
cecf3ae790
Bug 792675. Part 1: Make the URL interface use WebIDL. r=bz
...
--HG--
extra : rebase_source : dbb7a3158b71446930400ad523a2896b6306de40
2012-09-25 15:24:43 +12:00