Valentin Gosu
e58beda89d
Bug 1082723 - Add IPv6 delimiters to nsLocation::GetHostname and Link::GetHostname r=smaug
2014-10-20 13:46:20 +03:00
L. David Baron
c642b6e690
Bug 1047928 patch 3 - Pass restyle hint to nsPresContext::RebuildAllStyleData. r=bzbarsky
...
This patch is not intended to contain any changes in behavior.
The behavior changes for these callers are in the following patch.
2014-10-08 14:26:57 -07: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
Bobby Holley
3e249c1824
Bug 796938 - Switch to GetEntryGlobal in nsLocation::SetHrefWithBase. r=smaug
...
We leave this flag on the script context for now - we can move it somewhere
else later.
2014-08-19 12:02:08 -07:00
Bobby Holley
74a7f8e60a
Bug 796938 - Switch nsLocation::GetSourceBaseURL to GetEntryDocument. r=smaug
2014-08-19 12:02:07 -07:00
Bobby Holley
740581f7a6
Bug 796938 - Switch to GetEntryDocument in GetDocumentCharacterSetForURI. r=smaug
2014-08-19 12:02:06 -07:00
Andrea Marchesini
190b960292
Bug 1037715 - Implement .searchParams on Location, r=bz, r=ehsan
2014-08-07 17:45:21 -07:00
David Zbarsky
57223393ac
Bug 1044305: Remove Location classinfo r=bz
2014-07-26 13:28:48 -04:00
Boris Zbarsky
7a44e33e2c
Bug 832014 part 8. Switch Location to WebIDL bindings. r=peterv,bholley
2014-07-11 19:32:46 -04:00
Boris Zbarsky
394a33af93
Bug 832014 part 5. Add WebIDL API to nsLocation. r=peterv,bholley
2014-07-11 19:31:46 -04:00
Trevor Saunders
3e8a2ce19d
bug 966059 - add nsIDocShell::GetWindow and GetDocument r=smaug
2014-01-09 21:03:47 -05:00
Nick Lebedev
b7223435b4
Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley
2014-05-13 11:58:00 +02:00
Bobby Holley
0f2e4665cd
Bug 997987 - Remove nsIScriptSecurityManager::GetCxSubjectPrincipal. r=Ms2ger
2014-05-06 15:43:02 -07:00
Bob Owen
759e2cffe1
Bug 986439 - Don't use nsNullPrincipalURI for referrer. r=bz
2014-03-29 19:10:27 +00:00
Kyle Huey
510a49016d
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Bobby Holley
a1f5e4896b
Bug 973401 - Handle null from GetURI. r=smaug
2014-02-19 18:23:48 -08:00
Bobby Holley
ccdbe495f4
Bug 956382 - Consider document.domain when doing Location security checks. r=mrbkap
2014-02-13 18:57:35 -08:00
Bob Owen
d09297ea86
Bug 944363 - Change functions that call SetURI in nsLocation to propagate return values. r=bholley
2014-01-14 08:54:58 +00:00
Bob Owen
d8885ccdf2
Bug 785310 - HTML5 sandboxed iframe should not be able to perform top navigation when scripts are allowed. r=bholley, r=smaug
2014-01-13 07:58:16 +00:00
Ehsan Akhgari
58ee2029fd
Merge m-c into inbound
2014-01-04 12:14:57 -05:00
Ehsan Akhgari
ebd358dfd7
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
Bobby Holley
8f2d35aa8a
Bug 887928 - document.referrer should be based on the incument script settings object. r=bz
2014-01-03 14:37:17 -08:00
Andrea Marchesini
bc1faeb812
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
Ehsan Akhgari
3ec2c9b451
Bug 905353 - Minimize the #includes in dom/base; r=jst
...
--HG--
extra : rebase_source : e7a1d2262bf6d8c9b78057b8eb6cdbfd98262f68
2013-08-15 14:17:48 -04:00
David Zbarsky
040dbd4c2b
Bug 894646 - Various dom deCOM cleanups r=Ms2ger
2013-07-23 16:39:17 -07:00
Bobby Holley
8490fc8be1
Bug 865729 - Remove nsIJSContextStack from dom/foo. r=gabor
2013-04-29 11:16:18 -07:00
David Zbarsky
82391d9a22
Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger
2013-04-24 00:22:37 -04:00
Olli Pettay
46d4422369
Bug 825544: backout Bug 825544, Bug 825544, Bug 765192 and Bug 808035 to bring back the old .location=val behavior, r=bz
2013-01-15 13:46:35 +02:00
Mike West
cf68a1035d
Bug 828261: Implement 'window.location.origin'. r=bholley, sr=sicking
2013-01-09 17:37:25 +01:00
Bobby Holley
195bcc0e9f
Bug 809290 - Fix nsLocation::CheckURL. r=bz
2012-11-08 08:26:49 -08:00
Bobby Holley
0d4bc850b4
Bug 808611 - Move valueOf to nsIDOMLocation. r=mrbkap
2012-11-07 08:27:23 -08:00
Bobby Holley
ce74d3f31d
Bug 808612 - Wrapper cache and cycle collect nsLocation. r=smaug
2012-11-06 14:29:09 -08:00
Jacek Szpot
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Bobby Holley
29e21a9717
Bug 747607 - Remove GetContextFromStack. r=bz
2012-10-19 23:26:17 +02:00
Bobby Holley
c2219d0e69
Bug 747607 - Don't throw when we fail to find a source document. r=bz
2012-10-19 23:26:17 +02:00
Bobby Holley
1ae8bddeda
Bug 801305 - Use the bonafide subject for the loadinfo owner. r=bz
2012-10-19 01:45:09 +02:00
Bobby Holley
07e2329fa3
Bug 802557 - Do more direct comparisons with the outer window. r=bz
2012-10-19 01:37:14 +02:00
Bobby Holley
a0bafb7cc3
Bug 801241 - Properly handle |false| return false from JS_DescribeScriptedCaller. r=bz
2012-10-17 19:44:30 +02:00
Oonishi Atsushi
f0d30acf35
Bug 754029 - Navigating from a new script tag does not add a session history entry. r=smaug, r=bz
2012-10-13 13:20:55 -04:00
Trevor Saunders
3d3592cd63
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Bobby Holley
0e6123aeca
Bug 797204 - Use JS_GetScriptedCaller instead of JSStackFrames in nsLocation. r=bz
2012-10-10 11:01:26 +02:00
Bobby Holley
95c1363faa
Bug 797204 - Compare the document URI to the document principal, not the subject principal. r=bz
...
Per an IRC discussion with jlebar, this is what we're actually intending to
do here. Justin's original reasoning for this check is in bug 593174 comment 25.
2012-10-10 11:01:26 +02:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Luke Wagner
94264a0bc8
Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
...
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
0923bf00ef
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Matt Brubeck
ccfa10cbd2
Back out 551b6acdafb9 and ae0b0dd6dfa2 (bug 754029) on suspicion of causing mochitest-other timeouts
2012-07-27 17:03:23 -07:00
Oonishi Atsushi
ebed433bef
Bug 754029 - Navigating from a new script tag does not add a session history entry. r=smaug
2012-07-27 17:51:52 -04:00
Olli Pettay
8c6108b97a
Bug 770429, do uri load check earlier to avoid running code unnecessarily, r=mrbkap
...
--HG--
extra : rebase_source : f28bd4edb4c055f5674923ffb82bae20bc502dd2
2012-07-19 10:43:33 +03:00