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
Blake Kaplan
2c581e8da4
Bug 727884 - Make nsWrapperCache::WrapObject take a JSObject scope instead of XPCWrappedNativeScope. r=peterv
2012-03-14 16:25:40 +01:00
Johnny Stenback
398d2cd68c
backout Bug 679971 - remove Navigator.taintEnabled()
2012-01-05 18:24:10 +02:00
Nicholas Nethercote
ff73b366c6
Bug 713799 - Rearrange the "window-objects" sub-tree in about:memory to make per-tab memory usage more obvious. r=jst.
...
--HG--
extra : rebase_source : f4e9407ad9a5c20ae8523d2ec087b4ee99c43877
2012-03-12 23:00:18 -07:00
Doug Turner
fb1156258d
Bug 733652 - Remove geolocation address handling (v2). Little adoption, costly implementation r=jdm
2012-03-08 22:16:25 -08:00
Ed Morley
72b4537851
Backout 8b74d5ae78c3 & c619bbb2951f (bug 734391), 772c994fa869 (bug 734324), fd23ff0f9dd1 (bug 734325), d1e037a9390e (bug 733653), 3a7bf79b5b2d (bug 733650) & 9d9392fce538 (bug 733652) for OS X M1 & M3 orange
2012-03-13 22:29:29 +00:00
Terrence Cole
2fc27e9994
Bug 531396 - Expose detailed GC timing information API; r=smaug,billm
...
Extensions such as MemChaser would really like an easier to parse and more
complete record of GC events than what can be gleaned from the message console.
This patch adds GC and CC observer messages formatted as JSON containing
detailed statistics.
2012-03-05 15:33:24 -08:00
Doug Turner
4668d637d1
Bug 733652 - Remove geolocation address handling (v2). Little adoption, costly implementation r=jdm
2012-03-08 22:16:25 -08:00
Peter Van der Beken
1fa35e65ac
Add new DOM binding for SVG list classes. r=jst.
...
--HG--
extra : rebase_source : ce84f9457d7b9a14a0a65db5c643938d0e0e05bc
2011-08-22 11:14:13 +02:00
Peter Van der Beken
7d74b1e87c
Fix for bug 734508 (Add new DOM binding for SVG list classes). r=jst.
...
--HG--
extra : rebase_source : c32d2fd124093ae437f000655bba7f3a5f17d99d
2011-08-22 11:14:13 +02:00
Peter Van der Beken
fbde930e20
Backout 790be8926d50 to fix commit message
...
--HG--
extra : rebase_source : 930b7802b35784ef5d70ed359d5d9932013ad62d
2012-03-12 21:13:23 +01:00
Jacob Holzinger
86f648606c
Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
...
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Matt Brubeck
788b29276e
Merge mozilla-central to mozilla-inbound
2012-03-08 16:27:40 -08:00
Olli Pettay
d0605c95d6
Bug 730891, event ctor for StorageEvent, r=sicking,kyle
2012-03-08 23:27:05 +02:00
Rob Campbell
44c93895a1
merge fx-team to m-c
2012-03-08 10:30:11 -04:00
Bill McCloskey
7a09a537af
Bug 730853 - Make sure we occasionally CC with lots of incremental GCs (r=smaug,mccr8)
2012-03-08 15:37:13 -08:00
Gregor Wagner
386d742d18
Bug 733599 - mozContacts should use DOMRequestIpcHelper. r=fabrice
2012-03-07 13:45:24 -08:00
Kan-Ru Chen
3ec5d137a8
Bug 697132 - Implement wakelock interfaces. r=jlebar
2012-03-07 12:03:25 +01:00
Bobby Holley
676be52242
Bug 733606 - Only call FinishInitForWrappedGlobal when we just created a global. r=mrbkap
...
Without this patch, we call the above when restoring things out of the bfcache, which is bad. It must be called exactly once.
2012-03-08 09:33:30 -08:00
Daniel Holbert
5a2a157ecd
Bug 732877: Remove no-longer-used variable 'oldPrincipal' from nsGlobalWindow.cpp. r=jst
2012-03-08 13:06:38 +01:00
Fabrice Desré
2b76be2152
Bug 720415 - update navigator.mozApps m-c implementation - DOM + repo [r=gwagner]
2012-03-06 11:50:58 -08:00
Tim Taubert
405cadcba5
Bug 731726 - Moving the parentNode of a focused DOM node does not remove the node's focus ring; r=Enn
2012-03-05 20:59:50 +01:00
Justin Lebar
3e68e04f09
Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz
2012-03-04 11:02:00 -05:00
Aryeh Gregor
88c8133b31
Bug 711047 Part 2 - Remove RangeException in favor of DOMException. r=sicking
2012-03-01 13:35:48 -05:00
Bobby Holley
73485885f8
Bug 720580 - Do the last bit of wrapped global initialization once the dust has settled. r=mrbkap
2012-03-05 15:22:45 -08:00
Bobby Holley
d3868262e8
Bug 720580 - Stop passing aExtraPtr to InitClassesWithNewWrapedGlobal. r=mrbkap
...
We only ever pass null here anyway, and this whole infrastructure is going away real soon now.
2012-03-05 15:22:44 -08:00
Bobby Holley
1a5208e617
Bug 720580 - Remove unnecessary aIID parameter from nsIXPConnect::InitClassesWithNewWrappedGlobal. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
a7519fcb64
Bug 720580 - Introduce a flag for global natives and assert that we have it. r=mrbkap
2012-03-05 15:22:44 -08:00
Andrew McCreight
001abedc5d
Bug 728460, part 2: remove childless nodes in slice before CC. r=smaug
2012-03-05 13:48:33 -08:00
Ed Morley
e63b667897
Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions
2012-03-05 15:22:28 +00:00
Eric Chou
a17fa9c7cc
Bug 729991: fix followup problems of bug 713116, r=ben
2012-03-04 19:54:01 -08:00
Justin Lebar
c07407a766
Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz
2012-03-04 15:58:06 -05:00
Justin Lebar
2449f55f11
Back out bug 729940 (a108aee:d75775d) due to 32-bit red.
2012-03-04 14:20:34 -05:00
Justin Lebar
65b70fabf4
Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz
2012-03-04 13:49:42 -05:00
Matheus Kerschbaum
51254c73d0
Bug 687579 part 1: Remove globalStorage implementation. r=jst
...
Bug 687579 part 1: Remove globalStorage implementation. r=jst
2011-10-09 22:14:00 -04:00
David Mandelin
5606b83eed
Bug 732306: Remove typedef jsint, r=luke
...
--HG--
extra : rebase_source : 4d15a8514dbd698c114fa688461e533afab68ffa
2012-03-01 18:54:01 -08:00
Peter Van der Beken
df30816ccc
Fix for bug 732175 (Generate DOM list bindings that aren't controlled by the dom.new_bindings pref and remove old bindings for NodeList/HTMLCollection/HTMLOptionsCollection). r=jst.
...
--HG--
extra : rebase_source : 2eeeec059fe3467769ebcc5af01c8d472c2afbb6
2012-02-27 18:02:47 +01:00
Nicholas Nethercote
94c77b94d3
Bug 730181 (part 2) - Rename nsDOMMemoryReporter. r=khuey.
...
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
extra : rebase_source : f3aca3b1829e03e6f8a5a0607eb437322eb62f7d
2012-02-23 18:43:33 -08:00
Nicholas Nethercote
21e2aeb95c
Bug 730181 (part 1) - Merge the "dom+style" and "layout" memory reporter trees. r=khuey.
...
--HG--
extra : rebase_source : dabcf525d823639c5ff465c7a21de8ae533e82ff
2012-02-21 07:10:11 -08:00
Nicholas Nethercote
29ca78c292
Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir.
...
--HG--
extra : rebase_source : 2eb96d2f901bbe4cc1ff6dbccdec4dc4099b08fc
2012-02-01 13:58:01 -08:00
Bas Schouten
3982a4a276
Bug 651192 - Part 6: Implement the AsyncBitmapSurface drawing model support. r=roc
2012-02-16 04:30:22 +01:00
Bas Schouten
f9c0967db9
Bug 651192 - Part 2: Update interface and stub implementors which don't have support. r=roc
2012-02-16 04:08:41 +01:00
Bobby Holley
d51c4b143c
Bug 691178 - Refuse to wrap windows that are on the way out. r=jst
2012-02-29 18:09:16 -08:00
Igor Bukanov
9174f0c095
bug 730281 - remove cx argument from GC and compartment related functions. r=:billm
2012-02-29 13:18:16 +01:00
David Mandelin
60e80d55b6
Bug 730511: remove obsolete typedefs intN, uintN, r=luke
2012-02-28 15:11:11 -08:00
Ryan VanderMeulen
95e442c979
Merge m-c to inbound.
2012-05-09 18:42:00 -04:00
Brian Hackett
012002f0d2
Don't throw away JIT code for compartments in web pages displaying animations, bug 750834. r=billm
2012-05-09 14:14:10 -07:00
Ed Morley
46b7d48326
Merge mozilla-central to mozilla-inbound
2012-05-09 18:09:29 +01:00
Dale Harvey
37815321a4
Bug 719461: Added iconchange event to mozbrowser contained frames. r=jlebar
2012-05-09 09:34:16 -07:00
Peter Van der Beken
98a0ede326
Fix for bug 637099 (Remove JS_ClearScope calls on windows). r=mrbkap.
...
--HG--
extra : rebase_source : 8bdadc72a0b28c78e21758fab8f1035ee1dd9f3d
2011-03-15 12:06:39 +01:00
Peter Van der Beken
1ed9310cdc
Fix for bug 731227 (Fix script object ownership in IDBWrapperCache/IDBCursor). r=bent.
...
--HG--
extra : rebase_source : 86074980306682ebe1c4df8e09c4c2f3c51c4bf2
2012-02-27 17:52:19 +01:00
Ed Morley
0610770d3b
Merge mozilla-central to mozilla-inbound
2012-02-28 02:55:32 +00:00
Olli Pettay
13e6f580ef
Bug 730753, call CC after full GC, r=mccr8
2012-02-27 16:49:59 +02:00
Wes Johnston
937331ed01
Bug 725458 - Dispatch touch events notification, even if window isn't focused. r=felipe,smaug
2012-02-27 13:23:06 -08:00
David Mandelin
381d879c71
Bug 725550: remove obsolete typedef jsdouble, r=jwalden
2012-02-24 14:19:52 -08:00
Marco Bonardo
22d7a18fa5
Backout 4fc2f49371a8 (bug 725550) for build failures
2012-02-25 00:16:47 +01:00
David Mandelin
5be5dda12e
Bug 725550: remove obsolete typedef jsdouble, r=jwalden
...
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Jonas Sicking
64f741219e
Bug 722626: Implement DOMRequest object. r=mrbkap
2012-02-24 14:19:49 +01:00
Andrew McCreight
8acb3a3fe5
Bug 697115 - return detailed CC results. r=smaug
2012-02-23 20:16:37 -08:00
Vivien Nicolas
b33e3b32d9
Bug 729430 - Expose screen.mozEnabled, screen.mozBrightness to whitelisted applications r=jlebar
2012-02-24 02:55:44 +01:00
Neil Deakin
c20b50f24e
Bug 653230, add panels with focusable elements into the document tab navigation order, r=smaug
2012-02-23 16:02:33 -05:00
Ben Turner
309e628042
Backed out changeset 1f3643b7de2d
2012-02-23 07:09:11 -08:00
Ben Turner
8310316245
Bug 717414 - 'Telephony: Make calls array live'. r=sicking.
2012-02-23 03:48:35 -08:00
Florian Boesch
ada0d9ea9e
Bug 728354 - Implement WebGL EXT_texture_filter_anisotropic extension *proposal* - r=bjacob
...
The spec proposal for this extension is at
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/extensions/proposals/EXT_texture_filter_anisotropic/index.html
This adds a conformance test as well, that will have to be merged upstream.
2012-02-23 08:43:57 -05:00
Luke Wagner
94ca05bbf8
Bug 720289 - Back out most of bug 699974 (r=jst)
2012-02-22 19:39:29 -08:00
Ed Morley
04577d02d6
Merge mozilla-central to mozilla-inbound
2012-02-23 01:03:16 +00:00
Masatoshi Kimura
d99288b6cc
Bug 720208 - Implement DOM4 DOMException types and codes. r=smaug,ms2ger
2012-02-23 01:34:14 +01:00
Olli Pettay
a49d238948
Bug 728577 - nsGlobalWindow::mFocusedNode seems to keep documents alive longer than needed, r=Enn
2012-02-22 19:08:40 +02:00
Ed Morley
3d389274ff
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-02-21 11:59:33 +00:00
Ms2ger
79e62d65e9
Bug 726968 - Fix some dom/ build warnings; r=mounir
2012-02-21 10:34:01 +01:00
Olli Pettay
64de674dcd
Backout Bug 704623, a=dromaeo regression
...
--HG--
extra : rebase_source : ab8b467e3aac40a56b5df6d56477603dacfc7c69
2012-02-20 14:54:45 +02:00
Ed Morley
0d22afb4a6
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-02-20 12:08:28 +00:00
Chris Pearce
45a6bbad67
Bug 727303 - Add nsPIDOMWindow::SetFullScreenInteral. r=roc
2012-02-20 10:02:08 +13:00
Olli Pettay
7a6ac5442b
Bug 728547 - Increase the forgetSkippable timer value, r=mccr8
2012-02-19 20:36:06 +02:00
Robert Longson
cbc524e699
Bug 728665 - SVGTests interface missing from foreignObject elements. r=jwatt
2012-02-20 19:34:04 +00:00
Kyle Machulis
ded9d399f1
Bug 711601 - B2G Bluetooth Boiler Plate r=bent
2012-02-20 16:15:19 +01:00
Ed Morley
3b7b99a8ef
Merge mozilla-central to mozilla-inbound
2012-02-18 00:36:09 +00:00
Kyle Machulis
c892abd822
Back out bug 711601 (changeset 4c8aa2b0ca1c) due to qemu breakage
2012-02-17 15:54:27 -08:00
Bill McCloskey
6b3aa0565d
Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor)
2012-02-17 14:35:20 -08:00
Kyle Machulis
326642dc74
Bug 711601 - Bluetooth Implementation on B2G - patch 1: Boilerplate code for creating navigator.mozBluetooth object. r=bent
2012-02-15 13:37:13 -08:00
Kyle Machulis
1e21da06e6
Bug 711601 - Bluetooth Implementation on B2G - patch 1: Boilerplate code for creating navigator.mozBluetooth object. r=bent
2012-02-14 17:51:52 -08:00
Olli Pettay
ea2d04cbc4
Bug 726007 - Add telemetry probes for forgetSkippable, r=mccr8
...
--HG--
extra : rebase_source : aa3a24a53fc95c41bbe460bba732cc5e024107dc
2012-02-11 01:30:20 +02:00
Ed Morley
8d711e3c7b
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-02-10 12:14:39 +00:00
Ms2ger
e177d90345
Bug 718287 - Remove plugins ForceRedraw functions; r=bz
2012-02-10 11:04:45 +01:00
Igor Bukanov
748c9f34a7
bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
...
--HG--
extra : rebase_source : b78519db2ff008eb5143676d2db47935f0e89f45
2012-02-05 21:07:23 +01:00
Igor Bukanov
38fe4ed717
backout merge for bug 724310. r=irc
2012-02-09 21:28:22 +01:00
Igor Bukanov
e4e3433d0c
bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
...
--HG--
extra : rebase_source : c461dfc0e0e0462ab262cc01c2a771d3bb0971cc
2012-02-05 21:07:23 +01:00
Ed Morley
1bdae85d94
Backout 1ca8d5a931ac (bug 720799), e4781b684008 (bug 720795), 8a4e12d93a23 & 1fc8123a2ea4 (bug 720794) for bustage
2012-02-09 16:42:07 +00:00
Mounir Lamouri
0a1dad0aa8
Bug 720799 - Don't use mDocShell in nsScreen. r=jst
2012-02-06 16:31:16 +01:00
Mounir Lamouri
cc68184362
Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt
2012-02-09 11:29:44 +01:00
Mounir Lamouri
bf9d0c1f93
Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking
2012-02-09 16:55:54 +01:00
Mounir Lamouri
201f3042b0
Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones
2012-02-07 13:23:45 +01:00
Ed Morley
16fb8f0845
Backout 79121553f728 (bug 720799), 4a763183482f (bug 720795), e965486f4b50 & 4a7c7c6b9b11 (bug 720794) for failing to build on any platform
2012-02-09 12:06:50 +00:00
Mounir Lamouri
c3a1286f3d
Bug 720799 - Don't use mDocShell in nsScreen. r=jst
2012-02-06 16:31:16 +01:00
Mounir Lamouri
4ed35d32d6
Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt
2012-02-09 11:29:44 +01:00
Mounir Lamouri
6212b3ee0e
Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking
2012-02-09 11:29:09 +01:00
Mounir Lamouri
b8e78087de
Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones
2012-02-07 13:23:45 +01:00
Edmund Wong
e2dc3856a0
Bug 693172 - Moved all subclasses of nsDOMEventTargetWrapperCache to nsDOMEventTargetHelper and then merged the classes. r=smaug
2012-02-08 10:53:33 +08:00
Saint Wesonga
5f0154ca20
Bug 394769. Remove the additional lateness argument for timeouts and intervals. r=jst
2012-02-07 15:28:08 -05:00
Neil Deakin
6125e0566b
Bug 707382, merge nsIDOMDataTransfer and nsIDOMNSDataTransfer, r=jonas
2012-02-07 13:02:32 -05:00
Nathan Froyd
b55f7f45cf
Bug 747508 - Count PresContexts in about:memory; r=njn
2012-05-07 16:09:11 -04:00
Johnny Stenback
dbc1f7b85e
Bug 704623, part 1. Track orphan DOM nodes so that they can be reported in about:memory. r=smaug
2012-02-14 15:13:19 -08:00
Chris Leary
0b948a4184
Bug 700822: Randomize JIT VirtualAlloc location on win32, sans XP. (r=dmandelin)
...
--HG--
extra : rebase_source : 155b9cf9bb9fc6e70efd5ca4a2b20e76f3526fc5
2012-02-13 21:36:11 -08:00
Neil Deakin
a104105bd5
Bug 670317, add a focus manager flag to restrict tab navigation to the same frame, r=smaug
2012-02-13 14:24:28 -05:00
Nicholas Nethercote
610b65aebb
Bug 689583 - Add names for memory multi-reporters. r=jlebar.
...
--HG--
extra : rebase_source : adb3fb2cbbb8a07b60edd48c7dc9a3a4a4763b79
2012-02-06 17:02:59 -08:00
Igor Bukanov
3163d5e91e
bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke
2012-02-04 01:54:57 +01:00
Jonathan Kew
bd99a4284f
backout c18523b51058 (bug 716014) on suspicion of causing Win Debug reftest timeouts.
2012-02-03 14:01:35 +00:00
Olli Pettay
08dfac99be
Bug 716014 - Use CompartmentGC more often, r=billm,mccr8
2012-02-02 22:34:53 +02:00
Matt Brubeck
6eb3db5623
Merge mozilla-central and mozilla-inbound
2012-02-01 17:09:34 -08:00
Olli Pettay
cdb5d5b24a
Bug 723157 - Call forgetSkippable more often, r=mccr8
...
--HG--
extra : rebase_source : fdbca61ec4ef1d5898539f24248dd19f2767103e
2012-02-01 19:44:03 +02:00
Olli Pettay
98d9305fe1
Bug 723064 - Many debug xpcshell-tests show leaks of 1 each of Mutex, ReentrantMonitor, nsTArray_base, nsThread, nsTimerImpl, r=mccr8
...
--HG--
extra : rebase_source : 7ec508569cf5a64cea12fb5f085f4feb1f9234bd
2012-02-01 19:41:17 +02:00
Ed Morley
98b43b9ac2
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-02-01 10:55:34 +00:00
Josh Aas
1d82a76ecf
Bug 90268: Change plugin instance ownership from layout to content. r=roc r=bsmedberg
2012-01-31 16:55:54 -05:00
Ed Morley
08314b3ec8
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-01-31 10:52:29 +00:00
Olli Pettay
e297be8544
Bug 721543 - Call forgetSkippable before CC, r=mccr8
...
--HG--
extra : rebase_source : 4be50f8bcab1418c563394379abb6b4f074697b3
2012-01-30 22:06:18 +02:00
Felipe Gomes
913d59cbcb
Bug 714276. NodesFromRect should be a chrome-only API. r=smaug
...
--HG--
rename : dom/tests/mochitest/general/489127.html => dom/tests/mochitest/chrome/489127.html
rename : dom/tests/mochitest/general/test_nodesFromRect.html => dom/tests/mochitest/chrome/test_nodesFromRect.html
2012-01-27 16:54:03 -08:00
Peter Van der Beken
dbcf0d05b8
Back out 570dd369e02a, bc777c65c5ca and 12a483042e9a to fix bustage
2012-01-27 15:34:30 +01:00
Wes Johnston
89aa32c6d3
Bug 722627 - Send window with touch event listener notification. r=smaug
2012-01-31 09:48:54 -08:00
Kan-Ru Chen
92318b5737
Bug 709585 - Part 4, Dummy PowerManager DOM code. r=sicking
...
--HG--
extra : rebase_source : 57ff9f770d39551bf72f421166acbe21dc38ac23
2012-01-19 22:24:00 -05:00
Kan-Ru Chen
dcd32d8e56
Bug 709585 - Part 3, Plug mozPower into navigator object. r=sicking
...
--HG--
extra : rebase_source : 8382e9c044feca9b2e511e022a3bb4fe64ca0d4b
2012-01-19 22:24:00 -05:00
Jonathan Watt
96c744e85d
Bug 722071 - Implement array style indexing for SVGStringList. r=mrbkap.
2012-01-31 13:18:08 +00:00