Olli Pettay
afb06d2c0a
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
7caab3e449
Bug 828261: Implement 'window.location.origin'. r=bholley, sr=sicking
2013-01-09 17:37:25 +01:00
Bobby Holley
dbbb476a71
Bug 809290 - Fix nsLocation::CheckURL. r=bz
2012-11-08 08:26:49 -08:00
Bobby Holley
ac87f35593
Bug 808611 - Move valueOf to nsIDOMLocation. r=mrbkap
2012-11-07 08:27:23 -08:00
Bobby Holley
7daa35bcfd
Bug 808612 - Wrapper cache and cycle collect nsLocation. r=smaug
2012-11-06 14:29:09 -08:00
Jacek Szpot
09f9b9a1c3
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Bobby Holley
d0039b66c8
Bug 747607 - Remove GetContextFromStack. r=bz
2012-10-19 23:26:17 +02:00
Bobby Holley
c6993d7451
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
5f16807841
Bug 801305 - Use the bonafide subject for the loadinfo owner. r=bz
2012-10-19 01:45:09 +02:00
Bobby Holley
fa9dfb68cb
Bug 802557 - Do more direct comparisons with the outer window. r=bz
2012-10-19 01:37:14 +02:00
Bobby Holley
6b5c1e8bb9
Bug 801241 - Properly handle |false| return false from JS_DescribeScriptedCaller. r=bz
2012-10-17 19:44:30 +02:00
Oonishi Atsushi
cd6d669404
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
53e4e1f193
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Bobby Holley
aee265c679
Bug 797204 - Use JS_GetScriptedCaller instead of JSStackFrames in nsLocation. r=bz
2012-10-10 11:01:26 +02:00
Bobby Holley
cb01d6eded
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
3b4961b603
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Luke Wagner
55107a5229
Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
2012-08-21 18:42:53 -07:00
Ehsan Akhgari
243c878d26
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
691ef24b2a
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Matt Brubeck
c66178a966
Back out 551b6acdafb9 and ae0b0dd6dfa2 (bug 754029) on suspicion of causing mochitest-other timeouts
2012-07-27 17:03:23 -07:00
Oonishi Atsushi
04893707ba
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
df562eb724
Bug 770429, do uri load check earlier to avoid running code unnecessarily, r=mrbkap
2012-07-19 10:43:33 +03:00
David Zbarsky
9050aef271
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Luke Wagner
7f758479ff
Bug 632064 - remove JS_GetScopeChain (r=mrbkap)
2011-09-28 17:57:27 -07:00
Peter Van der Beken
22f5dbe67d
Stop including nsDOMClassInfo.h all over the place.
2011-10-03 21:11:31 +02:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Mounir Lamouri
a260fd9876
Bug 670986 - Create nsLocation.h to declare nsLocation instead of doing that in nsGlobalWindow.h. r=jst
2011-08-02 21:22:40 -07:00
Daniel Holbert
7e7d4b84b4
Bug 308590 patch 5: Clean up QIs to nsIURL that are really checks for "Does this support GetRef/SetRef", now that nsIURI supports GetRef/SetRef too. r=bz
2011-05-21 18:12:46 -07:00
Boris Zbarsky
f705c5cb2a
Bug 654399. Try to make sure we always hand out the same exact string buffer each time location.hash is gotten. r=roc
2011-05-20 16:21:27 -04:00
Justin Lebar
48f4f46d06
Bug 593174 - Set the referrer properly. It should be the principal's URI, optionally modified if a pushState or replaceState occurred. r=bz, a=blocking
2010-12-15 08:55:13 -08:00
Saint Wesonga
1155091922
Bug 562433 - Change location.host and location.hostname to return "" for host-less URIs instead of throwing. r=bz
2010-08-07 09:11:43 +02:00
16fafd331c
Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug
2010-06-25 15:59:57 +02:00
Peter Van der Beken
ff7255aaa2
Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
2010-04-19 17:40:15 +02:00
Peter Van der Beken
ca30200583
Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
2010-01-12 14:08:43 +01:00
Justin Lebar
a1288e078a
Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking
2009-09-01 09:45:05 -07:00
Daniel Holbert
4169db85ee
Backed out changeset dc7a04be6904 on suspicion of causing bug 543034.
2010-01-29 18:50:46 -08:00
Justin Lebar
3bf83e55ef
Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking
2009-09-01 09:45:05 -07:00
Boris Zbarsky
d74977cbbb
Bug 465804. Remove no-longer-needed method. r+sr=jst
2009-03-24 21:52:24 -04:00
Benjamin Smedberg
28a78c0c2c
Bug 481102 - Reorganize dom/public, dom/public/base, and dom/src/base to dom/base, r+sr=jst
2009-03-11 10:10:19 -04:00