Bobby Holley
93b52934a8
Bug 774633 - Remove dead mOpenerScriptPrincipal. r=jst
...
This value is initialized to null and never set, so we can get rid of it.
2012-09-05 11:32:06 -07:00
Bobby Holley
1cb04ecf04
Bug 774633 - Wean SetInitialPrincipalToSubject off some parameters and clean it up. r=jst
...
We can remove the fallback to the principal of aParent because we already push the
cx for aParent (callerContextGuard) whenever we're concerned about using its principal.
2012-09-05 11:32:06 -07:00
Bobby Holley
ece13ea2e4
Bug 774633 - Factor nsWindowWatcher call to SetOpenerScriptPrincipal into a method on nsGlobalWindow. r=jst
...
This doesn't change any functionality in the code. Note that the name is currently
a bit of a misnomer, but we change that in the next patch when we rip out the
arguments.
2012-09-05 11:32:06 -07:00
Matt Brubeck
2ee6f37afd
Back out 670c8a2695b3 (bug 771354), 134557d57e6e 4ad52e488977 (bug 774607), and...
...
036eb8c2a08a d4d36e3b948f 35334e820632 6bd07fd5147d d49e7c0d762c 407f19deb14c d84551808abb (bug 774633)
on a CLOSED TREE
2012-08-23 21:34:27 -07:00
Bobby Holley
34978c8518
Bug 774633 - Fold SetOpenerScriptPrincipal into SetInitialPrincipalToSubject, and make it indempotent and callable without an existing document. r=jst
...
There's no reason it has to fail if there's no mDoc, since any document is promptly
blown away with the new about:blank document.
The indempotence is important because we want to be able to call this method
unconditionally in OpenJSWindowInternal (since we may not have gone through
RegisterTopLevelWindow) without worrying about whether we've called it already.
2012-08-23 16:44:52 -07:00
Bobby Holley
16ca2e4d85
Bug 774633 - Remove dead mOpenerScriptPrincipal. r=jst
...
This value is initialized to null and never set, so we can get rid of it.
2012-08-23 16:44:52 -07:00
Bobby Holley
76f3e79815
Bug 774633 - Wean SetInitialPrincipalToSubject off some parameters and clean it up. r=jst
...
We can remove the fallback to the principal of aParent because we already push the
cx for aParent (callerContextGuard) whenever we're concerned about using its principal.
2012-08-23 16:44:52 -07:00
Bobby Holley
05a2b78ccf
Bug 774633 - Factor nsWindowWatcher call to SetOpenerScriptPrincipal into a method on nsGlobalWindow. r=jst
...
This doesn't change any functionality in the code. Note that the name is currently
a bit of a misnomer, but we change that in the next patch when we rip out the
arguments.
2012-08-23 16:44:52 -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
Justin Lebar
3fdb7665ae
Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
2012-08-14 10:58:00 -04:00
Justin Lebar
679b937006
Bug 777135 - Part 3: Remove nsDOMWindowUtils::GetIsApp and friends. r=mounir
2012-08-13 12:58:38 -04:00
Phil Ringnalda
3cb2df7ba7
Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks
2012-08-07 22:18:27 -07:00
Steven Lee
b1efdeeeb4
Bug 714358: Time manager implementation. r=jlebar
2012-08-07 19:11:00 -04:00
Justin Lebar
967eef64bb
No bug - Fixing typo in comment in nsPIDOMWindow.h. r=me DONTBUILD
2012-08-05 23:37:41 -04:00
Ms2ger
1e4b5dd049
Bug 780165 - Part a: Introduce nsPIDOMWindow::GetDoc(); r=smaug
2012-08-04 09:44:01 +02:00
Ed Morley
a246794e16
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
51dfd21450
Bug 780165 - Part a: Introduce nsPIDOMWindow::GetDoc(); r=smaug
2012-08-04 09:44:01 +02:00
Chris Pearce
b1feb50a83
Bug 684620 - Implement cross process fullscreen API for B2G apps and web content. r=jlebar
...
* * *
Bug 684620 - Fix in-process fullscreen in B2G. r=?
2012-07-31 14:09:31 +12:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Matt Brubeck
44a5364022
Back out fbdb3104c9e5, d2fe54ae00a8, d378362cbe01, fe623d60bea1 (bug 769254) on suspicion of causing Windows debug mochitest-plain-3 timeouts
2012-07-23 20:30:12 -07:00
Justin Lebar
36da060acf
Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
2012-07-23 10:44:13 -04:00
Bonnie Surender
4e40418e97
Fixing bug 715041. Add support for Idle API. r=bent, jst
2012-06-29 01:32:21 -07:00
Vivien Nicolas
36007f1d92
Bug 760102 - Authorize web applications to use fullscreen by default. r=cpearce
2012-06-28 20:54:37 +12:00
Bobby Holley
314592f565
Bug 764389 - Update compartment principals on inner window reuse and on document.write. r=bz
2012-06-15 08:31:27 +02:00
Ms2ger
fbe9bf563d
Bug 760047 - Don't handle a null aDocument in nsGlobalWindow::SetNewDocument; r=mounir
2012-06-06 09:36:58 +02:00
Kyle Huey
7aebbfba53
Bug 751999: Split SetDocShell apart to make this code easier to read. r=jst
2012-05-25 12:00:32 -07:00
Alexander Surkov
fa736844c2
Bug 756381 - make FocusManager::FocusedDOMNode faster, r=tbsaunde, smaug
2012-05-22 18:25:44 +09:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Josh Aas
857ffa303c
Bug 748343: Remove support for "java" and "packages" objects from the DOM. r=jst sr=smaug a=ehsan CLOSED TREE
2012-05-01 16:47:35 -04:00
Kyle Huey
e2b184d6bf
Bug 695480: Remove support for chrome code leaking DOM objects. r=jst,billm,bholley
2012-04-25 21:03:53 -07:00
Doug Turner
efc47f269e
Bug 734855 - Device Orientation - Make EnableDeviceMotion finer grain. r=mwu
2012-03-24 17:29:49 -07:00
Chris Pearce
fe02b726c5
Bug 727303 - Add nsPIDOMWindow::SetFullScreenInteral. r=roc
2012-02-20 10:02:08 +13:00
Ms2ger
ced4c8389a
Bug 698420 - Make nsScriptObjectHolder typesafe; r=bz
2011-12-18 11:05:12 +01:00
Ms2ger
87ff845c8e
Bug 698400 - Use setObject in nsXBLPrototypeHandler::EnsureEventHandler; r=jst
2011-11-26 11:14:29 +01:00
Chris Pearce
1bbc5783b6
Bug 604682 - Remove unnecessary copy of audio data when there's no MozAudioAvailable event listener. r=smaug,kinetik
2011-11-22 13:34:21 +13: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
Boris Zbarsky
3d9fe14b99
Bug 690056. Implement a vendor-prefixed version of the visibility API. r=sicking
...
The idea is to fire the visibilitychange event synchronously during pageshow and pagehide, since we're
already running script there for the pageshow/pagehide events. For docshell active state changes, we
fire the event asynchronously. In all cases, the actual state changes just before the event fires.
2011-10-11 17:29:12 -04:00
Fabrice Desré
afaf8d9945
Bug 676595 - Android orientation manager is never shut down [r=dougt]
2011-10-06 10:27:41 -07:00
Matt Brubeck
1a56e611f4
Back out 2780356be1a1 (bug 675574) and 9928fb9a32b1 (bug 690220) on suspicion of causing browser-chrome shutdown hangs
2011-09-29 14:44:36 -07: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
c924ea3022
Bug 675574 - Do not allow more than one call to window.open() when we allow popups. r=jst
2011-09-28 23:23:36 +02:00
Olli Pettay
62c176cf5b
Bug 432698 - mouseenter and mouseleave, r=masayuki
2011-09-18 02:45:14 -05:00
Ms2ger
ee6d9a2b5b
Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug
...
* * *
Bug 675075 - Followup: remove nsIDOMWindowInternal.h includes; r=bustage
2011-08-14 19:22:29 +02:00
Ms2ger
1cb37d55dd
Backout bug 675075 for bustage
2011-08-14 20:05:20 +02:00
Ms2ger
cd35f76d88
Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug
2011-08-14 19:22:29 +02:00
Ms2ger
2a64fe39aa
Bug 670331 - Remove nsIDOMStorageWindow; r=sicking
2011-07-15 12:32:37 +02:00
Ms2ger
26b7c93961
Bug 670235 - Remove nsIDOMWindowInternal; r=sicking
2011-07-15 12:31:34 +02:00
Boris Zbarsky
401819c21e
Bug 648045. Mark the currently selected tab in a minimized window as inactive. r=gavin,smaug
2011-07-11 09:14:08 -04:00
Marco Bonardo
c1013ee479
Backout changesets 9e4ab3907b29, 3abc0dbbf710 due to m-oth permaorange
2011-07-11 10:27:58 -07:00
Boris Zbarsky
5734792fbf
Bug 648045. Mark the currently selected tab in a minimized window as inactive. r=gavin,smaug
2011-07-11 09:14:08 -04:00