Boris Zbarsky
a2a1edabb4
Bug 866545. Remove the obsolete dom.enable_performance preference, so we can rely on things like performance.now() existing. r=smaug
2013-05-01 23:44:11 -04:00
Ryan VanderMeulen
dc44c7f499
Bug 861605 - Rev uuids. r=Ms2ger
2013-04-29 09:33:06 -04:00
David Zbarsky
77b8a905ca
Bug 861729 - Remove nsPIDOMWindow::mDocument r=Ms2ger
2013-04-24 00:22:37 -04:00
David Zbarsky
e7c500d80d
Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger
2013-04-24 00:22:37 -04:00
Olli Pettay
054845d27c
Bug 858014, make sure nsPIDOMWindow can be used in external apps, like TB/SM, r=neil
...
--HG--
extra : rebase_source : 5c3bfc5bb175efba465be834974d26df34207568
2013-04-07 15:19:56 +03:00
David Zbarsky
c2cf14c695
Bug 857884 - Use dom::EventTarget more in content/ and dom/ r=Ms2ger
2013-04-05 20:44:15 -04:00
Eitan Isaacson
2ed120291b
Bug 525444 - (Part 1/3) Basic SpeechSynthesis setup and voice registration. r=smaug
...
--HG--
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/moz.build
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/test/moz.build
2013-04-03 15:13:16 -07:00
Terrence Cole
46f8e831e6
Bug 850293 - Remove nsScriptObjectHolder; r=mccr8,bholly sr=smaug
...
nsScriptObjectHolder is not needed with either conservative or exact rooting.
2013-03-20 13:09:09 -07:00
Ted Mielczarek
704e2319bc
bug 604039 - Add DOM Gamepad APIs. r=smaug
...
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04:00
Masatoshi Kimura
a09ad8aee2
Bug 820841 - Cache the document URI on the window so that DOMParser() can refer. r=bz
2012-12-26 20:00:05 +09:00
Boris Zbarsky
e845de4094
Bug 824517. Quickstub window.performance. r=peterv
2012-12-25 14:00:15 -08:00
Ehsan Akhgari
165f9042db
Bug 814789 - Tie the life-time of the AudioContext to the life-time of the document owning it; r=bzbarsky
2012-11-23 18:33:41 -05:00
Daniel Holbert
d7b2de9476
Backed out changeset 704c91d3e7fa (Bug 814789) because of mac build-bustage
2012-11-26 20:34:10 -08:00
Ehsan Akhgari
64400b3001
Bug 814789 - Tie the life-time of the AudioContext to the life-time of the document owning it; r=bzbarsky
2012-11-23 18:33:41 -05: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
Mounir Lamouri
ee75905110
Bug 795715 - Remove B2G-specific stuff from nsIDOMWindow. r=khuey,fabrice sr=smaug
2012-11-07 18:10:40 +00:00
Mounir Lamouri
990268d0ba
Bug 795136 - 1/2 - Add events notifying the window if upload/download happen on the system. r=smaug sr=sicking
2012-09-30 14:47:48 +01:00
Steven Lee
16761404d2
Bug 714358: Time manager implementation. r=jlebar
2012-09-11 02:05:00 -04:00
Ms2ger
bd32566761
Bug 785067 - Outparamdel nsGlobalWindow::SaveWindowState; r=mrbkap
2012-09-06 09:20:26 +02:00
Bobby Holley
9f9275dca8
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-09-05 11:32:06 -07:00
Bobby Holley
9ae993ebdc
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
2195e87d2e
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
9b95920174
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
424ea88da6
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
0bf2885067
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
875a633f4f
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
efd432c75a
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
6e122ec16c
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
8c296bbcd4
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
adfc4e45ba
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
446f9d033a
Bug 777135 - Part 3: Remove nsDOMWindowUtils::GetIsApp and friends. r=mounir
...
--HG--
extra : rebase_source : ac3db88b7eb03397c4ae514624e1f3021947c396
2012-08-13 12:58:38 -04:00
Phil Ringnalda
2400fbd6d1
Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks
2012-08-07 22:18:27 -07:00
Steven Lee
dd1279bf1b
Bug 714358: Time manager implementation. r=jlebar
2012-08-07 19:11:00 -04:00
Justin Lebar
9e5c9d7b41
No bug - Fixing typo in comment in nsPIDOMWindow.h. r=me DONTBUILD
2012-08-05 23:37:41 -04:00
Ms2ger
ea3d43d560
Bug 780165 - Part a: Introduce nsPIDOMWindow::GetDoc(); r=smaug
2012-08-04 09:44:01 +02:00
Ed Morley
4eb11bee72
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
cda9ab26de
Bug 780165 - Part a: Introduce nsPIDOMWindow::GetDoc(); r=smaug
2012-08-04 09:44:01 +02:00
Chris Pearce
174ba270dc
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
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Matt Brubeck
1d52142e2d
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
156f22d018
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
...
--HG--
extra : rebase_source : 96a53a1a8b34f41bfe59f00141d598c5394cb0c1
2012-07-23 10:44:13 -04:00
Bonnie Surender
6dcaba353f
Fixing bug 715041. Add support for Idle API. r=bent, jst
2012-06-29 01:32:21 -07:00
Vivien Nicolas
23fcbde395
Bug 760102 - Authorize web applications to use fullscreen by default. r=cpearce
2012-06-28 20:54:37 +12:00
Bobby Holley
bb38fbaa32
Bug 764389 - Update compartment principals on inner window reuse and on document.write. r=bz
2012-06-15 08:31:27 +02:00
Ms2ger
6b95a92395
Bug 760047 - Don't handle a null aDocument in nsGlobalWindow::SetNewDocument; r=mounir
2012-06-06 09:36:58 +02:00
Kyle Huey
a5d0b0a379
Bug 751999: Split SetDocShell apart to make this code easier to read. r=jst
2012-05-25 12:00:32 -07:00
Alexander Surkov
ed59f8856c
Bug 756381 - make FocusManager::FocusedDOMNode faster, r=tbsaunde, smaug
2012-05-22 18:25:44 +09:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Josh Aas
aed79d853a
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
5dd46d1310
Bug 695480: Remove support for chrome code leaking DOM objects. r=jst,billm,bholley
2012-04-25 21:03:53 -07:00
Doug Turner
46f2d3abe9
Bug 734855 - Device Orientation - Make EnableDeviceMotion finer grain. r=mwu
2012-03-24 17:29:49 -07:00
Chris Pearce
45a6bbad67
Bug 727303 - Add nsPIDOMWindow::SetFullScreenInteral. r=roc
2012-02-20 10:02:08 +13:00
Ms2ger
e55f25e5ac
Bug 698420 - Make nsScriptObjectHolder typesafe; r=bz
2011-12-18 11:05:12 +01:00
Ms2ger
d75f195dee
Bug 698400 - Use setObject in nsXBLPrototypeHandler::EnsureEventHandler; r=jst
2011-11-26 11:14:29 +01:00
Chris Pearce
011644c901
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
2a602a5685
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
31d91ff3a9
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é
82e33e773d
Bug 676595 - Android orientation manager is never shut down [r=dougt]
2011-10-06 10:27:41 -07:00
Matt Brubeck
4a976aab61
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
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Mounir Lamouri
6c638adde5
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
7dfe430f16
Bug 432698 - mouseenter and mouseleave, r=masayuki
...
--HG--
extra : rebase_source : 2664d2655546602edc88bcadc7dd981b01d76820
2011-09-18 02:45:14 -05:00
Ms2ger
5067dcabc0
Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug
...
* * *
Bug 675075 - Followup: remove nsIDOMWindowInternal.h includes; r=bustage
2011-08-14 19:22:29 +02:00
Ms2ger
c046ca0ed7
Backout bug 675075 for bustage
2011-08-14 20:05:20 +02:00
Ms2ger
3980c93ae7
Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug
2011-08-14 19:22:29 +02:00
Ms2ger
50bcc856b0
Bug 670331 - Remove nsIDOMStorageWindow; r=sicking
2011-07-15 12:32:37 +02:00
Ms2ger
36c532ffa2
Bug 670235 - Remove nsIDOMWindowInternal; r=sicking
2011-07-15 12:31:34 +02:00
Boris Zbarsky
c8375f12ac
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
26bd9f0a1b
Backout changesets 9e4ab3907b29, 3abc0dbbf710 due to m-oth permaorange
2011-07-11 10:27:58 -07:00
Boris Zbarsky
eaeea8e796
Bug 648045. Mark the currently selected tab in a minimized window as inactive. r=gavin,smaug
2011-07-11 09:14:08 -04:00
Emanuele Costa
57d92e763a
When switching a window from background to foreground, reinitialize the timers that should fire sooner than the background clamp would have allowed. Bug 647001, r=bzbarsky
2011-06-29 15:49:42 -04:00
Jonas Sicking
e3f6b769a1
Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug
2011-06-23 19:18:00 -07:00
Ms2ger
15644e3760
Bug 664543 - Remove nsIDOMWindow2; r=peterv
2011-06-21 17:37:38 +02:00
Kyle Huey
db0b9d8ad8
Bug 553125: Use the structured clone algorithm for window.postMessage. r=bent
2011-05-23 11:53:31 -07:00
wfernandom2004@gmail.com
5963fbfd3b
Bug 338583, implement EventSource, r=smaug,Ms2ger
...
--HG--
extra : rebase_source : 9dd6bbbc0d714fbafb2ed115c40cf7210b663b6a
2011-05-22 22:30:07 +01:00
Olli Pettay
c9e2181c9f
Bug 651984 - Add ability to detect if a page has registered touch event listeners, r=jst
2011-04-26 15:31:21 +03:00
Justin Lebar
331607e5aa
Bug 628069 - Add newURL, oldURL properties to hashchange event. r=smaug
...
--HG--
extra : rebase_source : 865194e9c50612599ad029815314c0819de60124
2011-03-31 16:30:32 -04:00
Boris Zbarsky
aaa1e13bcf
Bug 633421. Throttle timeouts in background tabs to 500ms, noot 10ms. r=jst
2011-03-25 21:05:55 -04:00
Jonas Sicking
0a21ea9298
Bug 635844 part 1: Back out bug 615501 since we'll no longer fire the "initial popstate" event, and thus don't need a way to differentiate it. r=jlebar a=beltzner
2011-02-28 23:08:56 -08:00
Justin Lebar ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dfd1d01778
Bug 615501 - Make push/replaceState suppress the popstate-after-load event; r=sicking a=jst
2011-02-14 13:15:29 -08:00
Justin Dolske
dcd47ceba9
Bug 621764 - tab-modal prompt in Gmail eventually triggers slow-script dialog for nsPrompter.js. r=mrbkap, sr=jst, a=blocker
2011-02-01 19:23:00 -08:00
Justin Lebar
71e63abc25
Bug 615061 - Dispatch the hashchange event synchronously. r=smaug, a2.0=blocking
2010-11-29 11:13:12 -08:00
Jonas Sicking
0b34446294
Bug 608669: Make chrome-document-global-created be properly dispatched on newly opened windows. r=jst a=blocker
2010-11-23 00:50:56 -08:00
Boris Zbarsky
fbab69d5ff
Bug 605492 part 1. Add an nsIScriptError2 interface that exposes an outer window id, and set the window id for script errors coming through the DOM JS error reporter. r=mrbkap
2010-10-20 20:24:15 -04:00
Peter Van der Beken
6c0a645775
Fix for bug 603531 ("ASSERTION: bad outer object hook" and crash [@ js::gc::Cell::compartment]), compartments followup. r=mrbkap.
2010-10-12 15:03:15 -07:00
Jonas Sicking
aac728d04b
Bug 391177: XSLT should reuse the existing inner window in order to help debuggers and the like. r=jst a=blocker CLOSED TREE
2010-09-15 15:54:00 -07:00
Ben Turner
cf28451779
Bug 591516 - 'IndexedDB: Add some UI to prompt for IndexedDB permissions'. r=sicking+gavin.
2010-09-09 15:15:40 -07:00
David Humphrey
07de814ba1
bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad
2010-08-25 09:10:00 -04:00
Ted Mielczarek
be942c946d
Backed out changeset 1362f0ca86d2 (bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save) due to test failures.
2010-08-18 13:04:31 -04:00
David Humphrey
960122a5de
bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad
2010-08-17 09:40:00 -04:00
Robert Sayre
ca10e5d657
Merge mozilla-central to tracemonkey.
2010-08-06 15:41:41 -07:00
Blake Kaplan
8ddb90ded3
Bug 574975 - Split inner/outer scriptable helpers, make the outer window not global. r=jst.
2010-08-01 17:39:35 -07:00
Felipe Gomes
8d9b3f1877
Bug 508906. Add experimental MozTouch events. r=smaug,jimm
2010-08-02 15:34:54 +02:00
Neil Rashbrook
a50cec31b6
Follow up to bug 568691 - Fix some of the static windows build bustage that is due to various dependencies in layour widget and chrome. r=roc.
2010-07-08 09:01:28 -07:00
Olli Pettay
fe69412640
Bug 571438 - MayHavePaintEventListener fails for non-e10s message manager, r=jst
2010-06-16 14:43:36 +03:00
Olli Pettay
cb4704d113
Bug 568975 - m-c message manager slowed down event handling a bit, r=jst
2010-06-16 14:42:42 +03:00
Olli Pettay
ef0223722d
backout Bug 568975
2010-06-10 14:25:45 +03:00
Olli Pettay
afac1feb5b
Bug 568975 - m-c message manager slowed down event handling a bit, r=jst
...
--HG--
extra : rebase_source : 33a1b10f31760b69a565645f43062f872b136b98
2010-06-10 13:05:31 +03:00
Olli Pettay
8ef39a6b0c
Bug 560902 - Optimize nsFocusManager::ContentRemoved, r=enndeakin+sicking
...
--HG--
extra : rebase_source : 69c72c67341dd27dbd5a526c59c5ee52d2b6a813
2010-04-27 12:58:58 +03:00
Neil Deakin
ceb1712f98
Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil
2010-04-21 10:53:42 -04:00