Commit Graph

2479 Commits

Author SHA1 Message Date
Olli Pettay
3a99713780 Bug 749920 - Unprefix MozMutationObserver and add a warning about use of mutation events, r=sicking 2012-05-23 13:45:14 +03:00
Doug Turner
f4e1e809f4 Bug 717103 - Implement Device Storage. r=sicking 2012-05-21 09:18:30 -07:00
Justin Lebar
d6e5466d4e Bug 754997 - For <iframe mozbrowser>, override window.{top,parent,frameElement} in C++. r=bz
--HG--
extra : rebase_source : 66d2ef018234eaa71e49d927eefdd3a8aa01bb41
2012-05-23 11:27:10 -04:00
Kartikaya Gupta
04a457fab1 Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage 2012-05-23 11:08:19 -04:00
Kartikaya Gupta
a17147cd57 Bug 748384 - Propagate the page bounds in via browser.js. r=Cwiiis,mats 2012-05-23 10:49:59 -04:00
Ed Morley
30c2b9852a Backout baee7c540118 (bug 757486) for M3 orange 2012-05-23 10:16:32 +01:00
Mounir Lamouri
6147305354 Bug 757486 - Allow browser frames to bubble some whitelisted key events. r=jlebar 2012-05-23 01:43:37 +02:00
Nils Maier
be802ad709 Bug 754771 - Add identifying information to all system compartments. r=bz 2012-05-16 19:42:10 +02:00
Alexander Surkov
a9a9001709 Bug 756973 - make RootAccessible::NativeState faster, r=tbsaunde, enn 2012-05-23 08:48:35 +09:00
Fabrice Desré
74fcb7d4a3 Bug 757613 - Use manifest.webapp instead of manifest.json [r=anant] 2012-05-22 14:38:34 -07:00
Andrew McCreight
1154f7352e Bug 757537 - use nsCString for forced GC message. r=smaug 2012-05-22 13:10:37 -07:00
Justin Lebar
46167947e7 Bug 757415 - Fix JavaScript Error: "mozApp is not defined" in BrowserElementChild.js. r=cjones 2012-05-22 09:06:29 -04:00
Alexander Surkov
ed59f8856c Bug 756381 - make FocusManager::FocusedDOMNode faster, r=tbsaunde, smaug 2012-05-22 18:25:44 +09:00
Yoshi Huang
8fdf9ac6a9 Bug 731786 - B2G RIL: Support SIM cards that require PIN codes. r=philikon sr=sicking 2012-04-12 12:01:49 +08:00
Ed Morley
7bdae23f76 Backout 027ed1748c81 (bug 740485) for M3 orange 2012-05-21 19:36:43 +01:00
Doug Turner
23116ffc7c Bug 740485 - Implement Device Storage. r=sicking 2012-05-21 09:18:30 -07:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ryan VanderMeulen
60400b0c8a Backout 4eaf67a7f50f since it shouldn't have been checked in. 2012-05-24 19:25:45 -04:00
Brian Hackett
f096dea33e Rename RootedVar to Rooted, bug 756823. r=billm 2012-05-24 16:05:18 -07:00
Andrew Hurle
e221411c14 Bug 566444 - Simple test for the proxy settings dialog under preferences. r=jaws 2012-05-24 18:45:10 -04:00
Josh Matthews
a913bc7bf5 Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer 2012-05-26 09:37:58 +01:00
Doug Turner
43f94a70d5 Bug 759989 - Add test to ensure device sensors are shutdown when listeners are removed. r=smaug 2012-06-04 10:23:18 -07:00
Brian Hackett
f8aa8c3c5a Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 15:03:45 -07:00
Brian Hackett
aeda1d5c01 Backed out changeset 5fc7462dd394 for android orange. 2012-05-19 11:52:55 -07:00
Brian Hackett
54e8d378fb Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 09:48:09 -07:00
Dale Harvey
e0c87d4d6a Bug 753595 - Add a getScreenshot call to mozbrowser. r=jlebar 2012-05-18 20:47:20 -04:00
Benjamin Smedberg
2187798a40 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Ms2ger
3abc0c03aa Bug 754553 - Remove indexed property access from localStorage/sessionStorage; f=mayhemer r=sicking 2012-05-18 10:29:40 +02:00
Robert Longson
a067109b15 Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt 2012-05-17 11:02:41 +01:00
Doug Turner
8313ba6d13 Bug 751663 - Implement new device proximity like event that fires only when the screen is close to the user's face. r=smaug 2012-05-16 13:27:54 -07:00
Mounir Lamouri
f8a14d2a40 Bug 754141 (3/4) - Get the application object from an AppsService based on the manifest URL and save it on the window object. r=fabrice,jlebar 2012-05-16 12:40:47 +02:00
Mounir Lamouri
c98b0f25fc Bug 754141 (2/4) - Add a SetApp() method that takes the manifest URL value. r=jlebar 2012-05-16 12:40:09 +02:00
Mounir Lamouri
70dc2d8dfb Bug 754141 (1/4) - Get the mozapp attribute value from the parent instead of its presence. r=jlebar 2012-05-16 12:39:27 +02:00
Trevor Saunders
8df11e79ab bug 693933 - make nsFrameSelection::GetSelection() return nsTypedSelection* r=smaug 2012-04-06 17:54:38 -04:00
Mounir Lamouri
077a1ab905 Follow from bug 754140: apply some review comments. r=jlebar 2012-05-15 23:27:08 +02:00
Laurent Dulary
7b00eb233d Bug 657938 (1/2) - Implement the content part of the meter element. f=mounir r=smaug,mrbkap 2012-05-16 13:18:33 +02:00
Bobby Holley
42c699d608 Bug 553102 - Fix open web apps. r=fabrice 2012-05-24 13:04:57 +02:00
Robert O'Callahan
2bbcb226e2 Bug 754556. Ensure that setting scroll positions in CSS pixels doesn't unexpectedly move the scroll position, especially not in the wrong direction. r=matspal
If the current scroll position is fractional, e.g. y=N.4 CSS pixels, and something tries to read the
position in CSS pixels and scroll to that position (e.g. calling window.scrollTo(0, rootElem.scrollTop),
or equivalently window.scrollBy(0, 0)), it can actually end up scrolling backwards. So create a new
method nsIScrollableFrame::ScrollToCSSPixels which ensures that scrolling to a CSS pixel offset tries to
preserve the current fractional scroll position if that's possible, and if that's not possible at least does
not allow the scroll position to move in the wrong direction.
2012-05-15 17:58:09 +12:00
Jeff Muizelaar
fc567b67c2 Bug 755172. Add MOZ_FINAL to a bunch of idb classes. r=khuey 2012-05-15 00:50:29 -04:00
Andrew McCreight
4915a0b128 Bug 754151 - add macros for basic wrappercached cycle collected classes. r=smaug 2012-05-14 08:24:03 -07:00
Bobby Holley
0e3a5c894c Bug 753277 - Factor out CCW remapping from JS_TransplantObject and add comments. r=mrbkap 2012-05-14 12:52:16 +02:00
Matt Brubeck
e67f46f75f Merge mozilla-central and mozilla-inbound 2012-05-13 08:27:03 -07:00
Matt Brubeck
a5b18452ff Merge last green changeset from inbound to mozilla-central 2012-05-12 08:44:31 -07:00
Matt Brubeck
a71b3949e7 Merge last green changeset from inbound to mozilla-central 2012-05-11 11:39:38 -07:00
Tom Schuster
889e3a0487 Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger 2012-05-11 17:46:26 +02:00
David Chan
7bd5a1a90e bug 754076 - provide return value from getter "onuninstall" r=fabrice 2012-05-11 15:29:15 -07:00
Mounir Lamouri
a5f8d18abf Bug 754140 - Set mozapp status on iframe by sync message on the parent instead of injecting a script. r=jlebar 2012-05-11 13:03:51 -07:00
Olli Pettay
84d5ebb475 Bug 754089 - remote mozbrowser's messagemanager shouldn't have parent, r=jlebar 2012-05-11 10:47:40 +03:00
Gregor Wagner
a5e0c8d934 Bug 746066 - Contacts API: Add v1 and v2 fields. r=fabrice,sicking 2012-05-10 21:51:48 -07:00
Mounir Lamouri
38e33bedc8 Bug 740192 - Screen orientation needs a specific security model for installed web apps. r=jlebar 2012-05-10 17:49:34 -07:00
Mounir Lamouri
18041509b8 Bug 753978 - Be able to know if a window is part of an application. r=jlebar 2012-05-10 17:56:21 -07:00
Ed Morley
924843f245 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-10 13:04:35 +01:00
L. David Baron
1960699401 Null-check the right thing to fix topcrash. (Bug 752428) r=roc 2012-05-10 11:12:07 +02:00
Robert O'Callahan
be868acf30 Bug 681192. Part 13: Make nsDOMWindowUtils event coordinate calculations more accurate. r=matspal
--HG--
extra : rebase_source : fef4ef568baf1a67038aeb0e187511771fe0d565
2012-05-10 17:24:20 +12:00
Olli Pettay
c7525b178b Bug 716014 Investigate if we could use CompartmentGC more often, r=billm+terrence
--HG--
extra : rebase_source : f0cfb9cdd2e2823898f4c18402df53e7b6041bac
2012-05-09 21:53:23 +03:00
Kyle Huey
e88c1f60fb Bug 752877: Ensure that wrapper cutting happens after [inner|outer]-window-destroyed, to give code a chance to clean up. r=bz 2012-05-09 08:10:18 -07:00
Ryan VanderMeulen
e1b8216090 Merge m-c to inbound 2012-05-08 21:14:42 -04:00
Gregory Szorc
afb738a2b1 Merge services-central into mozilla-central 2012-05-08 09:52:27 -07:00
Justin Lebar
def31fd7a2 Bug 749018 - Followup: Disable debug dump() calls. r=me 2012-05-08 16:17:10 -07:00
Richard Newman
bc544dd5f3 Merge m-c to s-c. 2012-05-06 18:58:00 -07:00
Ryan VanderMeulen
bc51a0c96c Merge m-c to m-i 2012-05-05 11:50:54 -04:00
Olli Pettay
9d5d8db7e0 Backout Bug 716014, a=bustage 2012-05-05 18:20:09 +03:00
L. David Baron
7adc6bba00 Reflow for screen size change when font.size.inflation.minTwips is set. (Bug 747231, patch 4) r=roc
--HG--
extra : transplant_source : %B2c%F2%B9%E0%1DL%DD%AF%A2%842R%F3%BB%60R%1B%9EI
2012-05-05 15:28:06 +02:00
L. David Baron
9bd6b34a6c Remove duplicate null check of presShell. (Bug 747231, patch 1) r=roc
--HG--
extra : transplant_source : %05I%BFz%3C%95%CB%19%BCV%08Lx%F5G%88%9B%02S9
2012-05-05 15:25:26 +02:00
Olli Pettay
b36d55e20b Bug 716014, use compartment gc more often, r=billm
--HG--
extra : rebase_source : cf20b7aca16349e4007da24cfb5b19ab7a16cad8
2012-05-05 11:55:30 +03:00
Ms2ger
560f4047e3 Bug 732708 - Part f: Remove nsStorageSH; r=mayhemer 2012-05-05 11:00:05 +02:00
Ms2ger
25be92c77d Bug 732708 - Part d: Remove StorageEventObsolete, NS_NewDOMStorage; r=mayhemer 2012-05-05 11:00:05 +02:00
Ms2ger
1f6627d5e9 Bug 677194 - Add test; r=jst 2012-05-05 11:00:05 +02:00
Ms2ger
9a5ae693e0 Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-05-05 11:00:05 +02:00
Ms2ger
68c19b3ac7 Bug 745211 - Remove SetScriptContext from nsIScriptGlobalObject; r=mrbkap 2012-05-05 11:00:04 +02:00
Richard Newman
99b6215a18 Merge m-c to s-c. 2012-05-04 14:25:04 -07:00
Gregory Szorc
fdb09d5559 Merge m-c to s-c 2012-05-03 14:33:48 -07:00
Ali Juma
d62323c372 Bug 748048 - Part 1: Remove SetInvalidationDimensions and GetInvalidationDimensions. r=roc 2012-05-03 12:33:51 -04:00
Olli Pettay
23e1d57c14 Bug 751561 - Call forgetSkippable at least twice before CC, r=mccr8
--HG--
extra : rebase_source : 7434eb9be0bbdfd7fe44e1aeced9698d6c0627e1
2012-05-03 19:17:01 +03:00
Matt Brubeck
ed415941c1 Bug 750051 - Disable window.find in Fennec because it breaks and/or crashes [r=jst] 2012-05-03 09:15:38 -07: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
Timothy Nikkel
a68e973cdb Bug 749816. When setting the display port for an element We only need to discard layer contents when we are hiding a document with a widget. r=roc 2012-05-01 01:43:59 -05:00
aceman
5cf97a3495 Bug 750501 - Fix build failure in nsDOMClassInfo.cpp due to missing nsIDOMMediaStream.h when MOZ_MEDIA is disabled. r=bz 2012-04-30 22:45:02 -04:00
Gregory Szorc
b5aa4b0370 Merge m-c into s-c 2012-04-30 19:02:39 -07:00
Richard Newman
370ba39f53 Merge m-c to s-c. 2012-04-29 23:41:26 -07:00
Anant Narayanan
a13fc78774 Bug 745069 - Add methods to DOMApplicationRegistry for AitC support; r=fabrice 2012-04-28 00:10:08 -07:00
Phil Ringnalda
fe946c3539 Merge m-c to m-i 2012-04-26 21:40:59 -07: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
Bobby Holley
eb21a4af82 Bug 640904 - Check for null window globals within PreCreate hooks and assert IsClosedOrClosing(). r=peterv,smaug 2012-04-27 10:38:14 +02:00
Gijs Kruitbosch
bdf19a4af3 Bug 539095 - Expose high-res timers to web content (performance.now()). r=bz, sr=smaug
--HG--
extra : transplant_source : o%9F%061%D4%B5%7D%5C%FB%95%5D%16%27%DEKU%EC%21%3AR
2012-04-27 09:22:06 +02:00
Masatoshi Kimura
834ce504b5 Bug 744910 - Remove FileException from workers. r=bent 2012-04-24 19:50:00 -04:00
Matt Brubeck
657b0b8a57 Back out bug 730208 and bug 747543 because of xpcshell test failures 2012-04-24 20:47:16 -07:00
Matt Brubeck
c9d5f18376 Back out a0bc511b1d75 (bug 744910) and c85d6a254baa (bug 673752) on suspicion of causing Win debug "make check" hangs 2012-04-24 20:47:13 -07:00
Luke Wagner
57ad808df2 Bug 747617 - fix document.all and swap JSClass::{construct,hasInstance} so this doesn't happen again (r=bz)
--HG--
extra : rebase_source : 036acbd046ff8b42f81e63933901b6aaaa595a76
2012-05-07 12:44:08 -07:00
Chris Jones
234136e0ea Bug 745145, part 1: Generalize ScreenOrientation into ScreenConfiguration, and add screen rect and color+pixel depth to it. r=mounir 2012-05-08 14:36:07 -07:00
Jon Buckley
f4f2e1efb0 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Ed Morley
8a8e40fff3 Backout ba7cf6fd10ae (bug 728017) for failing to compile 2012-05-08 18:50:45 +01:00
Jon Buckley
56d33b746c Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Vivien Nicolas
7c47d2d653 Bug 752389 - Launching any application attaches a /undefined to the end of the URL. r=fabrice 2012-05-08 19:20:06 +02:00
Justin Lebar
cdc2cdd948 Bug 749018 - Make OOP <iframe mozbrowser> pass current browser frame tests. r=smaug,cjones
--HG--
extra : rebase_source : f15018bf2c9427a0d6e8d44da348d8d7d1693219
2012-05-08 09:20:35 -07:00
Masayuki Nakano
cea6824fb9 Bug 630811 part.3 Improve nsDOMWindowUtils::send*Event() for new modifiers r=smaug 2012-04-25 12:00:02 +09:00
Ehsan Akhgari
c7d143b9fa Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Patrick Wong
15df25098f Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Ehsan Akhgari
5cac768d9b Merge mozilla-central into birch 2012-04-24 10:49:42 -04:00
Bobby Holley
6af4b3543d Bug 743615 - Handle ImageData in the main thread runtime callbacks. r=bent 2012-04-24 12:58:07 +02:00
Ehsan Akhgari
1e3b159969 Merge from mozilla-central 2012-04-23 19:24:10 -04:00
Ehsan Akhgari
a3145104fc Merge from mozilla-central 2012-04-23 18:17:44 -04:00
Joe Drew
3019e4b61c Backout 492d12fa8b65 (bug 732016) for regressions. a=regression
--HG--
extra : rebase_source : cda0401baa2c3e5f6192f76c1cd25eca8187a9a0
2012-04-23 11:13:33 -07:00
Mounir Lamouri
ae8e154049 Bug 747442 - Unlock orientation only if the received mozfullscreenchange is for fullscreen being disabled. r=smaug a=mfinkle 2012-04-23 10:30:58 +02:00
Ehsan Akhgari
fec480dc6c Merge mozilla-central into birch 2012-04-22 16:10:35 -04:00
Rafael Ávila de Espíndola
29bc50b92c Bug 743680 - nsGlobalWindow.h uses GetWrapper, include nsWrapperCacheInlines.h. r=dbolter.
--HG--
extra : rebase_source : 9e0b59c3b4929b7c48767be1732269133cb4e18f
2012-04-20 16:43:48 -04:00
Doug Turner
9eaa2d7486 Bug 738465 - implement device light sensor. r=smaug 2012-05-02 09:43:45 -07:00
Doug Turner
f158836867 Bug 738131 - implement device proximity. r=smaug
* * *
Bug 738131 - implement device proximity. gonk implementation. r=mwu
2012-05-02 09:43:45 -07:00
Timothy Nikkel
e472248f52 Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc 2012-04-19 20:54:54 -05:00
Nathan Froyd
1ce8cd7332 Bug 751314 - fix -Wsign-compare warnings in nsGlobalWindow.cpp; r=khuey 2012-05-02 15:38:17 -04:00
L. David Baron
678686d952 Try to fix topcrash bug 752428 by null-checking the result of nsIPresShell::FrameManager(), which isn't supposed to need it. r=roc
--HG--
extra : transplant_source : %DF%9D%B8%F3%06%C5%85%00%245%FFK%AC%3F%3B%0C%90%3D%EF%A0
2012-05-07 17:02:01 +02:00
Robert O'Callahan
1f5dd9a4af Bug 664918. Part 4: Create nsDOMMediaStream, a DOM object wrapping an underlying MediaStream. r=smaug,jesup 2012-04-30 15:11:34 +12:00
Ed Morley
4c4c3cfd18 Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange 2012-05-11 18:25:52 +01:00
Tom Schuster
6e0861373a Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Nathan Froyd
e2a130e76d Bug 754241 - add window-objects-layout-pres-contexts to about:memory; r=njn 2012-05-11 09:23:07 -04:00
Gregor Wagner
e6ec2ef08e Bug 746933 - Create a JS helper module for common IndexedDB functionality. r=fabrice 2012-04-26 15:10:04 -07:00
Ms2ger
c93591489a Backout cc0e289b9f34 (bug 640904) for Windows M1 crashes. 2012-04-26 18:22:08 +02:00
Bobby Holley
78222de2c1 Bug 640904 - Check for null window globals within PreCreate hooks and assert IsClosedOrClosing(). r=peterv 2012-04-26 14:16:10 +02:00
Brian R. Bondy
7dbf5cad5b Bug 749527 - Remove text formats in clipboard when copying an image. r=ehsan. 2012-04-30 13:08:16 -04:00
Steve Fink
68da1345a6 Bug 730208 - UnmarkGray fixups for globals and contexts. r=billm
A common source of potential black -> gray edges is JSAPI calls made on objects with gray globals or contexts holding gray globals. (The call could potentially update a black object with a pointer to that global.) This patch mostly traps places where contexts are used, and unmarks their globals. It also includes some more global unmarking.

--HG--
extra : rebase_source : 835c1d6b4a7f7a11571412075ae8847475079edd
2012-03-14 09:32:58 -07:00
Steve Fink
19c2240067 Bug 730208 - UnmarkGray various JS objects to prevent them from being used to create black -> gray edges. r=smaug
--HG--
extra : rebase_source : ba0e5a7c3f9f5f4c76eaa3c8e20d406b9691be9b
2012-03-20 21:29:47 -07:00
Eric Chou
258a838cb7 Backout 4a9ebf972d27 (Bug 730990) because it was checked-in without superreview 2012-05-04 07:53:51 +08:00
Andrew McCreight
38b851ba07 Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug 2012-05-03 12:28:10 -07:00
Ed Morley
2d35fc9b56 Merge mozilla-central to mozilla-inbound 2012-05-03 20:13:41 +01:00
Masayuki Nakano
0a7ff20ae3 Bug 166240 part.8 Add tests for KeyboardEvent.location (synthesized events) r=smaug, sr=jst 2012-05-03 17:35:02 +09:00
Philipp von Weitershausen
23b8a1c916 Bug 729173 - Part 3: Hook up MobileConnection to the Navigator object 2012-04-19 18:33:25 -03:00
Philipp von Weitershausen
9bd7b30ecb Bug 729173 - Part 2: MobileConnection boilerplate. r=mounir 2012-04-19 18:33:25 -03:00
Myk Melez
253337cae3 bug 725408 - implement WebappRT launcher/shell; r=bsmedberg 2012-04-17 07:11:53 -07:00
David Anderson
3a7a15cbe2 Remove more uses of JS_FrameIterator (bug 744617, r=mrbkap). 2012-04-16 12:30:04 -07:00
David Anderson
38bfcb0aba Remove simple JS_FrameIterator use from content, DOM, and caps (bug 744617, r=mrbkap).
--HG--
extra : rebase_source : 003a5285b549845d47c9298606d737620db5bb3d
2012-04-16 12:30:00 -07:00
Kartikaya Gupta
304600501c Bug 744699 - Call setDisplayPort on the correct presShell. r=roc 2012-04-16 09:48:04 -04:00
Mounir Lamouri
ecd83fe5c1 Bug 745495 - Fix crash when using screen object from removed iframe. r=smaug 2012-04-16 11:33:35 +02:00
Ms2ger
ef69954ac5 Bug 732708 - Part c: Remove dom-storage-changed observer topic; r=honzab 2012-04-14 15:06:32 +02:00
Ms2ger
cdc1f73263 Bug 741347 - Remove nsIXPConnect::DefineDOMQuickStubs, call DOM_DefineQuickStubs directly instead; r=bholley 2012-04-14 15:05:17 +02:00
Ms2ger
f58f1b50e0 Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Ms2ger
5ac4683866 Bug 744347 - Remove last traces of EventException; r=smaug 2012-04-14 14:57:07 +02:00
Ms2ger
b8ae2456b2 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
4baa902d14 Bug 743573 - Fix a number of build warnings in dom/; r=volkmar 2012-04-14 15:09:47 +02:00
Ms2ger
f92683ffdc Bug 732708 - Part c: Remove dom-storage-changed observer topic; r=honzab 2012-04-14 15:06:32 +02:00
Ms2ger
bd900a0e7f Bug 741347 - Remove nsIXPConnect::DefineDOMQuickStubs, call DOM_DefineQuickStubs directly instead; r=bholley 2012-04-14 15:05:17 +02:00
Ms2ger
9f95d23e65 Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-04-14 15:05:01 +02:00
Ms2ger
7fd5606557 Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Ms2ger
e24ce4be34 Bug 744347 - Remove last traces of EventException; r=smaug 2012-04-14 14:57:07 +02:00
Marco Bonardo
be570c6dfc Merge central and inbound 2012-04-14 13:56:15 +02:00
Olli Pettay
4606a0ceb0 Bug 743416, crash with showModalDialog, r=jst 2012-04-14 11:03:28 +03:00
Matt Brubeck
5f25e99627 Bug 735237 - Disable window.showModalDialog in Fennec [r=jst] 2012-04-12 21:55:25 -07:00
Bobby Holley
babe364f16 Bug 744034 - Link the script context to the outer window earlier to ensure that we always have TI for content. r=mrbkap 2012-04-12 11:21:12 -07:00
Masatoshi Kimura
a4f7f9bacb Bug 743574 - Deprecate DOMException.code. r=sicking 2012-04-11 17:55:23 -04:00
Masatoshi Kimura
f09712023c Bug 743049 - Part 2: Use the new API from NS_ScriptErrorReporter to get an error type name. r=jst 2012-04-11 17:55:22 -04:00
Masatoshi Kimura
0cd58c8a6f Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking 2012-04-11 17:55:21 -04:00
Masatoshi Kimura
cbb92d2685 Bug 730161 - Implement IDBRequest.error. r=sicking 2012-04-11 17:55:21 -04:00
Philipp von Weitershausen
269a26647e Bug 734018 - Don't patch DOMRequestService into Services.jsm. r=gavin,fabrice 2012-04-11 13:55:54 +08:00
Mounir Lamouri
641e4dc04c Bug 743217 - Do not allow iframes to lock the screen if a parent window's element is fullscreened. r=smaug
--HG--
extra : rebase_source : f3384491fbfc1a756917516ad15f5d93d05f624b
2012-04-10 15:38:59 +02:00
Olli Pettay
adf238dbcd Bug 743199 - Unmark Document's and Window's ELM, r=mccr8 2012-04-07 10:12:03 +03:00
Bill McCloskey
210b823250 Bug 742570 - Remove the compartment option for gczeal (r=igor) 2012-04-03 11:41:56 -07:00
Bill McCloskey
ede17c11db Bug 739810 - Make cycle collector traverse nsGlobalWindow::mLocalStorage (r=smaug)
--HG--
extra : rebase_source : 7da46b5d1e5871dbd59078aa93f0f1d8da75799e
2012-04-05 15:38:01 -07:00
Gabor Krizsanits
74922f0040 Bug 733035 - postMessage support for sandboxes. r=khuey 2012-04-05 18:33:20 -04:00
Brad Lassey
d0e11c8d01 backout b51259905d85 because it needs sr 2012-04-05 02:02:52 -04:00
Brad Lassey
4a02ab3916 bug 738528 - still photo support for getUserMedia r=dougt 2012-04-04 23:32:38 -04:00
Justin Lebar
e25a776ebd Bug 742448 - Don't return xray-waived objects in BrowserElementAPI, and don't use the parent window's content-overridable top property for implementing window.top. r=bholley
--HG--
extra : rebase_source : 0c81c1f605aaf73f01b47077be11345ee64955e1
2012-04-04 20:32:39 -04:00
Nathan Froyd
648b4d2f3d Bug 732708 - remove nsIDOMStorageList; r=honzab 2012-03-28 12:33:41 -04:00
Marco Bonardo
ee37f02006 Merge central to inbound 2012-04-04 13:39:52 +02:00
Marco Bonardo
047806e61c Merge last green PGO from inbound to central 2012-04-04 13:36:36 +02:00
Olli Pettay
14fb10f69b Bug 742183 - Handle MicroTasks correctly with showModalDialog, r=sicking 2012-04-04 09:23:45 +03:00
Marco Bonardo
9da76e99e1 Merge central and inbound 2012-04-03 14:36:57 +02:00
Ms2ger
d5ec912ad4 Bug 532062 - localStorage/sessionStorage should return undefined (not null) for undefined keys through property access; r=mayhemer 2012-04-03 09:25:39 +02:00
Justin Lebar
8f1a69a0ab Bug 737857 - Report number of ghost windows in telemetry. r=njn
--HG--
extra : rebase_source : 0139099de839f77405ec1e606fc0540fc892cbd5
2012-04-02 22:28:13 -04:00
Justin Lebar
e71332b560 Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : c16cdfc4c06b363f54f1d0f37bb006cf977b079a
2012-04-02 22:28:05 -04:00
Justin Lebar
3494c5ed8e Bug 738011 - Separate "detached" from "ghost" windows in about:memory. r=njn,mccr8
--HG--
extra : rebase_source : 02d563277907231953728a0a99847c466665dbb0
2012-04-02 22:28:04 -04:00
Matt Brubeck
678b0cfe89 Back out bug 738011, bug 738624, and bug 737857 because of WinXP debug reftest log errors
--HG--
extra : rebase_source : 965c755f6416e2ca102b38633fe7a2c7267e956e
2012-04-02 12:44:31 -07:00
Masayuki Nakano
eb57a32930 Bug 668157 part.2 mozilla/dom should use mozilla::Preferences r=jst 2012-04-04 13:09:20 +09:00
Ryan VanderMeulen
8a1ce69485 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Matt Brubeck
8771612c40 Merge mozilla-central to mozilla-inbound 2012-04-02 11:03:29 -07:00
Matt Brubeck
6c039eb840 Merge last green changeset from inbound to mozilla-central 2012-04-02 10:41:37 -07:00
Kyle Huey
a19142cede Bug 722428: Fix leaks in mochitest by reworking SpecialPowers and nsDOMWindowUtils. r=mounir,ctalbert 2012-04-01 19:23:51 -07:00
Tim Taubert
4d09e65fb8 merge m-c to fx-team 2012-04-01 18:52:12 +02:00
Ed Morley
651aa424a1 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-31 22:41:59 +01:00
Olli Pettay
f198500ad9 Bug 641821, MutationObserver, r=sicking
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Johnny Stenback
8bf8680df4 Removing windows newlines. no bug and DONTBUILD 2012-03-30 22:34:16 -07:00
Ed Morley
c7a3740e33 Merge mozilla-central to mozilla-inbound 2012-03-31 15:28:55 +01:00
Peter Van der Beken
09128a75d3 Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Mounir Lamouri
e0d6ef4e96 Bug 740707 - Fix crash in mozilla::dom::Navigator::GetMozBattery. r=jlebar 2012-03-30 18:58:12 -07:00
Tim Taubert
35c66981b6 Bug 727446 - Let the window owning a storage dispatch an event when the storage changes; r=smaug 2012-03-30 19:31:16 +02:00
Marco Bonardo
d3b8a6debe Merge central to inbound 2012-03-30 12:27:55 +02:00
Ms2ger
09e5acca2c Bug 738761 - Remove nsIScriptTimeoutHandler::GetScriptVersion and pass JSVersion to nsIScriptContext::EvaluateString; r=jst 2012-03-29 23:09:13 +02:00
Mounir Lamouri
46903d4f81 Bug 740188 - Screen Orientation API locking (3/3): revert orientation when fullscreen is left. r=smaug 2012-03-29 09:31:11 -07:00
Mounir Lamouri
8356eff220 Bug 740188 - Screen Orientation API locking (2/3): security model. r=smaug 2012-03-29 09:31:29 -07:00
Mounir Lamouri
d8342fc658 Bug 740188 - Screen Orientation API locking (1/3): DOM/HAL boilerplate. r=smaug sr=sicking 2012-03-29 12:43:16 -07:00
Terrence Cole
315c82925b Bug 738868 - Switch JSObject2JSObjectMap to new HashTable; r=mrbkap 2012-03-27 09:55:55 -07:00
Peter Van der Beken
31bd546579 Bug 740526. Change LookupName to return the nsGlobalNameStruct as a return value, not an out param. r=bzbarsky 2012-03-29 11:43:13 -07:00
Doug Turner
02027b882a Bug 740268 - DisableDeviceSensor doomedElement isn't being set correctly. r=mwu 2012-03-28 23:54:53 -07:00
Mark Capella
5b2f534388 Bug 738380 - Remove nsINode::{GetScriptTypeID, SetScriptTypeID}, nsIScriptContext::GetScriptTypeID, nsIScriptRuntime::GetScriptTypeID; r=jst 2012-04-01 14:47:48 +02:00
Justin Lebar
e118a51dca Bug 736688 - Part 6: Add BrowserElementAPI.js, implementing loadstart, loadend, locationchange, and the window.{top,parent,frameElement} override for <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : 7ed3e56bbf06d97a9b0127eecf87128c5389a1b1
2012-03-28 11:36:50 -07:00
Justin Lebar
3be96b596d Bug 736688 - Part 5: Remove window.{top,parent,frameElement} mozbrowser changes in nsGlobalWindow (undoes changes from bug 725796). r=smaug
--HG--
extra : rebase_source : fdeccb7e995229cdbc6ebd945109fe8441f9f525
2012-03-28 11:36:49 -07:00
Ed Morley
5dfa9d4b7a Merge mozilla-central to mozilla-inbound 2012-03-28 17:37:32 +01:00
Kyle Huey
f690aa730d Merge the last good pgo-green cset on mozilla-inbound to mozilla-central. 2012-03-28 07:40:52 -07:00
Neil Rashbrook
8cc5335d19 Bug 737022 Re-enable debug chrome strict warnings r=jst 2012-03-28 12:09:33 +01:00
Eric Chou
2769592846 Bug 731361 - Change bluetooth firmware loading to use a DOMRequest based API. r=bent 2012-03-27 19:17:35 -04:00
Jared Wein
642a4f48c0 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-28 08:53:56 -07:00
Jared Wein
e34baf2131 Backed out changeset 8e42ba558f07 (bug 730318) CLOSED TREE 2012-03-27 15:23:53 -07:00
Gregor Wagner
746c6fda8d Bug 678695 - Settings API. r=sicking, fabrice, smaug 2012-03-26 14:49:38 -07:00
Igor Bukanov
3a859b7a76 Bug 737365 - stop using the cx during finalization, part 1.
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00
Veeraya Pupatwibul
26e9a6a204 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Benoit Jacob
1ae2806ea3 Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv
This patch adds the diff between the previous iteration of the patch (which I accidentally committed in previous cset) and the one that peterv actually r+'d.
2012-03-26 15:02:43 -04:00
Benoit Jacob
27f43955f9 Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv 2012-03-26 14:59:04 -04:00
Justin Lebar
d8022c463a Bug 737857 - Report number of ghost windows in telemetry. r=njn 2012-04-02 10:37:04 -04:00
Justin Lebar
007d8115b5 Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : a486e644351af72a4276f26de2e4588ee851426f
2012-04-02 10:37:04 -04:00
Justin Lebar
f5815cc539 Bug 738011 - Separate "detached" from "ghost" windows in about:memory. r=njn,mccr8
--HG--
extra : rebase_source : 5194c9062cdfcd215ce5d708b1b472cf5ba7f480
2012-04-02 10:37:04 -04:00
Doug Turner
59d0282757 Bug 734855 - Rename DeviceMotion to DeviceSensors. Review comments address r=mwu 2012-03-24 17:30:03 -07:00
Doug Turner
d24b5a906e Bug 734855 - Rename DeviceMotion to DeviceSensors. r=mwu
--HG--
rename : dom/system/nsDeviceMotion.cpp => dom/system/nsDeviceSensors.cpp
rename : dom/system/nsDeviceMotion.h => dom/system/nsDeviceSensors.h
rename : xpcom/system/nsIDeviceMotion.idl => xpcom/system/nsIDeviceSensors.idl
2012-03-24 17:29:57 -07:00
Doug Turner
46f2d3abe9 Bug 734855 - Device Orientation - Make EnableDeviceMotion finer grain. r=mwu 2012-03-24 17:29:49 -07:00
Matt Brubeck
21e24f0ef9 Merge mozilla-central and mozilla-inbound 2012-03-24 09:05:27 -07:00
Peter Van der Beken
4c5904d14e Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap 2012-03-16 16:44:09 +01:00
Ms2ger
d1ba1fe158 Bug 734724 - Inline nsIScriptContext::ConnectToInner into its only caller; r=jst 2012-03-24 09:18:22 +01:00
Ms2ger
57b8d41a26 Bug 734029 - Move nsJSContext::{Set,Create}OuterObject to nsGlobalWindow; r=bholley 2012-03-24 09:18:21 +01:00
Vivien Nicolas
4e3a4fa2e2 Bug 736193 - Use the offline cache to load applications [r=fabrice] DONTBUILD because NPOTB 2012-03-23 16:39:15 -07:00
Jared Wein
4920fd9f8d Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:46:12 -07:00
Marco Bonardo
8b41ce4e56 Merge central to inbound 2012-03-23 02:02:03 +01:00
Marco Bonardo
e0389c6f8a Merge last green PGO from inbound to central 2012-03-23 01:59:29 +01:00
David Flanagan
10e29d77c0 Bug 738439 - typo in Webapps.jsm [r=fabrice] 2012-03-22 14:26:36 -07:00
Marco Bonardo
508dc27a5b Merge last green PGO from inbound to central 2012-03-22 13:04:29 +01:00
Neil Rashbrook
198703fe5f Bug 737022 Re-enable strict warnings when parsing XUL r=jst 2012-03-22 08:36:36 +00:00
Jared Wein
589f9135f9 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-22 13:53:59 -07:00
Masayuki Nakano
6ca839eb6c Bug 672175 part.15 Add new API nsIDOMWindowUtils.sendNativeMouseScrollEvent() r=roc, sr=smaug 2012-03-22 09:59:12 +09:00
Henri Sivonen
3dfb9fb844 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Marco Bonardo
1dfd7fb932 Merge central to inbound 2012-03-22 13:09:22 +01:00
Boris Zbarsky
11b852e1bf Bug 622491. Make the global scope polluter work in standards mode too. r=jst 2012-03-22 00:10:50 -04:00
Blake Kaplan
0b7d1e15a2 Bug 737029 - Use DOMRequestHelper.jsm in DOMWifiManager.js. r=fabrice DONTBUILD 2012-03-20 16:59:38 +01:00
Mounir Lamouri
71d5cfc5d5 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-20 14:09:45 +01:00
Adam Dane [:hobophobe]
3c986b3780 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00
Hessam Salehi
7d69570885 Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Eric Chou
aa6940f2c6 Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot 2012-03-23 14:58:12 -07:00
Kyle Machulis
35235ab6bd Backing out a44ac6895a2f 2012-03-23 14:50:47 -07:00
Eric Chou
241b42bb8c Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot 2012-03-23 14:18:03 -07:00
Jared Wein
30d9fd445e Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:11:31 -07:00
Mark Capella
08d7239a5d Bug 734023 - Remove language arguments from nsIScriptGlobalObject methods, r=jst, f=ms2ger 2012-03-23 18:13:29 +01:00
Shriram Kunchanapalli
a0a99e8f8a Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Kan-Ru Chen
bcddd7d2c9 Bug 710135 - Move screen.enabled/brightness to mozPower. r=jlebar,mounir sr=cjones,sicking 2012-04-03 01:51:00 -04:00
Igor Bukanov
5542df3342 bug 730221 - delegating serialization of script principals to the embedding. r=:luke,:bz
Currently to serialize principals stored in JSScript we have a rather complex
schema. First there is the transcode callback that the embedding must provide
to transcode principals using XDR API. Second we use rather complex glue code
to implement that callback in terms of writing/reading nsIObjectOutputStream/
nsIObjectInputStream. This glue code is duplicated in 3 places. All this can
be avoided if we simply delegate transcoding of principals to the caller. In
addition, at least in the case of the cached startup scripts we do not even
need to transcode the principals as the the cached scripts always have the
system principal so we can skip all the transcode complexity there.

The patch implemnts this idea. In particular, the code in JS engine
responsible for transcoding of principals is replaced by the single API
function JS_XDRSetPrincipals that the embedding can use to set principals for
decoded scripts and functions. Then the startup cache uses this to set the
principals for the decoded script to the system principals. The other two
places in nsJSContext::Serialize and  XBL_SerializeFunction that need to
serialize principals together with a function or script now uses common
utilities in nsXPConnect so the serialization complexity resides in the single
 place.
2012-02-13 14:10:04 +01:00
Oleg Romashin
01f49c7c7b Bug 681192. Part 5: Make various DOM scroll APIs --- scrollTop, scrollLeft, window.scrollTo, scrollBox.scrollTo, scrollBox.scrollToLine, scrollBox.scrollBy --- use an appropriate allowed scroll destination range. r=roc,r=matspal
--HG--
extra : rebase_source : 83ee44530c67229686ec0dce3628da83e0e93438
2012-02-07 12:24:15 -08:00
Steve Fink
f05afcc260 Bug 730208 - UnmarkGray fixups for globals and contexts. r=billm
A common source of potential black -> gray edges is JSAPI calls made on objects with gray globals or contexts holding gray globals. (The call could potentially update a black object with a pointer to that global.) This patch mostly traps places where contexts are used, and unmarks their globals. It also includes some more global unmarking.

--HG--
extra : rebase_source : 1286bdbc4c337956242c292e0fa385629ee8850b
2012-03-14 09:32:58 -07:00
Steve Fink
5843a0733d Bug 730208 - UnmarkGray various JS objects to prevent them from being used to create black -> gray edges. r=smaug
--HG--
extra : rebase_source : 00bd6f20a900e97173fafa9f5512e2ebbd3a0cac
2012-03-20 21:29:47 -07:00
Masatoshi Kimura
c7443b0f63 Bug 744910 - Remove FileException from workers. r=bent 2012-04-24 19:50:00 -04:00
Mark Capella
2577075a7a Bug 744332 - Remove nsXULPrototypeScript::ScriptObjectHolder::mLangID. r=jst, f=Ms2ger 2012-04-24 18:31:28 -04:00
Timothy Nikkel
b9a7468478 Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc 2012-04-24 13:52:35 -05:00
Matt Brubeck
ff4859867a Bug 739038 - Disable window.print on Fennec [r=jst] 2012-04-13 12:45:06 -07:00
Boris Zbarsky
224115946f Bug 742217. Reduce the use of nested namespaces in our binding code. r=peterv,bent
In the new setup, all per-interface DOM binding files are exported into
mozilla/dom.  General files not specific to an interface are also exported into
mozilla/dom.

In terms of namespaces, most things now live in mozilla::dom.  Each interface
Foo that has generated code has a mozilla::dom::FooBinding namespace for said
generated code (and possibly a mozilla::bindings::FooBinding_workers if there's
separate codegen for workers).

IDL enums are a bit weird: since the name of the enum and the names of its
entries all end up in the same namespace, we still generate a C++ namespace
with the name of the IDL enum type with "Values" appended to it, with a
::valuelist inside for the actual C++ enum.  We then typedef
EnumFooValues::valuelist to EnumFoo.  That makes it a bit more difficult to
refer to the values, but means that values from different enums don't collide
with each other.

The enums with the proto and constructor IDs in them now live under the
mozilla::dom::prototypes and mozilla::dom::constructors namespaces respectively.
Again, this lets us deal sanely with the whole "enum value names are flattened
into the namespace the enum is in" deal.

The main benefit of this setup (and the reason "Binding" got appended to the
per-interface namespaces) is that this way "using mozilla::dom" should Just
Work for consumers and still allow C++ code to sanely use the IDL interface
names for concrete classes, which is fairly desirable.

--HG--
rename : dom/bindings/Utils.cpp => dom/bindings/BindingUtils.cpp
rename : dom/bindings/Utils.h => dom/bindings/BindingUtils.h
2012-05-03 00:35:38 -04:00
Myk Melez
8bb862f4ba bug 746645 - Adding the white-list for myapps (or stage-myapps) has no effect with a clean FF profile; r=fabrice, a=mfinkle 2012-04-21 14:15:06 -07:00
Josh Matthews
f9e587495d Bug 677194 - Change assertion to an early-return bailout. r=jst, a=akeybl 2012-02-29 12:11:03 -05:00
Boris Zbarsky
d1a2ce74b8 Bug 740811. Make SVGElement.prototype be Element.prototype again. r=peterv, a=akeybl 2012-04-20 21:44:35 -04:00
Mounir Lamouri
37cde3b716 Bug 735781 - Make sure nsScreen don't call RemoveObserver twice in a row. r=jlebar 2012-03-15 10:58:56 +01:00
Mounir Lamouri
a0c55021dc Bug 735261 - navigator.mozConnection should be an instance of EventTarget. r=smaug 2012-03-14 19:50:11 +01:00
Mounir Lamouri
e27c8b19cf Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar 2012-03-14 19:14:53 +01:00
Mounir Lamouri
e1b61ee6bf Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking 2012-03-14 11:10:48 +01:00
Mounir Lamouri
3cf8a02b87 Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones 2012-03-13 17:42:46 +01:00
Dão Gottwald
6a83ce299e Backed out changeset 2cd01fd07ce8 2012-03-19 12:54:32 +01:00
Adam Dane [:hobophobe]
1157561543 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-18 14:42:25 -05:00
Mark Finkle
2f256bcc57 Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android 2012-03-17 21:51:39 -04:00
Mounir Lamouri
675be045de Bug 735781 - Make sure nsScreen don't call RemoveObserver twice in a row. r=jlebar 2012-03-15 10:58:56 +01:00
Mounir Lamouri
e545a790d6 Bug 735261 - navigator.mozConnection should be an instance of EventTarget. r=smaug 2012-03-14 19:50:11 +01:00
Mounir Lamouri
bbc1329098 Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar 2012-03-14 19:14:53 +01:00
Mounir Lamouri
a2418c5fd8 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-16 19:43:10 +01:00
Mounir Lamouri
db3fd2663b Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking 2012-03-14 11:10:48 +01:00
Mounir Lamouri
20cefe61d8 Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones 2012-03-13 17:42:46 +01:00
Bill McCloskey
8a370df06f Bug 736643 - Add timestamp support to GC/CC JSON output (r=terrence) 2012-03-16 16:36:26 -07:00
Vivien Nicolas
8522dff32f Bug 748889 - Silent a warning about an undefined @mozilla.org/privatebrowsing. r=enndeakin 2012-05-04 20:05:40 +02:00
Vivien Nicolas
81d5110d91 Bug 751144 - warning: ok is undefined in dom/base/WebApps.js. r=fabrice 2012-05-04 20:02:05 +02:00
Vivien Nicolas
7dc41d6e7f Bug 748858 - Use the startPoint argument of mozIDOMApplication.launch. r=fabrice 2012-05-04 20:02:05 +02:00
Boris Zbarsky
dc79d60c42 Bug 747825. Make the WebGLContext a wrapper cache. r=peterv 2012-05-04 12:36:40 -04:00
Jared Wein
5c1c03e064 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-27 13:50:50 -07:00
Bobby Holley
89832a4812 Bug 738956 - Wrap values in nsStructuredCloneContainer::InitFromVariant before passing them to JS_WriteStructuredClone. r=khuey 2012-03-27 11:43:11 -07:00
Bobby Holley
dde713cf13 Bug 734910 - Enter the compartment of the new global before calling FinishInitForNewWrappedGlobal. r=mrbkap 2012-03-16 12:47:20 -07:00
Peter Van der Beken
299c3b3d05 Fix for bug 736229 (Stop storing expando objects in the wrapper cache, store the proxy instead). r=jst. 2012-03-14 15:22:10 +01:00
Ms2ger
2d3c91199c Bug 550309 - Part d: Try unwrapping to nsIDOMImageData in GetImageData(); r=bz 2012-03-16 10:44:39 +01:00
Ms2ger
7ea9d494ee Bug 550309 - Part c: Implement ImageData; r=bz 2012-03-16 10:44:08 +01:00
Ed Morley
b4dda70351 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-15 12:42:01 +00:00
Bill McCloskey
c34cd398f5 Bug 735916 - Fix javascript.options.mem.log (r=terrence) 2012-03-14 16:50:35 -07:00
Blake Kaplan
bf38585082 Bug 732982 - Expose a wifi API to the DOM. The API is very much a work in progress and will change soon. r=cjones/fabrice/vigntetun DONTBUILD
--HG--
extra : rebase_source : c44979e32dfffc46502f21c59c691a13e0319cad
2012-03-14 21:39:15 +01:00
Kartikaya Gupta
4e638d7d12 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Benoit Girard
32745d1cc3 Merge mc->Maple 2012-03-13 11:05:28 -04:00
Marco Bonardo
80af6e193a Merge last green PGO from inbound to central 2012-03-13 11:17:21 +01:00
Masatoshi Kimura
d1e291fd89 Bug 721569 - Implement Blob constructor. r=sicking 2012-03-12 21:44:56 -07:00
Jonas Sicking
a1555941df Bug 735094: Implement new string values (rather than numeric constants) for IndexedDB. r=bent 2012-03-12 21:44:45 -07:00
Olli Pettay
91a34ecfd4 Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, part2, r=jst 2012-03-13 02:56:20 +02:00
Olli Pettay
c58d4cc1b2 Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, r=jst,bent 2012-03-13 02:56:07 +02:00
Ali Juma
42a0e56158 Bug 732091 - Part 2: Add {set,get}IsFirstPaint to nsIDOMWindowUtils and nsIPresShell. r=ehsan 2012-03-12 11:50:11 -04:00
Ms2ger
b60bdc70f6 Bug 734481 - Make nsIJSArgArray inherit from nsIArray; r=jst 2012-03-11 09:53:05 +01:00
Ms2ger
fdc871b475 Bug 734473 - Remove nsIScriptContext::FinalizeContext; r=jst 2012-03-11 09:51:22 +01:00
Ms2ger
a6baed04c8 Bug 734472 - Pass JSObject to nsIScriptContext::SetProperty; r=jst 2012-03-11 09:50:22 +01:00
Ms2ger
041916ca61 Bug 734468 - Make SetTerminationFunction return void; r=jst 2012-03-11 09:49:15 +01:00
Ms2ger
5ebe629da9 Bug 732769 - Remove FileError; r=sicking 2012-03-11 09:47:38 +01:00
Igor Bukanov
f0bddf0e88 bug 728250 - remove JSPrincipals::codebase. r=:luke,:bz
In just 2 cases where JSPrincipals::codebase is used it can be reconstructed from the values stored in the associated nsJSPrincipal. In addition the patch makes nsJSprincipals to inherit both from nsIPrincipal and JSPrincipals allowing to use static_cast to convert between nsIPrincipal and JSPrincipals pointers and to drop many cases of manual JSPrincipal reference counting.
2012-03-09 10:48:50 +01:00
Kan-Ru Chen
066b5bfc71 Bug 697132 - Use nsCOMPtr constructor. r=Ms2ger 2012-03-14 18:00:29 -04:00
Nicholas Nethercote
d539e72dcc Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : 54af85a1ef839922d5443cdc36f601611258944a
2012-03-04 15:26:30 -08:00
Fabrice Desré
caa6a1bcd7 Bug 697006 - Add desktop support for the Open Web Apps API - Part 1 : enable mozApps on desktop [r=gavin] 2012-03-12 17:33:10 -07:00
Fabrice Desré
08471b5616 Bug 735109 - unregister message listeners on shutdown in Webapps.jsm [r=felipe] 2012-03-12 17:33:10 -07:00
Bill McCloskey
357ce73929 Bug 735014 - Wait longer for PAGE_HIDE GCs (r=smaug) 2012-03-12 16:25:03 -07:00
Justin Lebar
064e2cf3f9 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
David Anderson
47563b2221 Remove JS_GetScriptedCaller (bug 732652, r=luke,mrbkap,bholley,smaug,bent). 2012-03-06 15:33:12 -08:00
Ehsan Akhgari
9475dfbd3e Merge mozilla-central into mozilla-inbound 2012-03-14 13:40:34 -04:00