Commit Graph

1104 Commits

Author SHA1 Message Date
Boris Zbarsky
88960e26d8 Bug 868996. Allow setting opener on the window to non-null, for just the lifetime of the page. r=bholley 2013-05-09 13:07:39 -04:00
Ryan VanderMeulen
882e4068d0 Backed out 6 changesets (bug 868996, bug 867903, bug 869014, bug 870219, bug 861587) for PGO bustage.
CLOSED TREE
2013-05-09 17:11:59 -04:00
Boris Zbarsky
2ca58dfdf6 Bug 868996. Allow setting opener on the window to non-null, for just the lifetime of the page. r=bholley 2013-05-09 13:07:39 -04:00
David Zbarsky
3c839fc3b2 Bug 868312: Root dom/workers r=bz 2013-05-09 03:27:40 -04:00
Terrence Cole
fd72fc252e Bug 777548 - Make non-cc-participant tracing indirect; r=smaug,billm,jst 2013-03-28 13:37:22 -07:00
Ms2ger
f2e25db30c Bug 868727 - Pass an nsAString to nsGlobalWindow::GetChildWindow; r=bz 2013-05-05 09:03:19 +02:00
Ms2ger
088cca5a9c Bug 868411 - Handlify js::GetObjectProto; r=bz 2013-05-05 09:03:14 +02:00
David Zbarsky
ef70ce04b7 Bug 868312: Various dom rooting fixes r=bz 2013-05-04 03:52:57 -04:00
David Zbarsky
40805457eb Bug 868312: Root nsDOMClassInfo.cpp, part 2 r=bz 2013-05-04 03:51:53 -04:00
Boris Zbarsky
2ead1e05ab Bug 865969 part 7. Fix rooting hazards in DOMJSProxyHandler.cpp. r=ms2ger 2013-05-03 19:29:09 -04:00
David Zbarsky
ea0da0d1b4 Bug 868312: Root part of nsDOMClassInfo.cpp r=bz 2013-05-03 14:53:32 -04:00
Bobby Holley
a25082424e Bug 834699 - Stop checking dom.xbl_scopes. r=bz 2013-05-02 16:02:03 -07:00
David Zbarsky
6557f4fec7 Bug 866450 Part 3: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
David Zbarsky
a79bf02c5d Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
Ed Morley
581e7b778e Backed out changeset b514d768d793 (bug 866450) 2013-05-02 11:57:14 +01:00
Ed Morley
28ddd7f05a Backed out changeset 6e6a175fc36a (bug 866450) 2013-05-02 11:57:10 +01:00
David Zbarsky
b170dafbb3 Bug 866450 Part 3: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
David Zbarsky
0566d3158e Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
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
Jim Blandy
e9b58eb4dc Bug 862531: Replace BaseProxyHandler::obj_toString with className. r=jorendorff 2013-04-30 14:44:50 -07:00
Andrew McCreight
4f9af81b67 Bug 798165 - Make nsTimeout more of a real cycle collected class. r=smaug 2013-04-30 10:41:23 -07:00
Andrew McCreight
0bafa2c0cd Bug 866151 - Clean up usage of nsCycleCollector.h and nsCycleCollectorUtils.h. r=smaug,bsmedberg
--HG--
rename : xpcom/base/nsCycleCollector.h => xpcom/glue/nsCycleCollectionJSRuntime.h
2013-04-30 10:41:22 -07:00
Bobby Holley
402c35b1ff Bug 865729 - Remove nsIJSContextStack from dom/foo. r=gabor 2013-04-29 11:16:18 -07:00
Aryeh Gregor
e78504c9a9 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Ms2ger
229df37509 Merge m-c to m-i. 2013-04-26 12:32:27 +02:00
Ms2ger
36143fb9dd Bug 864166 - Part d: Outparamdel nsGlobalWindow::GetWebBrowserChrome; r=mounir 2013-04-26 08:51:04 +02:00
Ms2ger
68ca8fd0a8 Bug 864166 - Part c: Outparamdel nsGlobalWindow::GetTreeOwner; r=mounir 2013-04-26 08:51:01 +02:00
Ms2ger
4555343ab0 Bug 864166 - Part b: Don't return nsresult from infallible helper functions in nsGlobalWindow; r=mounir 2013-04-26 08:50:54 +02:00
Ms2ger
05419b0b82 Bug 864166 - Part a: Handle window.alert(null) in the binding layer; r=mounir 2013-04-26 08:50:02 +02:00
Ms2ger
23b44f251c Bug 864165 - Outparamdel nsIWidget::GetSizeMode; r=tn 2013-04-26 08:49:47 +02:00
Boris Zbarsky
a7015d2b77 Bug 857555. Make window.content return an existing named frame with that name if there is one. r=bholley 2013-04-25 22:46:19 -04:00
Boris Zbarsky
b99f824099 Bug 704063. Add an unprefixed version of requestAnimationFrame. r=roc, sr=smaug 2013-04-25 11:13:21 -04:00
Boris Zbarsky
e3ccbbb148 Bug 753453. Add a way for us to pass a high-res timestamp to requestAnimationFrame callbacks. r=roc 2013-04-25 11:13:21 -04:00
Boris Zbarsky
5e7cf4462d Bug 862629 part 1. Stop playing compartment games with WebIDL callbacks and just use the given object as-is. r=peterv 2013-04-24 14:59:15 -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
Jonathan Watt
c63ee27f69 Backout bug 862693 (Stop the :-moz-focusring pseudo-class from matching if an element is themed and the theme will display a visual indication of focus for the element. r=roc) 2013-04-21 11:30:11 +01:00
Marco Bonardo
47b3a19e95 Bug 861302 - Allow indedexDB to be used from about:home
r=bz
2013-04-20 13:33:34 +02:00
Boris Zbarsky
a04a090195 Bug 862917. Remove the non-standard window.defaultStatus. r=smaug,gavin 2013-04-19 23:03:02 -04:00
Boris Zbarsky
14089d7cd3 Bug 862540. Make window.status actually be settable (but have no effect unless the pref that no one ever sets is set). r=smaug 2013-04-19 23:03:01 -04:00
David Zbarsky
5826da3d17 Backout 2201d650ac90 for not building on Windows on a CLOSED TREE 2013-04-19 18:57:56 -04:00
David Zbarsky
9190c0be59 Backout f710f8fb2ab0 for not building on windows 2013-04-19 18:57:11 -04:00
David Zbarsky
a2ca7e6c91 Bug 861729 - Remove nsPIDOMWindow::mDocument r=Ms2ger 2013-04-19 18:18:33 -04:00
David Zbarsky
1cc79b4d68 Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-19 18:18:33 -04:00
David Zbarsky
335c6fc326 Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger 2013-04-19 18:18:32 -04:00
Bobby Holley
9848a77e00 Bug 860438 - Simplify JSContext handling {Cancel,Suspend,Resume}WorkersForWindow. r=gabor
The only functional difference here is the removal of a bug in which we were
constructing a dom::workers::AutoSafeJSContext around aCx, but then continuing
to pass aCx to the callee. If aCx were to be null, we'd end up with a mismatch
between the stack and the active cx. But it looks likes stuff depends on cx
being non-null anyway, so that probably never happened.
2013-04-18 11:36:04 -04:00
Bobby Holley
288399f5c0 Bug 860438 - Straightforward cases. r=gabor 2013-04-18 11:36:03 -04:00
Jonathan Watt
42f1e12bb7 Bug 862693 - Stop the :-moz-focusring pseudo-class from matching if an element is themed and the theme will display a visual indication of focus for the element. r=roc 2013-04-17 09:22:55 +01:00
Boris Zbarsky
a295fe137f Bug 835643 part 4. Put in place all the infrastructure to switch EventListener to WebIDL codegen. r=smaug 2013-04-16 17:16:08 -04:00
Honza Bambas
e7a737bf35 Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-15 14:38:48 +02:00
Jose Cortes
47c6e6e146 Bug 842186 - Replace use of jsval with JS::Value in dom/base. r=jwalden
From 1a684ed61615d32965201e55335478d5f403ac4a Mon Sep 17 00:00:00 2001
 cpp files in the dom/base/ directory. r=jwalden
---
 dom/base/Crypto.cpp                     |  3 +-
 dom/base/DOMRequest.cpp                 | 12 +++---
 dom/base/DOMRequest.h                   |  4 +-
 dom/base/Navigator.cpp                  | 10 ++---
 dom/base/nsDOMJSUtils.h                 |  6 +--
 dom/base/nsDOMWindowUtils.cpp           | 20 ++++-----
 dom/base/nsGlobalWindow.cpp             | 24 +++++------
 dom/base/nsIJSNativeInitializer.h       |  4 +-
 dom/base/nsJSEnvironment.cpp            | 73 +++++++++++++++++----------------
 dom/base/nsJSEnvironment.h              |  8 ++--
 dom/base/nsJSTimeoutHandler.cpp         |  4 +-
 dom/base/nsJSUtils.h                    |  2 +-
 dom/base/nsStructuredCloneContainer.cpp | 10 ++---
 13 files changed, 91 insertions(+), 89 deletions(-)

--HG--
extra : rebase_source : af1420550a745aba9fd6c20297ac3cd0075f5ead
2013-04-11 18:52:10 -04:00
Boris Zbarsky
5df1da36da Bug 810644 part 1. Switch setTimeout and setInterval to using WebIDL callback functions. r=smaug, sr=peterv 2013-01-03 14:02:36 -05:00
Ryan VanderMeulen
e9c65dfa10 Backed out 2 changesets (bug 850362, bug 600307) for Windows XP leaks on a CLOSED TREE. 2013-04-11 17:00:28 -04:00
Jacek Szpot
8123bfdfc5 Bug 854503 - Rename JS unwrapping functions. r=bholley 2013-04-11 11:50:18 -07:00
Ms2ger
20a9e6b03b bug 851542 - Gamepad to webidl (with nsIVariant). r=smaug
--HG--
extra : rebase_source : ae08a894b592465641ed774688957a446c8966a7
2013-04-09 08:43:25 -04:00
Ryan VanderMeulen
99647ac22c Backed out changesets a550dadafa30 and 315f6b451d07 (bug 857884) for mochitest failures on a CLOSED TREE. 2013-04-11 13:59:02 -04:00
Honza Bambas
52e949bcbc Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-11 18:26:06 +02:00
David Zbarsky
a5cb73b253 Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger 2013-04-11 12:24:47 -04:00
Ted Mielczarek
c9ccf9b191 Backed out changeset dcf67f13c6bb, bug 851542 for B2G bustage. 2013-04-11 09:23:14 -04:00
Ms2ger
6dc688b31d bug 851542 - Gamepad to webidl (with nsIVariant). r=smaug 2013-04-09 08:43:25 -04:00
Andrea Marchesini
7268b75aaf Bug 858893 - Port DesktopNotification to WebIDL. r=Ms2ger 2013-04-10 10:20:43 -04:00
Andrea Marchesini
55b96a77aa Bug 858893 - Rename nsIDOMDesktopNotification to DesktopNotification. r=Ms2ger
--HG--
rename : dom/src/notification/nsDesktopNotification.cpp => dom/src/notification/DesktopNotification.cpp
rename : dom/src/notification/nsDesktopNotification.h => dom/src/notification/DesktopNotification.h
2013-04-10 10:20:43 -04:00
Jeff Walden
3b503a25ed Bug 856384 - Make outer windows always be [[Extensible]]. r=bholley, r=till 2013-04-09 09:07:05 -04:00
Boris Zbarsky
76307e1b88 Back out Bug 810644 part 1 to fix b2g test_closeOnGC.html orange on CLOSED TREE 2013-04-08 22:56:06 -04:00
Boris Zbarsky
2f07f521a5 Bug 810644 part 1. Switch setTimeout and setInterval to using WebIDL callback functions. r=smaug, sr=peterv 2013-01-03 14:02:36 -05: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
Ryan VanderMeulen
9420af6638 Backed out changeset a85d21e394c0 (bug 854503) for bustage. 2013-04-06 14:37:33 -04:00
Jacek Szpot
ccadc1da47 Bug 854503 - Rename JS unwrapping functions. r=bholley 2013-04-04 12:14:32 +02:00
David Zbarsky
dd55a87c18 Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger 2013-04-05 20:44:26 -04: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
5848b6c1b9 Bug 858136 - Rename nsIDOMSpeechSynthesisGetter as nsISpeechSynthesisGetter. r=smaug
--HG--
rename : dom/interfaces/base/nsIDOMSpeechSynthesisGetter.idl => dom/interfaces/base/nsISpeechSynthesisGetter.idl
2013-04-04 15:12:34 -07:00
Gabor Krizsanits
015106720f Bug 820170 - nsIGlobalObject. r=bholley 2013-04-04 11:27:06 +02: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
Ehsan Akhgari
aa3139644f Bug 579517 follow-up: Remove NSPR types that crept in 2013-04-02 20:59:27 -04:00
Bill McCloskey
4af9610d20 Bug 856849 - Poison nsGlobalWindow::mJSObject when it's finalized (r=mrbkap)
--HG--
extra : rebase_source : 687f1f3662d066ab05f3421625968ca1005f229f
2013-04-02 13:08:41 -07:00
Jan Varga
e8149cfe6e Bug 854323 - Move IDBFactory to Paris bindings. r=khuey 2013-03-31 10:18:30 +02:00
Bobby Holley
939fedeaee Bug 790732 - Omit Components object for content scopes. r=mrbkap 2013-03-27 18:27:27 -07:00
Phil Ringnalda
9df92a2118 Back out 8e59146e161e:29acf1494fed (bug 790732) for failing in exactly the same way it failed on the tryserver
CLOSED TREE
2013-03-26 23:40:45 -07:00
Bobby Holley
a29395359a Bug 790732 - Omit Components object for content scopes. r=mrbkap 2013-03-26 22:18:56 -07:00
Jan Varga
71a59dcdc8 Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent 2013-03-26 12:13:17 +01:00
Bobby Holley
232e0f349e Bug 853571 - Do special detection for sandboxPrototype to make sure the source gets set up right in postMessage. r=bz 2013-03-24 09:27:10 -07:00
Bobby Holley
cd099abe97 Bug 853571 - Add some belt-and-suspenders checks for sketchy scripted caller detection. r=bz 2013-03-24 09:27:09 -07:00
Terrence Cole
a0bedc4bc2 Bug 841059 - Do not use the ArenaHeader for getAllocKind on JSObject; r=billm 2013-02-14 14:51:07 -08:00
Ehsan Akhgari
e9e1b63618 Bug 815492 - Pause Web Audio playback when entering the bfcache, and resume it when coming out of the bfcache; r=bzbarsky 2013-03-21 22:59:33 -04:00
Tom Schuster
0112f8352e Bug 828462 - Root Proxy/Wrapper in the browser. r=terrence,bz 2013-03-21 23:23:48 +01:00
Tom Schuster
012c930168 Bug 828462 - Root Proxy/Wrapper delete. r=terrence 2013-03-21 23:23:48 +01:00
Tom Schuster
ccde5567f1 Bug 828462 - Root Proxy/Wrapper getOwnPropertyNames and keys. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
30b86c5cc0 Bug 828462 - Root Proxy/Wrapper defineProperty. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
fcf6a93bf4 Bug 828462 - Root Proxy/Wrapper get(Own)PropertyDescriptor. r=terrence 2013-03-21 23:23:47 +01: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
Boris Zbarsky
24e528d2f7 Bug 852118. Stop window.name being malloc-happy. r=smaug 2013-03-19 21:47:47 -04:00
Jon Coppeard
b9652b9f39 Bug 849273 - Investigate splitting the js and JS namespaces r=terrence
--HG--
extra : rebase_source : 2b131d0177f02e5f0e89398545481fcacbfde00f
2013-03-19 10:35:41 +00:00
Bobby Holley
33869b92ed Bug 823227 - Have the global scope polluter find the document via the global. r=bz 2013-03-18 23:06:44 -07:00
Ms2ger
aed8044ac2 Merge m-c to m-i. 2013-03-17 13:22:37 +01:00
Ms2ger
865e2310fc Bug 851134 - Part b: Implement the EventTarget getters in the WebIDL API for Event directly instead of calling the XPIDL implementations; r=smaug 2013-03-17 08:55:17 +01:00
Bill McCloskey
bfa3037d1f Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Bobby Holley
4a97aa3720 Bug 850517 - Factor out child window lookup into a helper. r=mrbkap 2013-03-14 22:38:26 -07:00
Avi Halachmi
6d3158ca39 Bug 590422: Remove delay line filter from timer thread. r=bz 2013-02-20 20:21:09 +02:00
Olli Pettay
8f72caeb73 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00