Carsten "Tomcat" Book
a82e03cd67
Backed out changeset ec354ea4ace0 (bug 1093611) for talos svgr bustage
2014-11-26 15:08:54 +01:00
Valentin Gosu
ae99095b94
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
Sid Stamm
00f65acbf1
Bug 704320 - content/dom changes for meta referrer support. (r=jst)
...
This enables referrer policies for:
- EventSource (content/base/src/EventSource)
- XMLHttpRequest (content/base/src/nsXMLHttpRequest)
- HTML media elements (content/html/content/src/HTMLMediaElement)
- window.open (embedding/components/windowwatcher)
- window.location (dom/base/nsLocation)
2014-11-18 08:47:03 -05:00
Valentin Gosu
f4b976820f
Bug 1082723 - Add IPv6 delimiters to nsLocation::GetHostname and Link::GetHostname r=smaug
2014-10-20 13:46:20 +03:00
L. David Baron
396b48143a
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
dcda2ba9bb
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
dd3b8f5e96
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
c1382146f9
Bug 796938 - Switch nsLocation::GetSourceBaseURL to GetEntryDocument. r=smaug
2014-08-19 12:02:07 -07:00
Bobby Holley
1ef0a34ad2
Bug 796938 - Switch to GetEntryDocument in GetDocumentCharacterSetForURI. r=smaug
2014-08-19 12:02:06 -07:00
Andrea Marchesini
a87ad490c6
Bug 1037715 - Implement .searchParams on Location, r=bz, r=ehsan
2014-08-07 17:45:21 -07:00
David Zbarsky
21dba40d04
Bug 1044305: Remove Location classinfo r=bz
2014-07-26 13:28:48 -04:00
Boris Zbarsky
618671a12c
Bug 832014 part 8. Switch Location to WebIDL bindings. r=peterv,bholley
2014-07-11 19:32:46 -04:00
Boris Zbarsky
8b6f6f643e
Bug 832014 part 5. Add WebIDL API to nsLocation. r=peterv,bholley
2014-07-11 19:31:46 -04:00
Trevor Saunders
78966cf36b
bug 966059 - add nsIDocShell::GetWindow and GetDocument r=smaug
2014-01-09 21:03:47 -05:00
Nick Lebedev
c49e263d0f
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
9c988d6c40
Bug 997987 - Remove nsIScriptSecurityManager::GetCxSubjectPrincipal. r=Ms2ger
2014-05-06 15:43:02 -07:00
Bob Owen
6ff37ba8dc
Bug 986439 - Don't use nsNullPrincipalURI for referrer. r=bz
2014-03-29 19:10:27 +00:00
Kyle Huey
fe6c4e28d6
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Bobby Holley
dd83e5257f
Bug 973401 - Handle null from GetURI. r=smaug
2014-02-19 18:23:48 -08:00
Bobby Holley
02b3bf5876
Bug 956382 - Consider document.domain when doing Location security checks. r=mrbkap
2014-02-13 18:57:35 -08:00
Bob Owen
bcb32b4d36
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
1a5046cc2f
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
2e67154d02
Merge m-c into inbound
2014-01-04 12:14:57 -05:00
Ehsan Akhgari
1b83407ce9
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
578b352a21
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
9c751db030
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
99058b577c
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
f6f620d05f
Bug 894646 - Various dom deCOM cleanups r=Ms2ger
2013-07-23 16:39:17 -07:00
Bobby Holley
7e45dcce35
Bug 865729 - Remove nsIJSContextStack from dom/foo. r=gabor
2013-04-29 11:16:18 -07:00
David Zbarsky
720289e06b
Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger
2013-04-24 00:22:37 -04:00
Olli Pettay
1defaa48e6
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
e4b50cc11c
Bug 828261: Implement 'window.location.origin'. r=bholley, sr=sicking
2013-01-09 17:37:25 +01:00
Bobby Holley
bcd798914e
Bug 809290 - Fix nsLocation::CheckURL. r=bz
2012-11-08 08:26:49 -08:00
Bobby Holley
a209826b20
Bug 808611 - Move valueOf to nsIDOMLocation. r=mrbkap
2012-11-07 08:27:23 -08:00
Bobby Holley
9213a086b6
Bug 808612 - Wrapper cache and cycle collect nsLocation. r=smaug
2012-11-06 14:29:09 -08:00
Jacek Szpot
761b11160f
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Bobby Holley
1847a73fea
Bug 747607 - Remove GetContextFromStack. r=bz
2012-10-19 23:26:17 +02:00
Bobby Holley
fdb9000352
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
dbc1d55ec8
Bug 801305 - Use the bonafide subject for the loadinfo owner. r=bz
2012-10-19 01:45:09 +02:00
Bobby Holley
3de9006dfd
Bug 802557 - Do more direct comparisons with the outer window. r=bz
2012-10-19 01:37:14 +02:00
Bobby Holley
e799cc3495
Bug 801241 - Properly handle |false| return false from JS_DescribeScriptedCaller. r=bz
2012-10-17 19:44:30 +02:00
Oonishi Atsushi
44213f6f12
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
000b6e89a1
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Bobby Holley
b66264251d
Bug 797204 - Use JS_GetScriptedCaller instead of JSStackFrames in nsLocation. r=bz
2012-10-10 11:01:26 +02:00
Bobby Holley
7ec98ae224
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
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Luke Wagner
ad90af9ca5
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
e368dc9c85
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
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00