Nathan Froyd
7770a497fa
Bug 803665 - convert nsGlobalWindow's timeout list to use mozilla::LinkedList; r=bz
2012-10-19 12:22:35 -04:00
Vicamo Yang
a78b5b38c7
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Nicholas Nethercote
7d3defab82
Bug 802894 - Add a memory reporter for nsEffectiveTLDService. r=jduell.
...
--HG--
extra : rebase_source : 32cdfbf060c963d6a16875af406949b8eef50453
2012-10-19 05:07:13 -07:00
Justin Lebar
19e81c3a0c
Backed out changeset e710acd6ef11 (bug 802366)
2012-10-30 21:36:32 -04:00
Justin Lebar
22489f7920
Backed out changeset a6a847452dbf (bug 802366)
2012-10-30 21:36:29 -04:00
Boris Zbarsky
a14a96d2cf
Bug 801819. Remove nsIDOMCSS2Properties and the classinfo bits for CSS declarations. r=peterv,dbaron
2012-10-30 17:14:06 -04:00
Justin Lebar
7b38d49f83
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones DONTBUILD
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
(Re-landing changeset a6a847452dbf, backed out in 5091aa6083c4, because it was originally landed with the incorrect bug number.)
2012-10-30 16:13:21 -04:00
Justin Lebar
818638f210
Backed out changeset a6a847452dbf due to incorrect bug number (should be bug 802366, but was bug 802367). DONTBUILD
2012-10-30 16:13:20 -04:00
Justin Lebar
af7297481d
Bug 802367 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
--HG--
extra : rebase_source : f3ef9475e21204da10bf39c6cca506bc08096949
2012-10-30 15:55:05 -04:00
Justin Lebar
f2b7635866
Bug 802366 - Prelude, part 2: Rename GetParentIgnoreBrowserFrame to GetSameTypeParentIgnoreBrowserAndAppBoundaries. r=bz
...
It's a long name, but at least it's clear.
--HG--
extra : rebase_source : fdf13259e0b0cc3b0f5d1760f5ced512dee2c28b
2012-10-30 15:55:05 -04:00
Kyle Huey
9a3674d80a
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 12:28:11 -07:00
Ed Morley
4144129728
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 08:26:12 -07:00
Jan Varga
3557fae1a7
Bug 786688 - Part 2: Code cleanup. r=sicking
2012-10-30 07:11:58 +01:00
Jonas Sicking
d508822340
Bug 786688 - Part 1: Add chrome only openForPrincipal() and deleteForPrincipal(). r=bent
2012-10-30 07:07:09 +01:00
Jacek Szpot
761b11160f
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Peter Van der Beken
669602b5e0
Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript). r=bz.
...
Switch from using the interface objects from the Xrays compartment to wrapping
interface objects and interface prototype objects in Xrays. Make dom binding
Xrays deal with both instance objects and interface and interface prototype
objects.
2012-10-09 20:50:27 +02:00
Bobby Holley
5dafb39b7f
Bug 803068 - Merge DirectWrapper and Wrapper. r=ejpbruel
...
--HG--
extra : rebase_source : a2b98a9585c6f7761747cfaf55684e6eeed91344
2012-10-29 16:52:53 +01:00
Gabor Krizsanits
11266e6b35
Bug 804120 - Offer a way to apply author stylesheet on a given document. r=bz
2012-10-29 12:21:15 +01:00
Ryan VanderMeulen
0e22196909
Backout b6089a8b78d3 (bug 782547) to see if it fixes Flash hangs.
2012-10-28 00:24:02 -04:00
Gregor Wagner
78d36347e1
Bug 800063 - Make GC_ALLOCATION_THRESHOLD dynamic. r=billm
2012-10-26 16:06:19 -07:00
Eitan Isaacson
dacf45fe5c
Bug 805670 - Introduce nsIDOMWindowUtils.getResolution. r=dholbert sr=smaug
2012-10-26 14:09:38 -07:00
Markus Stange
69c7d8ae0b
Bug 647216: Allow testing of MozMouseHittest window dragging. r=enndeakin
2012-10-26 15:40:11 -04:00
Masayuki Nakano
10ada00346
Bug 805306 Get rid of nsIMEStateManager::OnTextStateBlur() and nsIMEStateManager::OnTextStateFocus() r=smaug
2012-10-26 09:49:13 +09:00
Nikhil Marathe
1acf12dfe6
Bug 804174 - Inline IsCallerTrustedForWrite with IsCallerChrome. r=mccr8
2012-10-25 16:10:54 -07:00
Nikhil Marathe
9e080f6dff
Bug 804174 - Inline IsCallerTrustedForRead with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Nikhil Marathe
625fe10014
Bug 804174 - Inline IsUniversalXPConnectCapable with nsContentUtils::IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Nikhil Marathe
03b0de5c8a
Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Ryan VanderMeulen
cf897fbf06
Merge m-c to inbound.
2012-10-25 17:43:19 -04:00
Tim Taubert
c0ec641283
merge m-c to fx-team
2012-10-25 21:23:58 +02:00
Fabrice Desré
0e5313830a
Bug 782766 - [WebActivities] support blobs - Part 1: System Messages changes [r=gene]
...
--HG--
extra : rebase_source : bff9c5c4745493b652a6218a60d5840e09f7235e
2012-10-25 11:45:14 -07:00
Bobby Holley
2afd934910
Bug 797821 - Address Ms2ger's review comments. r=me
2012-10-25 17:01:09 +02:00
Bobby Holley
e5281ffe10
Bug 797821 - Hoist XPConnect-y stuff out of the compartment private and into the XPCWrappedNativeScope. r=mrbkap
...
This change means we no longer have to keep around a set of XPConnect compartments.
We keep the compartment private around for non-xpconnecty stuff like about:memory
instrumentation that needs to happen on non-xpconnect compartments.
2012-10-25 17:01:09 +02:00
Mihai Sucan
bdae941449
Bug 803964 - Cannot show window object with inspect viewer in remote web console; r=bz
2012-10-24 13:01:54 +03:00
Randell Jesup
4fda85ac3e
Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant
2012-10-24 19:21:32 -04:00
Ehsan Akhgari
fec8894f04
Backed out changeset 165208ecd591 (bug 803976)
2012-10-24 20:29:32 -04:00
Randell Jesup
d6cc9a88c2
Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant
2012-10-24 19:21:32 -04:00
Neil Deakin
e76c2ec778
Bug 782547, allow killfocus and deactivate messages to arrive in any order, remove blur suppression code, r=jmathies
2012-10-24 16:05:29 -04:00
Bobby Holley
1847a73fea
Bug 747607 - Remove GetContextFromStack. r=bz
2012-10-19 23:26:17 +02:00
Bobby Holley
fdb9000352
Bug 747607 - Don't throw when we fail to find a source document. r=bz
2012-10-19 23:26:17 +02:00
Benjamin Peterson
a7f69029d0
Bug 804404 - Set source hook in XPC initialization. r=bz
2012-10-23 18:09:00 -04:00
Chuck Lee
6a13b77a08
Bug 780142 - Rewrite MozWifiConnectionInfoEvent. r=smaug
2012-10-22 18:18:26 +08:00
Chuck Lee
c686d1e157
Bug 780142 - Rewrite WifiStatusChangeEvent. r=smaug
2012-10-22 17:17:18 +08:00
Peter Van der Beken
e4c543b77c
Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
...
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Abhishek Potnis
ad50b9e765
Bug 795511: Removed usages of PR_BIT and PR_BITMASK from the tree; r=ehsan
2012-10-20 07:31:43 +05:30
Boris Zbarsky
b598ec354c
Bug 801712 part 2. Switch ImageData to WebIDL bindings. r=peterv
2012-10-22 13:08:52 -04:00
Boris Zbarsky
ee485de6e8
Bug 776242. Remove now-unused 2d canvas classinfo. r=peterv
2012-10-22 13:08:52 -04:00
Bobby Holley
66fe81e49a
Bug 789224 - Remove miscellaneous UniversalXPConnect checks sprinkled throughout gecko. r=mrbkap
2012-10-22 08:29:55 +02:00
Ryan VanderMeulen
2afc7e809e
Merge m-c to inbound.
2012-10-18 21:44:09 -04:00
Benjamin Peterson
18527f9e0b
Bug 803358 - Remove JSOPTION_RELIMIT. r=luke
2012-10-18 21:06:42 -04:00
Doug Turner
4fd0f3eb19
Bug 793955, 802867 - DeviceStorage files returned by DeviceStorage.get() don't always have lastModifiedDate. r=bent. a=blocking-basecamp
2012-10-18 11:29:32 -07:00
Bobby Holley
dbc1d55ec8
Bug 801305 - Use the bonafide subject for the loadinfo owner. r=bz
2012-10-19 01:45:09 +02:00
Bobby Holley
3de9006dfd
Bug 802557 - Do more direct comparisons with the outer window. r=bz
2012-10-19 01:37:14 +02:00
Isaac Aggrey
c984edf823
Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan
2012-10-11 18:38:04 -05:00
Masayuki Nakano
affac42d19
Bug 705057 part.4 Emulate the behavior of nsIWidget::ResetInputState() and nsIWidget::CancelIMEComposition() if the composition is synthesized r=smaug+roc, sr=roc
2012-09-26 14:47:51 +09:00
Masayuki Nakano
8acd6ae7f5
Bug 705057 part.1 Ensure a set of composition events is fired on same content r=smaug
2012-09-26 14:47:45 +09:00
Boris Zbarsky
05fd81befd
Bug 800983. Expose a getter for default computed style. r=dbaron
...
An alternative implementation strategy is to add "default-only"
versions of ResolveStyleFor and ResolvePseudoElementStyle and then
modify FileRules to support those, or use a cut-down custom version of
FileRules for them. That would be faster, but more complicated on the
style set side. We can always make that switch if we need to, I guess.
2012-10-17 17:01:56 -04:00
Boris Zbarsky
255b11d2cd
Bug 795520. Don't fail to return a computed CSS declaration just because the style change that will give us a presshell has not been processed yet. r=dbaron
...
Another, more risky, option would be to always return a declaration
from getComputedStyle, even if we have no presshell, then just throw
(after flushing, as needed) if people try to get style info for it
just like we already do for declarations whose document loses a
presshell. This might cause compat issues on sites that can deal with
null but not exceptions, though. :(
2012-10-17 17:01:56 -04:00
Bobby Holley
e799cc3495
Bug 801241 - Properly handle |false| return false from JS_DescribeScriptedCaller. r=bz
2012-10-17 19:44:30 +02:00
Ehsan Akhgari
16f73f960a
Merge mozilla-central into mozilla-inbound
2012-10-17 13:03:16 -04:00
Olli Pettay
4239411b65
Bug 801719 - Unmark certainly alive event listener and message managers, r=mccr8
...
--HG--
extra : rebase_source : 0637559f37143a21583afe3c06d1464de8fc665b
2012-10-17 04:22:02 +03:00
Olli Pettay
6b74bf4b06
Bug 802243 - WrapperCache DOMStringMap, r=bz
...
--HG--
extra : rebase_source : e908d30b301fc478c843b9c32c1b1846606fd6d2
2012-10-17 04:09:42 +03:00
Justin Lebar
be2864ee16
Bug 801780 - Part 2: Explicitly call out long strings in about:memory. r=njn
2012-10-17 10:44:31 -04:00
Justin Lebar
70048a2062
Bug 800486 - Part 1: Dump a GC and CC log upon receiving SIGRTMIN + 2. r=mccr8,njn,cjones
2012-10-15 22:12:14 -04:00
Ms2ger
5eb45553dd
Merge m-c to m-i.
2012-10-21 10:36:35 +02:00
Ms2ger
bf2b5f9bda
Bug 796903 - Part b: Remove classinfo from DOMImplementation; r=bz
2012-10-21 09:38:41 +02:00
Mook
9fb7219b3d
bug 803746: dom: nsWindowMemoryReporter::Init() needs to hold a ref to the reporter it's setting up (r=njn)
2012-10-19 23:18:56 -07:00
Andrew McCreight
61bccd06eb
Bug 792405 - move sTop_id case in nsWindowSH::NewResolve. r=mrbkap
2012-10-20 08:14:04 -07:00
Peter Van der Beken
9af14c557f
Fix for bug 801083 (Remove old proxy-based list bindings). r=bz.
2012-10-13 14:50:24 +02:00
Oonishi Atsushi
fdba665101
Bug 801357 - Remove Get/SetProcessingScriptTag(). r=smaug
2012-10-19 21:44:13 -04:00
David Zbarsky
e1da975f5f
Backout bug 779684 for topcrash
2012-10-15 14:35:50 -04:00
Boris Zbarsky
91b717e786
Bug 799875. Make the global scope polluter work even for qualified lookups. r=jst
...
--HG--
rename : dom/base/test/test_gsp-standards.html => dom/base/test/test_gsp-qualified.html
2012-10-15 14:00:09 -04:00
Benoit Jacob
902a0dd738
Bug 800657 - Fix WebGL typedefs, WebGLintptr was wrong on 32bit systems, caused index-validation.html regression - r=bz
2012-10-15 12:57:14 -04:00
Ed Morley
057bdb3632
Merge mozilla-central to mozilla-inbound
2012-10-15 16:09:10 +01:00
Ryan VanderMeulen
409f1f5ca2
Merge inbound to m-c.
2012-10-14 16:39:23 -04:00
Ms2ger
b86e67f2b2
Bug 793244 - Part b: Convert Screen to WebIDL; r=bz
2012-10-14 09:40:11 +02:00
Ms2ger
dcd05691e8
Bug 793244 - Part a: Rewrite mozLockOrientation to match WebIDL requirements; f=mounir r=bz
2012-10-14 09:39:34 +02:00
Oonishi Atsushi
44213f6f12
Bug 754029 - Navigating from a new script tag does not add a session history entry. r=smaug, r=bz
2012-10-13 13:20:55 -04:00
Peter Van der Beken
b981fdd138
Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - fix CC traversal and wrapper preservation. r=bz.
...
--HG--
rename : dom/tests/mochitest/chrome/file_bug800817.xul => dom/tests/mochitest/chrome/file_bug799299.xul
rename : dom/tests/mochitest/chrome/test_bug800817.xul => dom/tests/mochitest/chrome/test_bug799299.xul
extra : rebase_source : bed68ffa15fe5933994c33fbd94ad2b597b5b1b9
2012-09-26 20:12:15 +02:00
Nicholas Nethercote
3ee916ea11
Bug 800703 - Rename the existing, Valgrind-based DMD as "DMDV". r=khuey.
...
--HG--
rename : xpcom/base/dmd.h => tools/dmdv/dmdv.h
2012-10-08 15:31:17 -07:00
Ed Morley
f214df21b4
Backout 3044539fec87 (bug 799465),2dbcd6d16b43 (bug 798264), f7019f73a5f0 (bug 711628), a484a3a904da, 7154061ddc00 & 7e7fc42021c1 (bug 799465) for burning
2012-10-12 14:45:38 +01:00
Peter Van der Beken
1884e4827d
Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - fix CC traversal and wrapper preservation. r=bz.
...
--HG--
extra : rebase_source : 42b0e6db4b418901f253d66e7323ba5a7cd83eea
2012-09-26 20:12:15 +02:00
Ed Morley
7bf70e9a80
Merge mozilla-central to mozilla-inbound
2012-10-12 12:22:14 +01:00
Ed Morley
ee9067e40d
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-12 11:59:59 +01:00
Olli Pettay
2cdba3cfd5
Bug 799592 nsDOMWindowUtils::AllowScriptsToClose to bypass dom.allow_scripts_to_close_windows, r=jst
2012-10-12 13:17:56 +03:00
Nicholas Cameron
7eb091b2eb
Bug 734668; remove some more canvas stuff; r=Ms2ger
...
--HG--
extra : rebase_source : 3950da41e60016c08c6eeb8ea4e8394335091471
2012-10-12 22:42:52 +13:00
Nicholas Cameron
1cccb0d825
Bug 734668; remove Thebes canvas. r=roc
...
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Ed Morley
59dd5f3931
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-11 14:46:06 +01:00
Olli Pettay
76ea6cb8e7
Bug 733305, add a way to hide XBL, r=bz, a=abillings
...
--HG--
extra : rebase_source : df18273ecdbf013138e8e6f1f4ef8082ac4f410c
2012-10-10 22:04:42 +03:00
Benoit Jacob
ee49c790ba
Bug 779611 - part 9: port WebGLActiveInfo to WebIDL bindings - r=bz
2012-10-09 14:39:49 -04:00
Trevor Saunders
000b6e89a1
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Dão Gottwald
d5afd686df
Bug 800157 - Make User Agent overrides affect navigator.userAgent in addition to the HTTP header. r=bz
...
--HG--
extra : rebase_source : dd856c03a45e9d95866fb5a95e568ae3cce67521
2012-10-12 00:56:13 +02:00
Gabor Krizsanits
c497e1461d
Bug 684601 - window.toString.call() with native JS Object; r=bz
2012-10-09 17:21:53 +02:00
Jeff Muizelaar
ddf572c122
Bug 800031. Include paint time int tab switch telemetry. r=ehsan,dao,bjcaob
...
This adds a new FX_TAB_SWITCH_TOTAL_MS that should more accurately represent
the user experience of tab switch time than FX_TAB_SWITCH_UPDATE_MS.
FX_TAB_SWITCH_UPDATE_MS is being kept because it gives a good indication of how
much time is being spent in the front end parts vs the painting parts.
This works by measuring the time between beginTabSwitch() and the first call to
LayerManager::PostPresent().
2012-10-11 13:54:27 -04:00
Ehsan Akhgari
4e49b86a4a
Merge mozilla-central into mozilla-inbound
2012-10-10 20:21:13 -04:00
Bobby Holley
b66264251d
Bug 797204 - Use JS_GetScriptedCaller instead of JSStackFrames in nsLocation. r=bz
2012-10-10 11:01:26 +02:00
Bobby Holley
7ec98ae224
Bug 797204 - Compare the document URI to the document principal, not the subject principal. r=bz
...
Per an IRC discussion with jlebar, this is what we're actually intending to
do here. Justin's original reasoning for this check is in bug 593174 comment 25.
2012-10-10 11:01:26 +02:00
Justin Lebar
aeaaf6b8e9
Bug 630242 - Reduce occurrences of "WARNING: No outer window available!" in debug mochitests by tweaking ghost window detection code. r=smaug
2012-10-09 15:17:53 -04:00
Mounir Lamouri
4f484eed65
Bug 798298 - Allow chrome JS code to know if it is being called as a result of a user input event. r=smaug
2012-10-08 12:02:57 +01:00
Panos Astithas
096e1d6297
Merge m-c to fx-team
2012-10-08 16:26:41 +03:00
Mihai Sucan
d002ffbfa9
Bug 768096 - Web Console remote debugging protocol support - Part 4.5: global actor; r=past
2012-10-06 13:29:57 +03:00
Girish Sharma
e5802af749
Bug 797066 - Make javascript.options.mem.log only log the GC/CC details in the Console. r=terrence
2012-10-03 00:57:31 +05:30
Andrea Marchesini
d20fd52c39
Bug 720083 - Workers: add support for transferable objects from HTML5 spec. r=sphink, r=bent
2012-10-03 18:19:22 -04:00
Benoit Jacob
40e567c53c
Bug 779611 - part 3 - port WebGL extensions to WebIDL bindings, refactor them - r=bz,jgilbert
2012-10-03 17:13:05 -04:00
Benoit Jacob
8da7053199
Bug 779611 - part 2 - drop old bindings for WebGLUniformLocation - r=bz
2012-10-03 17:13:05 -04:00
Benoit Jacob
df20918e33
Bug 779611 - part 1 - port WebGLShaderPrecisionFormat to WebIDL bindings - r=bz
2012-10-03 17:13:05 -04:00
Bobby Holley
9b319107a7
Bug 795275 - Introduce an explicit mechanism for determining if a script is from XBL. r=mrbkap
...
We want this right now so that we can avoid the scary warning when content Components
access happens in XBL (which we're allowing going forward). This patch would be overkill
just for that, but I also have plans to introduce a SOW-like protection of the Components
wrapper filtering policy. I can't just do the filename hack for that though, because real-
world XBL filenames might be all over the place. So let's just be safe here.
2012-10-03 11:44:18 +02:00
Mounir Lamouri
3a8f11a3f5
Bug 795725 - Remove booleans that prevents calling RemoveObserver() twice. r=smaug
2012-10-03 10:39:23 +01:00
Justin Lebar
a1db0ce78f
Back out bbf94917f0ec (bug 789392) on strong suspicion of causing assertions in debug mochitest-2 on a CLOSED TREE.
...
The assertion encountered is:
Assertion failure: !gAppContentParents || !gAppContentParents->Get(mAppManifestURL), at ../../../dom/ipc/ContentParent.cpp:774
TEST-UNEXPECTED-FAIL | /tests/dom/browser-element/mochitest/test_browserElement_oop_CloseFromOpener.html | Exited with code 11 during test run
PROCESS-CRASH | /tests/dom/browser-element/mochitest/test_browserElement_oop_CloseFromOpener.html | application crashed (minidump found)
Thread 0 (crashed)
2012-10-02 18:20:20 -04:00
Justin Lebar
91b51e08b1
Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz
2012-10-02 13:55:52 -04:00
Ed Morley
accb05d7c8
Merge mozilla-central to mozilla-inbound
2012-10-02 11:19:03 +01:00
Steven Lee
a271b4a6e0
Bug 783500 - Hook up IdleAPI to permissions manager, r=jlebar
2012-10-02 10:08:02 +01:00
Fabrice Desré
7a201418a4
Bug 782524 - window.navigator instanceof window.Window throws unexpected error [r=bz]
2012-10-01 15:30:44 -07:00
Ms2ger
c3c2f4de37
Bug 793482 - Use xpc::GetCompartmentPrivate in a few more places; r=bholley
2012-10-02 10:24:11 +02:00
Ms2ger
fc5a75281c
Bug 793314 - Remove PtrBits; r=mounir,roc
2012-10-02 10:24:11 +02:00
Ms2ger
c963f73f3b
Bug 756897 - Don't use XPCStringConvert::ReadableToJSVal directly in nsDOMClassInfo.cpp; r=bz
2012-10-02 10:24:10 +02:00
Ms2ger
a682ed1ae7
Bug 780151 - Part b: Don't hand out ThisTranslators; r=bz
2012-10-02 10:24:08 +02:00
Ms2ger
cb811c0db7
Bug 780151 - Part a: Remove unused arguments to TranslateThis; r=bz
2012-10-02 10:22:32 +02:00
Ms2ger
71ea38005c
Bug 780146 - Part d: Inline mozilla::dom::binding::DefineConstructor; r=bz
2012-10-02 10:07:36 +02:00
Ms2ger
29e93229d9
Bug 780161 - Part c: Introduce nsGlobalWindow::IndexedGetter(); r=bz
2012-10-02 10:07:36 +02:00
Ms2ger
f479d0161a
Bug 780161 - Part b: Introduce nsGlobalWindow::GetLength(); r=bz
2012-10-02 10:07:35 +02:00
Nathan Froyd
a30e1929a4
Bug 720768 - add nsDOMEventTargetHelper::DispatchTrustedEvent; r=mounir, sr=smaug
2012-09-27 16:11:31 -04:00
Peter Van der Beken
6cf9f896da
Fix for bug 791774 (Hook DOM lists up to the new DOM bindings). r=bz.
...
--HG--
extra : rebase_source : 873020edd9cd3defc932d77bd26b5d65ebf263cb
2012-06-13 17:18:30 +02:00
Kyle Huey
43e58e33c8
Bug 760331: Coalesce data for inline style across nodes. r=bz
...
This patch enables sharing of an nsAttrValue's MiscContainer between nodes for style rules. MiscContainers of type eCSSStyleRule are now refcounted (with some clever struct packing to ensure that the amount of memory allocated for MiscContainer remains unchanged on 32 and 64 bit). This infrastructure can be used to share most MiscContainer types in the future if we find advantages to sharing other types than just eCSSStyleRuley. A cache mapping strings to MiscContainers has been added to nsHTMLCSSStyleSheet. MiscContainers can be shared between nsAttrValues when one nsAttrValue is SetTo another nsAttrValue or when there is a cache hit in this cache. This patch also adds the ability to tell a style rule that it belongs to an nsHTMLCSSStyleSheet, with appropriate accessor functions to separate that from the existing case of belonging to an nsCSSStyleSheet.
The primary use case is to reduce memory use for pages that have lots of inline style attributes with the same value. This can happen easily with large pages that are automatically generated. An (admittedly pathological) testcase in Bug 686975 sees over 250 MB of memory savings with this change. Reusing the same MiscContainer for multiple nodes saves the overhead of maintaining separate copies of the string containing the serialized value of the style attribute and of creating separate style rules for each node. Eliminating duplicate style rules enables further savings in layout through style context sharing. The testcase sees the amount of memory used by style contexts go from over 250 MB to 10 KB.
Because the cache is based on the text value of the style attribute, it will not handle attributes that have different text values but are parsed into identical style rules. We also do not attempt to share MiscContainers when the node's base URI differs from the document URI. The effect of these limitations is expected to be low.
2012-09-30 09:40:24 -07:00
Mounir Lamouri
701371086e
Bug 795136 - 2/2 - Add 'network-events' permission to access network-{upload,download} events. r=sicking
2012-09-30 14:48:40 +01:00
Mounir Lamouri
8b69632999
Bug 795136 - 1/2 - Add events notifying the window if upload/download happen on the system. r=smaug sr=sicking
2012-09-30 14:47:48 +01:00
James Kitchener
27526026f8
Bug 718293 - Anchor string in nsHTMLDocumentSH::CallToGetPropMapper. r=jorendorff
2012-09-29 12:32:56 -04:00
Jonathan Kew
7c72bd5ca4
bug 674373 pt 5 - provide a fullZoom API in nsIDOMWindowUtils, and use this rather than inferring zoom from CSS to device pixel ratio. r=roc
2012-09-29 12:35:19 +01:00
Ed Morley
4bf64bd643
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-09-29 00:08:58 +01:00
Olli Pettay
6f8dfd30f6
Bug 794694 - Make sure to trace all the gray GCthings, not only wrapper, r=mccr8
2012-09-29 01:29:37 +03:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Phil Ringnalda
ec966a33be
Back out 95d3bf1b070b (bug 789392) for mochitest failure on a CLOSED TREE
2012-09-27 21:26:59 -07:00
Phil Ringnalda
350f7a9cd9
Back out b24a73b2c617 for Windows build bustage and test_xhr_timeout.html failure
2012-09-27 21:24:42 -07:00
Ryan VanderMeulen
53afb60c6f
Backout 93b39d0f7d17 for build bustage.
2012-09-27 23:25:13 -04:00
Justin Lebar
2f0bf15033
Bug 789392 - window.close() failed to trigger mozbrowserclose event on the parent frame if the child frame is not created with window.open. r=bz
2012-09-27 23:06:01 -04:00
Philipp von Weitershausen
44fd6174fa
Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug
2012-09-27 22:43:12 -07:00
Ed Morley
ea1b946dd2
Backout 52be204da1cf (bug 776663), 965397b043c0 (bug 777508), 182c763efa68 (bug 776832), a2a509184b07 & cba5ba69091f (bug 789973) for failures in test_child_process_shutdown_message.html and friends / conflicting with the backout on a CLOSED TREE
2012-09-28 14:08:04 +01:00
Andrea Marchesini
7d56919385
Bug 720083 - Workers: add support for transferable objects from HTML5 spec. r=sphink, r=bent
2012-09-27 23:05:59 -04:00
James Kitchener
eb4391dbbe
Bug 718293 - Anchor string in nsHTMLDocumentSH::CallToGetPropMapper. r=jorendorff
2012-09-27 23:05:58 -04:00
Josh Matthews
10314074af
Bug 770778 - Make TCPSocket e10s-friendly. r=bent
2012-09-24 14:53:49 -04:00
Ed Morley
aba3a8f5ef
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
cee1aa3599
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Matt Woodrow
4d096475d2
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Masatoshi Kimura
13e54c9451
Bug 764234 - Implement StringEncoding API. r=dougt,smontagu
2012-09-28 11:19:18 +01:00
Philipp von Weitershausen
aeb0b41fb3
Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug
2012-09-27 22:43:12 -07:00
Fabrice Desré
d7ec5bcbc4
Bug 790870 - Implement install/update API during installation of hosted apps - Part 2 : hosted apps implementation [r=gwagner]
2012-09-26 18:01:20 -07:00
Terrence Cole
3eda1202a1
Bug 791322 - Move Rooted to js:: namespace; r=billm
...
These should not be part of the public API.
--HG--
extra : rebase_source : 00a69ee54f06e3f557cd9ec2f3b059df10aa32df
2012-09-24 18:08:22 -07:00
Bill McCloskey
c53e57f4b2
Bug 787856 - Convert JS_GetPrototype to support lazy protos (r=bhackett)
2012-09-03 16:42:17 -07:00
Bill McCloskey
1f195f679b
Bug 787856 - Convert js::GetObjectProto to support lazy protos (r=bhackett)
2012-09-03 16:42:10 -07:00
Ed Morley
a4cb255103
Backout be95f234ff6e (bug 776832) for various mochitest-1 failures
2012-09-26 10:31:19 +01:00
Philipp von Weitershausen
4790e5734f
Bug 776832 - Add a scriptable API to assert app permissions of apps through messagemanager. r=smaug
2012-09-26 00:41:51 -07:00
Fernando Rodríguez Sela
1bd3305413
Bug 744700 - B2G 3G: Notify connection errors in the WebMobileConnection API (part 1), r=bent
2012-09-25 12:21:39 -07:00
Andrea Marchesini
90a2380a37
Bug 793311 - Crash in nsDOMFileFile::nsDOMFileFile. r=khuey
2012-09-25 11:04:25 -04:00
Andrea Marchesini
cb4376662b
Bug 792471 - Fix crash in navigator.mozSms when child process doesn't have 'sms' permission. r=mounir
2012-09-25 14:46:41 +01:00
Benoit Jacob
64b67de1c3
Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert
2012-09-25 08:49:28 -04:00
Benoit Jacob
faf08d911a
Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert
2012-09-25 08:49:28 -04:00
Jim Mathies
063a9840ee
Bug 726615 - Completely remove MozTouch event support from mc. r=smaug
2012-09-22 14:28:08 -05:00
Matt Brubeck
7cd25b03d4
Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron]
2012-08-22 13:17:20 -07:00
Ray Cheung
712265bc79
Bug 779500 - WebFM, r=jlebar,glandium sr=jonas
2012-09-19 11:23:33 -04:00
Anant Narayanan
e852b08eb1
Bug 752352: Implement getUserMediaDevices for privileged chrome code; r=smaug, r=jesup
2012-09-20 12:54:00 -07:00
Mike Habicher
5b69de0f54
Bug 776934 - Add permissions check to camera API. r=jlebar
2012-09-21 06:32:18 -04:00
Ms2ger
abf742d34d
Merge PGO-green changeset from m-i to m-c.
2012-09-20 11:51:47 +02:00
Ms2ger
451f5737e1
Bug 776243 - Unpref WebGL context bindings; r=peterv
2012-09-20 09:55:36 +02:00
Ms2ger
c5d1cae66d
Bug 744907 - Remove BlobBuilder; r=sicking
2012-09-20 09:55:36 +02:00
Andrew McCreight
5cb3a7f8fc
Bug 790034 - Remove nsIDOMWindowUtils.goOnline. r=smaug
2012-09-18 23:11:31 -07:00
Luke Wagner
ae449dc39f
Bug 792235 - rm JS_SuspendRequest (r=mrbkap)
...
--HG--
extra : rebase_source : 63484578f26b009c1c6dc555c736aaa1b71d1e4a
2012-09-04 14:43:25 -07:00
Luke Wagner
98b30c7a7b
Bug 792237 - don't expose outstanding request count, just whether a context is active (r=mccr8)
...
--HG--
extra : rebase_source : 319ebfef9b1212619f9d7b6132c326587cc7625d
2012-09-04 15:22:05 -07:00
Ehsan Akhgari
9143a2f479
Bug 791372 - Navigator::MozIsLocallyAvailable doesn't associate its channel with a load group; r=bzbarsky
2012-09-17 11:24:38 -04:00
Matt Brubeck
0e175dfa7d
Back out ae2e45d25a1a, 4f144a06d0cc, 2e80be1d7d18 (bug 716575) for Android Talos red
2012-09-17 11:11:30 -07:00
Steven Lee
a2fbdad71e
Bug 791652: Navigator::GetMozTime doesn't always set its outparam when returning success, r=jlebar
2012-09-17 08:59:00 -04:00
Matt Brubeck
a50face047
Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron]
...
--HG--
extra : rebase_source : be8a0dca63bb11418dfe9adf08c4717f8059146b
2012-08-22 13:17:20 -07:00
Peter Van der Beken
6f38d2708d
Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
...
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
Peter Van der Beken
28cd2bd9a0
Fix for bug 788532 (Add the new DOM bindings API to DOM lists) - Rename nsIDOMHTMLCollection::GetNodeAt to GetElementAt. r=bz.
...
--HG--
extra : rebase_source : 9bd26842a548580b7ea90a29d2fdba8629a70ef7
2012-09-05 17:42:58 +02:00
Makoto Kato
6025716d17
Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel
2012-09-14 16:09:52 -04:00
Ehsan Akhgari
34748565cf
Bug 579517 follow-up: Remove NSPR types that crept in
2012-09-14 14:55:01 -04:00
Ehsan Akhgari
589178c8cd
Merge IonMonkey into mozilla-inbound
2012-09-11 16:38:44 -04:00
David Anderson
76ab271ead
Merge IonMonkey to mozilla-central. a=arewefastyet
...
--HG--
rename : content/base/src/nsWebSocket.cpp => content/base/src/WebSocket.cpp
rename : content/base/src/nsWebSocket.h => content/base/src/WebSocket.h
2012-09-11 10:25:14 -07:00
Bobby Holley
ecaa32c106
Bug 788914 - Kill the XOW flag. r=mrbkap
...
There are really two questions to be asked: is the caller chrome, and does the
caller subsume the callee. We have other, more precise ways of asking both of
these questions.
2012-09-11 01:05:10 -07:00
Bobby Holley
e5ff464782
Bug 788914 - Kill partially transparent wrappers. r=mrbkap
2012-09-11 01:05:10 -07:00
Boris Zbarsky
b97e3a8dcd
Bug 787554. Don't prefix WebIDL getters names with a Get if they look like simple member access on the C++ side. r=peterv
2012-09-11 20:08:24 +01:00
Bobby Holley
4ebc250df6
Bug 784792 - Remove IsClosedOrClosing() assertion. r=bz
2012-09-11 10:23:31 -07:00
Steven Lee
5f194e2f32
Bug 714358: Time manager implementation. r=jlebar
2012-09-11 02:05:00 -04:00
Phil Ringnalda
6881ce7451
Backout 38052fd23aec, 910406b62ebc, 7b15c079564c, d7c1d26f8bc9 (bug 716575) for probable reftest and certain talos bustage on Android
2012-09-10 20:57:31 -07:00
David Anderson
09854d2b71
Merge from mozilla-central.
2012-09-10 12:16:38 -07:00
Daniel Holbert
1dc8cb22b6
Bug 789382: Change nsIScriptError methods init() and initWithWindowID() to take nsAString, rather than wchar / PRUnichar*. r=bz sr=bsmedberg
2012-09-09 16:29:12 -07:00
Mounir Lamouri
df73e890dd
Bug 787538 - Make sure the event listener is disconnected if the screen lock is rejected by the backend. r=jlebar
2012-09-11 14:15:43 +01:00
Mounir Lamouri
37e88bfeb1
Bug 784549 - lockOrientation() should accept an Array of DOMString's in addition of a DOMString. r=jlebar,khuey
2012-09-11 11:55:08 +01:00
Nathan Froyd
96439647c2
Bug 786703 - fix dom/ build failures from introducing PARALLEL_DIRS; r=glandium
2012-09-11 07:47:42 -04:00
Gabor Krizsanits
281bb59626
Bug 737003 - Offer a way to apply user agent stylesheet on a given document; r=bz
2012-09-11 13:51:10 +02:00
David Anderson
130b34a147
Merge from mozilla-central.
2012-09-07 15:17:11 -07:00
Ed Morley
f66e09e47d
Backout 5853df66d488, e8fadd906232, d787279d282c, 8c1ed6327355, 94cfcf5da7c8, 87aa103d7e87 (bug 585922) for failures in test_bug411236.html
2012-09-07 09:15:34 +01:00
Bobby Holley
50f04c89fb
Bug 788914 - Kill the XOW flag. r=mrbkap
...
There are really two questions to be asked: is the caller chrome, and does the
caller subsume the callee. We have other, more precise ways of asking both of
these questions.
2012-09-06 22:55:18 -07:00
Bobby Holley
3cf2fad500
Bug 788914 - Kill partially transparent wrappers. r=mrbkap
2012-09-06 22:55:18 -07:00
L. David Baron
6521fcaca1
Rename nsIPresShell::InitialReflow to Initialize since it doesn't actually perform reflow. (Bug 788956) r=roc
2012-09-06 21:16:09 -07:00
David Anderson
f4bf6ff039
Merge from mozilla-central.
2012-09-06 18:28:59 -07:00
Ms2ger
14092e417a
Bug 785067 - Outparamdel nsGlobalWindow::SaveWindowState; r=mrbkap
2012-09-06 09:20:26 +02:00
Ms2ger
36d93492da
Bug 782040 - Move ProgressEvent to event impl codegen; r=smaug
2012-09-06 09:14:49 +02:00
Ms2ger
adb4ada451
Bug 780161 - Part a: Deduplicate code in nsDOMWindowList; r=peterv
2012-09-06 09:14:49 +02:00
David Anderson
f6eca6c7f0
Merge from mozilla-central.
...
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
andrew.quartey@gmail.com
111e917ff3
Bug 701299 - crash nsGlobalWindow::LeaveModalState, r=smaug,khuey
2012-09-05 21:25:53 +03:00
David Anderson
25cb077cb2
Merge from mozilla-central.
...
--HG--
rename : js/src/sharkctl.cpp => js/src/devtools/sharkctl.cpp
rename : js/src/sharkctl.h => js/src/devtools/sharkctl.h
rename : js/src/MemoryMetrics.cpp => js/src/jsmemorymetrics.cpp
2012-08-29 17:57:37 -07:00
David Anderson
a77264d9fb
Merge from mozilla-central.
...
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Olli Pettay
2b0940bb2d
Bug 784259 - nsDOMMutationObserver should inherit nsWrapperCache, r=peterv
2012-08-28 18:25:19 +03:00
David Anderson
3b9fed8952
Merge from mozilla-central.
2012-08-22 16:09:24 -07:00
Matt Brubeck
7fee52908e
Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron]
2012-08-22 13:17:20 -07:00
David Anderson
a264d0ebc8
Merge from mozilla-central.
2012-08-21 15:59:12 -07:00
Brendan Dahl
c8fe46d4c6
Bug 745025 - Part 1 - Adds mozPrintCallback for canvas. r=smaug
2012-08-31 10:45:45 -07:00
Kyle Machulis
fd4e1bacaf
Bug 783426 - Async firing for FireSuccess/Error on DOMRequest; r=jonas r=khuey
2012-09-04 13:19:22 -07:00
Gina Yeh
6ba33be90b
Bug 783454 - v1: Create devicefound event with event generator, r=qdot
2012-08-21 10:54:28 +08:00
David Anderson
f427cc76fa
Merge from mozilla-central.
2012-08-16 14:04:20 -07:00
David Anderson
58e1815704
Merge from mozilla-central.
2012-08-15 14:22:26 -07:00
Ryan VanderMeulen
cbe189e0c0
Merge m-c to inbound.
2012-08-20 20:21:35 -04:00
Olli Pettay
711151788a
Bug 783856 - Autogen PopupBlockedEvent, r=jst
2012-08-20 11:26:34 -07:00
Fabrice Desré
3a6a1ec660
Bug 783825 - Fix b2g breakage after bug 553102 - Part 1 : fix mozChromeEvent events and system message manager [r=gal]
2012-08-19 12:00:19 -07:00
David Anderson
d522cd5bdc
Merge from mozilla-central.
2012-08-14 12:20:09 -07:00
Ehsan Akhgari
a09e69cee0
Merge removal of nsnull
2012-08-14 11:29:00 -04:00
Ehsan Akhgari
b668854501
Bug 626472 - Remove on last nsnull!
2012-08-14 11:28:45 -04:00
Justin Lebar
74befa949f
Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
2012-08-14 10:58:00 -04:00
David Anderson
5c045998a5
Merge from mozilla-central.
2012-08-13 13:40:42 -07:00
Jim Mathies
340d440706
Bug 781977 - Add optional pressure and source parameters to nsIDOMWindowUtils's sendMouse methods, r=roc+smaug.
2012-08-14 09:27:39 -05:00
Aryeh Gregor
a88ffe5c80
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Alexander Boldyrev
51cb65d942
Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert
2012-08-13 18:17:55 -07:00
David Anderson
ecf43e9ddf
Merge from mozilla-central.
2012-08-10 14:50:20 -07:00
David Anderson
a02edfdd65
Merge from mozilla-central.
2012-08-09 13:41:13 -07:00
Ed Morley
b5f4776008
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-09 12:46:05 +01:00
Ms2ger
243160b7d0
Bug 781058 - Part c: Fix -Werror=int-to-pointer-cast in nsDOMClassInfo; r=mounir
2012-08-09 09:20:29 +02:00
Ms2ger
a8e2a83aaf
Bug 780146 - Part e: Move all standard classes resolution code into the !ObjectIsNativeWrapper() branch; r=jst
2012-08-09 09:19:53 +02:00
Ms2ger
4b7a38938e
Bug 780146 - Part c: Don't define constructors by contract ID; r=jst
2012-08-09 09:19:48 +02:00
Ms2ger
9875b35b00
Bug 780146 - Part b: Inline nsDOMClassInfo::RegisterClassName; r=jst
2012-08-09 09:19:42 +02:00
Ms2ger
04e6619be6
Bug 780146 - Part a: Move window._content into IDL; r=jst
2012-08-09 09:16:09 +02:00
Ms2ger
b4f56e1131
Bug 780993 - Reinstate support for setting indexed properties on HTMLSelectElement to null; r=bz
2012-08-09 09:10:21 +02:00
Ms2ger
4c81482ae1
Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg
2012-08-09 09:09:42 +02:00
Neil Deakin
953592e2fe
Bug 391834, don't allow prompts in beforeunload, unload and pagehide events,r=smaug,patch mostly by gavin
2012-08-13 15:05:34 -04:00
Neil Deakin
293dbd7ee1
Bug 391834, rearrange some popup dialog code to be simpler,r=smaug,patch mostly by gavin
2012-08-13 15:03:59 -04:00
Justin Lebar
25c5e67049
Bug 777135 - Part 3: Remove nsDOMWindowUtils::GetIsApp and friends. r=mounir
...
--HG--
extra : rebase_source : ac3db88b7eb03397c4ae514624e1f3021947c396
2012-08-13 12:58:38 -04:00
Justin Lebar
9ed276e03f
Bug 777135 - Part 2: Stop using nsDOMWindowUtils::GetIsApp and friends, and instead use the relevant methods on the principal. r=mounir
...
--HG--
extra : rebase_source : fa8a153a1edc8f64b230b67f121ba5eaaf1098e6
2012-08-13 12:58:38 -04:00
David Anderson
8d084d5b2e
Merge from mozilla-central.
2012-08-08 15:09:49 -07:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Anderson
7ab97db10e
Merge from mozilla-central.
2012-08-07 15:13:28 -07:00
Phil Ringnalda
3c6bc5d2e1
Back out a9f462ea67f9 (bug 783825) for mochitest-chrome bustage
2012-08-18 21:08:40 -07:00
Fabrice Desré
74c76a1852
Bug 783825 - Fix b2g breakage after bug 553102 [r=cjones]
2012-08-18 19:50:44 -07:00
Masatoshi Kimura
11a5c57afc
Bug 783532 - Remove DOMError::CreateForDOMExceptionCode. r=sicking
2012-08-18 08:25:49 -04:00
Bill McCloskey
7ea7c080cb
Bug 783416 - Stop saving the prototype in WindowStateHolder (r=mrbkap)
2012-08-17 10:09:01 -07:00
Eric Chou
1353638291
Bug 730992 - Patch 1: The DOM boilerplate for BluetoothPairingEvent, r=qdot, sr=mrbkap
...
---
dom/base/nsDOMClassInfo.cpp | 9 +++
dom/base/nsDOMClassInfoClasses.h | 1 +
dom/bluetooth/BluetoothPairingEvent.cpp | 78 +++++++++++++++++++++++++
dom/bluetooth/BluetoothPairingEvent.h | 70 ++++++++++++++++++++++
dom/bluetooth/Makefile.in | 2 +
dom/bluetooth/nsIDOMBluetoothPairingEvent.idl | 15 +++++
6 files changed, 175 insertions(+), 0 deletions(-)
create mode 100644 dom/bluetooth/BluetoothPairingEvent.cpp
create mode 100644 dom/bluetooth/BluetoothPairingEvent.h
create mode 100644 dom/bluetooth/nsIDOMBluetoothPairingEvent.idl
2012-08-17 18:35:59 +08:00
Ms2ger
56673a53df
Merge m-c to m-i.
2012-08-07 10:30:48 +02:00
Ms2ger
94bf1722ed
Bug 743573 - Fix a number of build warnings in dom/; r=mounir
2012-08-07 09:06:29 +02:00
David Anderson
f2b01e4cbb
Merge from mozilla-central.
...
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
rename : browser/modules/WebappsInstaller.jsm => toolkit/webapps/WebappsInstaller.jsm
2012-08-06 12:44:06 -07:00
David Anderson
f0e6ae1aeb
Merge from mozilla-central.
2012-08-03 18:58:30 -07:00
Justin Lebar
e428373c2e
Bug 780507 - Expose the idle service only to certified apps (and chrome). r=mounir
...
--HG--
extra : rebase_source : e4dfcb9b3416ee4ada8e4a6fd2e7f5b37b722bfe
2012-08-06 12:10:58 -04:00
Ed Morley
81fe0db761
Merge mozilla-central and fx-team
2012-08-03 15:52:55 +01:00
Tim Taubert
75ba6077cc
Bug 728294 - Part 2 - Add last opened URI and windowID to a refCounted node's description in debug mode; r=smaug
2012-08-03 12:36:59 +02:00
Panos Astithas
6bb0f8ea56
Backout 7e5f3a8a7ca7 due to test oranges
2012-08-03 12:01:14 +03:00
Aryeh Gregor
2fbc523d8e
Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz
2012-08-06 15:02:08 +03:00
David Anderson
b1e8dd2805
Merge from mozilla-central.
2012-08-02 13:47:20 -07:00
Doug Turner
990ea4cf4e
Bug 779864 - onchange notifications of DeviceStorage should use code generator. r=smaug
2012-08-02 13:25:16 -07:00
Doug Turner
7522f03eb8
Bug 777084 - Stop returning arrays from DeviceStorage.getDeviceStorage(). r=sicking
2012-08-01 23:32:11 -07:00
Doug Turner
0cc5c1e0ee
Bug 763976 - Add onchange notifications to DeviceStorage. r=khuey
2012-08-01 23:29:34 -07:00
Ben Turner
4893263a15
Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
...
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07:00
Eric Faust
b0323e13a7
Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke)
2012-08-01 17:59:47 -07:00
David Anderson
bd3a52c3e2
Merge.
...
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-08-01 11:30:00 -07:00
Olli Pettay
99f05d8922
Bug 777278 - Implement nsIDOMStorageEvent using event implementation codegen, r=mayhemer
2012-08-01 19:17:19 +03:00
Olli Pettay
420a8918fe
Bug 777285 - Autogenerate SettingsEvent implementation, r=anygregor
...
--HG--
extra : rebase_source : 038f38a4f9efae15a3fbf4236c4456bf9cfa4577
2012-08-01 12:48:35 +03:00
Cameron McCormack
1528758ac5
Bug 649740 - Implement @supports. r=dbaron,bz
2012-08-02 10:32:12 +10:00
Kyle Machulis
564a0e174b
Bug 761511: Patch 1 - Boilerplate for BluetoothPropertyEvent DOM Object r=bent; sr=mrbkap
2012-07-31 21:49:59 -07:00
Bill McCloskey
0601c9b406
Bug 767209 - Consider changing GC slice time, or making it dynamic (r=terrence,smaug)
2012-07-31 18:39:39 -07:00
David Anderson
56597a8412
Merge from mozilla-central.
2012-07-31 17:19:41 -07:00
Mike Habicher
9e245cc9a4
Bug 740997 - ICS camera support, r=jst,gal,roc
2012-07-30 17:59:05 -04:00
David Anderson
e7f516869b
Merge from mozilla-central.
2012-07-30 13:15:39 -07:00
William Chen
16c1d45b7e
Bug 775377 - Modify nsIContentPermissionRequest to use nsIPrincipal instead of nsIURI. r=dougt+cjones
2012-07-30 10:58:26 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Eric Faust
a2abc41ee2
Bug 775788 - Modify JSFunctionSpec to accept JSJitInfos. (r=luke)
2012-08-07 22:26:19 -07:00
Boris Zbarsky
10c9046c35
Bug 747287 - Part 3: Add callback interface to allow JIT to interrogate DOM. (r=peterv)
2012-08-07 22:26:18 -07:00
Phil Ringnalda
aa790aa109
Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks
2012-08-07 22:18:27 -07:00
David Anderson
b8519fb4f1
Merge from mozilla-central.
2012-07-26 18:19:02 -07:00
David Anderson
8e99468375
Merge from mozilla-central.
2012-07-25 14:30:08 -07:00
David Anderson
8027cb08c0
Merge from mozilla-central.
2012-07-24 16:32:08 -07:00
Olli Pettay
adf35f6898
Bug 776929 - Let event implementation codegen to generate MozContactChangeEvent, r=gwagner
2012-07-24 22:28:26 +03:00
Matt Brubeck
867c5f52a6
Back out fbdb3104c9e5, d2fe54ae00a8, d378362cbe01, fe623d60bea1 (bug 769254) on suspicion of causing Windows debug mochitest-plain-3 timeouts
2012-07-23 20:30:12 -07:00
Olli Pettay
ca22625ff8
Bug 776986 - Implement MozApplicationEvent using codegenerator, r=fabrice
2012-07-26 13:23:22 +03:00
Olli Pettay
46e6a4eab4
Bug 776971 - codegen DeviceLightEvent impl, r=dougt
2012-07-26 00:26:51 +03:00
Olli Pettay
2c8046a80a
Bug 776966 - Generate DeviceOrientationEvent implementation, r=dougt
2012-07-26 00:17:14 +03:00
David Anderson
04a683031c
Merge from mozilla-central.
2012-07-23 12:37:49 -07:00
Anant Narayanan
f18740e3c5
Bug 779626: Javascript-global-constructor objects should be passed a window reference; r=mrbkap
2012-08-03 08:35:00 -07:00
Jan Varga
c1666d90e8
Bug 779684 - Move FrameIteratorFlags to nsFrameIterator class. r=roc
2012-08-06 20:27:04 -04:00
Chris Peterson
d773cf6a88
Bug 777191 - Fix warning about uninitialized variable in DefineIDBInterfaceConstants(). r=khuey
2012-07-24 16:20:26 -07:00
Ryan VanderMeulen
15565e885f
Merge m-c to inbound.
2012-07-24 22:00:07 -04:00
Nathan Froyd
e1ccd4902c
Bug 776979 - consolidate InitWithFuncCallback calls into nsTimeout::InitTimer; r=bz
2012-07-24 13:50:45 -04:00
Benjamin Peterson
323dca3e0d
Bug 776389 - Find the source of scripts from the subscript loader correctly. r=bz
2012-07-22 15:14:47 -07:00
Benjamin Peterson
99aa02e215
Bug 776283 - Decode sources properly before handing them to the JS engine. r=bz
2012-07-22 09:00:45 -07:00
David Anderson
07f7d8e680
Merge from mozilla-central.
2012-07-20 12:02:04 -07:00
Benjamin Peterson
5b841e0c17
Bug 776430 - Use the rightmost URI to account for possible multiple prefixing. r=bz
...
--HG--
extra : rebase_source : 00d3a825d0743dc5ba61a0dbe69c6f8a75b4b208
2012-07-23 19:13:18 -07:00
David Anderson
5297cee003
Merge from mozilla-central.
2012-07-19 14:34:36 -07:00
Ed Morley
6e77ed5e6e
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-07-19 13:25:37 +01:00
Marshall Culpepper
1000d1405e
Bug 736710 - Part 3: Voicemail DOM implementation classes. r=smaug
2012-07-19 11:27:19 +08:00
David Anderson
eec7db39f5
Merge from mozilla-central.
...
--HG--
rename : js/xpconnect/wrappers/CrossOriginWrapper.cpp => js/xpconnect/wrappers/WaiveXrayWrapper.cpp
rename : js/xpconnect/wrappers/CrossOriginWrapper.h => js/xpconnect/wrappers/WaiveXrayWrapper.h
2012-07-18 19:02:32 -07:00
Boris Zbarsky
71ec9e6ab2
Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst
2012-08-08 23:47:04 -04:00
Chris Jones
a6ec6f5d33
Revert e3e9040a6eb9 for M2 failures
2012-08-08 21:58:23 -07:00
Boris Zbarsky
cc86c6a349
Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst
2012-08-08 23:47:04 -04:00
Wes Johnston
e6e173db29
backout c030a8af8abd and dd0c287660e9 CLOSED TREE
2012-08-08 14:07:39 -07:00
Wes Johnston
2ca14e2ea1
Bug 780718 - Return false from DOMRequestService is preventDefault was called on events. r=sicking
2012-08-08 12:35:15 -07:00
Mounir Lamouri
18f18cdf14
Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking
2012-07-18 22:26:21 -07:00
Steve Fink
39d63b1649
Backed out changeset 060a9d9fc1c6 from a CLOSED TREE since it seems to depend on afc1cf222996 or 1bafff5720a8 that I just backed out
2012-07-19 15:45:27 -07:00
Ed Morley
fcaa2b9642
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-07-18 13:32:24 +01:00
Ms2ger
2dcc5e0037
Bug 765464 - Part b: Add an exnType to JSErrorReport; r=Waldo
2012-07-18 12:36:08 +02:00
Gene Lian
eda8d4501b
Bug 775032 - System Message Handler - Fix B2G installation bug (MOZ_SYS_MSG is not defined correctly). r=vingtetun,khuey
2012-07-23 14:53:08 +08:00
Justin Lebar
c016251907
No bug - Fixing typo in comment in nsPIDOMWindow.h. r=me DONTBUILD
2012-08-05 23:37:41 -04:00
David Zbarsky
dca3fd6326
Bug 779684: Create a stack-based nsFrameIterator class out of nsIFrameTraversal and nsIFrameEnumerator r=roc
...
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
2012-08-05 23:00:55 -04:00
Boris Zbarsky
bfbcf21932
Bug 753517 part 2.5. Include nsWrapperCacheInlines so things will actually link correctly. r=bustage
2012-08-05 22:55:18 -04:00
Boris Zbarsky
faa7bcc004
Bug 753517 part 2. Make all CSS declarations wrappercached and make them correctly handle preserved wrappers. r=mccr8,peterv,smaug,dbaron
2012-08-05 22:16:30 -04:00
Boris Zbarsky
c4ec20c33e
Bug 753517 part 1. Make GetParentObject() on CSS declarations return a useful nsINode if possible. r=peterv,dbaron
2012-08-05 22:14:52 -04:00
Tim Taubert
7e943e244f
merge m-c to fx-team
2012-08-05 11:31:54 +02:00
Ms2ger
b23a9d3dda
Bug 780165 - Part b: Use nsPIDOMWindow::GetDoc() in the special case for window.document in nsDOMClassInfo; r=smaug
2012-08-04 09:44:01 +02:00
Ms2ger
772fea0a46
Bug 780165 - Part a: Introduce nsPIDOMWindow::GetDoc(); r=smaug
2012-08-04 09:44:01 +02:00
Ms2ger
c75eefb90d
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Ms2ger
78e3c35a3c
Bug 672814 - Part a: Move nsJSRuntime::ParseVersion to nsContentUtils; r=bz
2012-08-04 09:43:59 +02:00
Mihai Sucan
2b290df88d
Bug 676722 - The output of console.log(object) isn't expandable/inspectable in the Web Console; r=rcampbell
2012-08-03 23:14:01 +03:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
f4181983a1
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
cc95f71b5c
Bug 780165 - Part b: Use nsPIDOMWindow::GetDoc() in the special case for window.document in nsDOMClassInfo; r=smaug
2012-08-04 09:44:01 +02:00
Ms2ger
9443588dc1
Bug 780165 - Part a: Introduce nsPIDOMWindow::GetDoc(); r=smaug
2012-08-04 09:44:01 +02:00
Ms2ger
27245512cd
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Ms2ger
2304ff656b
Bug 672814 - Part a: Move nsJSRuntime::ParseVersion to nsContentUtils; r=bz
2012-08-04 09:43:59 +02:00
Olli Pettay
baa63dcc1e
Bug 773945, remove nsXULElement::mPrototype, part 1, r=bz
2012-07-14 14:28:35 +03:00
Olli Pettay
bcf8849a2f
Bug 770429, do uri load check earlier to avoid running code unnecessarily, r=mrbkap
...
--HG--
extra : rebase_source : f28bd4edb4c055f5674923ffb82bae20bc502dd2
2012-07-19 10:43:33 +03:00
David Anderson
a0c566a977
Merge from mozilla-central.
2012-07-13 19:50:02 -07:00
Ehsan Akhgari
091ebe183f
Bug 749101 - Move window.performance to the new DOM bindings; r=bzbarsky
2012-07-16 21:42:18 -04:00
David Anderson
4264d447f8
Merge from mozilla-central.
2012-07-12 13:23:26 -07:00
Kyle Machulis
f8c0d08e82
Bug 740744: Asynchronous dbus events for bluetooth, Start/StopDiscovery and device event firing; r=bent sr=mrbkap
2012-07-17 20:41:54 -07:00
David Anderson
12f86be1b6
Merge from mozilla-central.
...
--HG--
rename : editor/libeditor/base/DeleteElementTxn.cpp => editor/libeditor/base/DeleteNodeTxn.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicCanvasLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicColorLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicImageLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.h
rename : js/src/jsobj.cpp => js/src/builtin/Eval.cpp
2012-07-10 19:45:14 -07:00
Joshua Cranmer
a1186c1020
Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
...
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Justin Lebar
b8231de439
Bug 771273 - Part 1: Make nsDocShell::GetSameTypeParent and friends respect <iframe mozbrowser> boundaries. r=bz
...
--HG--
extra : rebase_source : cc6f8b85ddea42cf47a382a3edb1ca6d1b5fdbc9
2012-07-23 15:59:37 -04:00
Justin Lebar
5fa16a142d
Backed out changeset cac4e8a16532 (bug 771273)
2012-07-23 15:39:03 -04:00
Justin Lebar
5d1f873d30
Bug 771273 - Part 1: Make nsDocShell::GetSameTypeParent and friends respect <iframe mozbrowser> boundaries. r=bz
2012-07-23 13:47:33 -04:00
Justin Lebar
cd5240a85c
Backed out changeset 0b4c68d39a61 (bug 771273) on a CLOSED TREE
2012-07-23 11:44:55 -04:00
Justin Lebar
ddcc540395
Bug 771273 - Part 1: Make nsDocShell::GetSameTypeParent and friends respect <iframe mozbrowser> boundaries. r=bz
2012-07-23 11:24:14 -04:00
Justin Lebar
3a202f9009
Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
...
--HG--
extra : rebase_source : 96a53a1a8b34f41bfe59f00141d598c5394cb0c1
2012-07-23 10:44:13 -04:00
Bobby Holley
3cf16c36ad
Bug 773962 - Fix up waivers after transplanting. r=mrbkap
2012-07-23 15:51:18 +02:00
Gabor Krizsanits
250d83c3f1
Bug 769273 - part4: avoiding innerization in NukeCrossCompartmentWrappers. r=bholley
2012-07-17 17:51:21 +02:00
Benoit Girard
9a5cd93c28
Bug 772665 - Add console.profile API to be used by profiling extensions. r=rcampbell
2012-07-12 16:04:37 -04:00
Wes Johnston
3dc27a7f5b
Bug 777706 - Backout new dom bindings for touchlists. r=smaug
2012-08-02 10:41:42 -07:00
Aryeh Gregor
0774a86832
Bug 776849 - Fix unused variable in nsHistory::Go; r=sicking
2012-07-27 17:03:28 +03:00
Mounir Lamouri
2cd38a0937
Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking
2012-07-18 22:26:21 -07:00
Jim Mathies
76c82f3b74
Bug 762519 - Send xpconnect stack dump output and javascript dump output to the win debugger when attached. r=ehsan, mrbkap
2012-07-19 09:58:44 -05:00
Aryeh Gregor
b82f9e8e6c
Bug 768756 part 2 - Make nsComputedDOMStyle Init infallible and merge into constructor; r=bz
2012-07-06 15:28:33 +03:00
Ehsan Akhgari
c3978f0b7a
Merge mozilla-central into mozilla-inbound
2012-07-19 08:44:19 -04:00
Jacek Caban
9b8729979c
Bug 774201 - Avoid pointer to integer cast losing precision on win64 r=billm
2012-07-19 11:58:24 +02:00
Ed Morley
c2d155cb67
Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange
2012-07-19 08:29:48 +01:00
Mounir Lamouri
42117c2ed2
Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking
2012-07-18 22:26:21 -07:00
Phil Ringnalda
9fa8d2547b
Bug 782167 - Downgrade MOZ_ASSERT(win->IsClosedOrClosing()) to an NS_ASSERTION until it stops happening so often, r=khuey
...
--HG--
extra : rebase_source : 774096aa4cfa058d1aa1a32596ae65e464e1baf9
2012-08-12 20:52:21 -07:00
Robert O'Callahan
65cf9f8b41
Bug 383026. Centralize code that converts DOM scroll offsets to/from layout scroll positions. r=dbaron
...
--HG--
extra : rebase_source : a6118e0eeea749a601e055741e35cdcd15d81e57
2012-08-10 23:17:06 +12:00
Kan-Ru Chen (陳侃如)
ba4db0438e
Bug 781353 - Hook up "power" to Permission Manager. r=jlebar
2012-08-11 19:40:43 +08:00
David Keeler
265553458e
Bug 741130 - Attach XBL bindings for html:objects in nsElementSH::PostCreate. r=bz, r=jwein
2012-08-10 09:19:24 -07:00
Ryan VanderMeulen
c7b834b885
Merge inbound to m-c.
2012-08-11 22:33:42 -04:00
Masayuki Nakano
577c0446d5
Bug 719320 part.9 Implement nsIDOMWindowUtils::sendWheelEvent() for tests r=smaug, sr=jst
2012-08-12 10:42:36 +09:00
Masayuki Nakano
5c5f0a16d2
Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst
2012-08-12 10:42:34 +09:00
Ms2ger
0ec3bd25cf
Backout changeset c77acb256aec for failing to work.
2012-08-11 18:12:54 +02:00
Honza Bambas
15daadba69
Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking
2012-08-10 22:44:11 -04:00
Phil Ringnalda
dde42936c6
Backout dcb9d2f694eb (bug 769254) for Windows test_resize_move_windows.html M3 failures
2012-08-10 18:51:29 -07:00
Bill McCloskey
951cdecc84
Bug 762580 - Fix bogus pageload responsiveness regression (r=mccr8)
2012-08-10 14:16:05 -07:00
Justin Lebar
6e6f04b273
Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
...
--HG--
rename : layout/reftests/svg/pattern-scale-01c.svg => layout/reftests/svg/pattern-scale-01a.svg
extra : rebase_source : 1e934ffb7a561255430bea738aa204afcaf92c79
2012-08-10 11:42:28 -04:00
Ed Morley
7e6bb0b90b
Backout 5d77941eba28 (bug 772726), df597d36bcbb (bug 383026), c9c7e1b9aed9 (bug 779399) for failures in meter-native-style.html
2012-08-10 14:50:43 +01:00
Robert O'Callahan
12edf877ff
Bug 383026. Centralize code that converts DOM scroll offsets to/from layout scroll positions. r=dbaron
...
--HG--
extra : rebase_source : eceb07d8d35e0dd5dd31d065cb04eec12d69a283
2012-08-10 23:17:06 +12:00
Nathan Froyd
bfff055672
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
L. David Baron
5f644a10e6
Add flush before we find our pres context, to fix media queries tests on ringmark. (Bug 753777) r=bzbarsky
2012-07-07 21:41:27 -07:00
Mihai Sucan
4bf35ecd35
Bug 770993 - ConsoleAPI.js consumes excessive amounts of memory; r=dbaron,rcampbell
2012-07-07 13:21:04 +03:00
David Anderson
57a3d866e4
Merge from mozilla-central.
2012-06-28 15:17:18 -07:00
Vivien Nicolas
72c90c5473
Bug 760102 - Authorize web applications to use fullscreen by default. r=cpearce
2012-06-28 20:54:37 +12:00
Gabor Krizsanits
7a00ad07d8
Bug 769273 - part2: Refactoring NukeChromeCrossCompartmentWrappersForGlobal. r=bholley
2012-07-17 17:36:15 +02:00
Gabor Krizsanits
99ee1c2936
Bug 769273 - part1: Prep for refactoring NukeChromeCrossCompartmentWrappersForGlobal. r=bholley
2012-07-17 15:38:53 +02:00
Ehsan Akhgari
8bb5b583b2
Bug 774556 - Remove nsIDOMWindowPerformance* XPCOM interfaces; r=bzbarsky
2012-07-16 22:44:22 -04:00
David Anderson
3fe736b4c3
Merge from mozilla-central.
2012-06-27 11:00:48 -07:00
Aryeh Gregor
0793fb74ed
Bug 778681 part 6 - Fix some misuses of bool as nsresult; r=bz
2012-07-27 16:51:50 +03:00
Neil Deakin
2e9eced59a
Bug 743975 - use a widget listener interface instead of the remaining events that don't need an event, r=tn,jmathies,netzen,smichaud,karlt,blassey,chrisjones
2012-08-15 14:52:42 -04:00
Aryeh Gregor
8bb4aff89c
Bug 782252 - Cast NS_ENUMERATOR_FALSE to nsresult; r=ehsan
2012-08-07 17:54:44 +03:00
Andrew McCreight
fbe861f103
Bug 749366 - Remove mostly bogus size arg from CC callbacks. r=smaug
2012-08-27 10:41:04 -07:00
Andrea Marchesini
34c7f9dc7b
Bug 784190 - Fix Cycle collection casting in DOMRequest, r=mccr8
2012-08-27 09:44:25 -07:00
Vicamo Yang
cee90e8d4f
Bug 579517 follow-up: Remove NSPR types that crept in
2012-08-27 23:31:35 +08:00
Philipp von Weitershausen
d158b5747c
Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
...
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Gabor Krizsanits
c1beee85b1
Bug 738244 - Supporting DOM specific collection properties through xray wrappers; r=mrbkap
2012-08-27 15:06:34 +02:00
Benjamin Peterson
74a1052eb5
Bug 781035 - Use the C++ JS compile API in more places. r=jorendorff sr=jst
2012-08-27 08:04:37 -04:00
Andrew McCreight
fe0f72dfe5
Bug 765527. r=mrbkap
2012-08-25 14:56:45 -07:00
Michael Comella
5f0b208a77
Bug 784016 - Bug fix for patch in bug 781977 - correct misordered params. r=jimm
2012-08-25 11:04:14 -05:00
Ryan VanderMeulen
31b5d3335d
Merge m-c to inbound.
2012-08-24 16:18:09 -04:00
Olli Pettay
db4a617dfb
Bug 785228 - nsGlobalWindow is described twice during traverse, r=mccr8
...
--HG--
extra : rebase_source : 3ebb0df0d4d20618d03bd9f7be2fedd54d6ef843
2012-08-23 14:15:39 -07:00
Ben Turner
7370f46298
Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
...
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Kyle Machulis
8a2e15d8be
Backout of f98bea38e654 due to mochi bustage
2012-08-23 12:01:27 -07:00
Kyle Machulis
76c7b95997
Backout of c129811b87ef due to mochi bustage
2012-08-23 12:00:51 -07:00
Kyle Machulis
a33056cfaf
Bug 783426: Patch 2 - Async DOMRequest Firing Tests; r=sicking
2012-08-23 09:52:54 -07:00
Kyle Machulis
1a157c8765
Bug 783426: Patch 1 - Async DOMRequest Firing; r=sicking
2012-08-23 09:52:29 -07:00
Rafael Ávila de Espíndola
0d45bdcb77
Bug 784889 - Use nullptr in a function that returns a pointer. r=ms2ger.
2012-08-23 09:56:10 -04:00
Nathan Froyd
1a9bf63360
Bug 783357 - part 1: add XPIDL_FLAGS to make idl dependencies more explicit; r=khuey
2012-08-24 16:01:30 -04:00
Jan Varga
4d3965f026
Bug 763854 - Check file references (cleanup stored files) only when needed. r=bent
2012-08-24 11:51:33 -07:00
Kyle Huey
8443a7a8f1
Bug 783162: Make mapped attributes hold the image alive. r=bz
...
The nsCSSValue in nsGenericHTMLElement::MapBackgroundInto is a temporary. This causes a problem after Bug 697230 landed, because the nsCSSValue::Image we put into that value is destroyed once we're done doing style stuff. Previously the nsImageLoader would grab the request off the nsCSSValue::Image and hold it alive. Bug 697230 changed the behavior here; now when the nsCSSValue::Image is destroyed it tells the image loader to drop the request. The result is that all the references to the request are dropped and the frame is never told it has a background.
The solution is to keep the nsCSSValue::Image alive longer. This patch adds two new types of nsAttrValue. The first is an nsCSSValue::URL. A ParseBackgroundAttribute method is added on nsGenericHTMLElement that the relevant elements (body/td/th/table/tr/tbody/thead/tfoot) call that parses background into an nsCSSValue::URL. The second is an nsCSSValue::Image. nsGenericHTMLElement::MapBackgroundInto attempts to convert the nsCSSValue::URL into an nsCSSValue::Image by kicking off the image load. The result is that image loads are only started when the element is actually visible. This also mirrors the way background-image works. This also allows us to fix two longstanding bugs in this code. Since MapBackgroundInto doesn't have a pointer to the actual element, it relied on grabbing the principal of the document. Now we can grab the principal of the node in ParseBackgroundAttribute. MapBackgroundInto also has no way to get at the element's base URI (to honor xml:base), which is now possible in ParseBackgroundAttribute.
nsCSSValue::[Image|URL] have also been moved to be mozilla::css::[Image|URL]Value. nsAttrValue.h is included in external linkage code, so it can't include nsCSSValue.h to get the declarations of nsCSSValue::[Image|URL], and nested classes can't be forward declared. Moving the classes to a namespace solves the problem.
Finally some old inoperative quirks mode code was removed. This code has done nothing since Bug 273078 was landed in 2004.
2012-08-24 10:50:49 -07:00
Andrew McCreight
c063a3e54c
Bug 750570, part 4 - Switch most native CC classes to use the purple buffer. r=smaug
...
This patch actually converts over most of the existing native CC classes
to use the participant. This is done by converting them to use
the newly generalized nsCycleCollectingAutoRefCnt instead of their usual
ref count.
This is mostly a matter of defining new macros defining AddRef() and Release()
for native CC classes with the CC ref count.
nsTimeout is left as a legacy native CC class because it is a weird class,
but hopefully eventually it too can be converted over. See bug 774874.
2012-08-24 09:50:06 -07:00
Matt Brubeck
cdd4612f38
Back out 670c8a2695b3 (bug 771354), 134557d57e6e 4ad52e488977 (bug 774607), and...
...
036eb8c2a08a d4d36e3b948f 35334e820632 6bd07fd5147d d49e7c0d762c 407f19deb14c d84551808abb (bug 774633)
on a CLOSED TREE
2012-08-23 21:34:27 -07:00
Bill McCloskey
6fc5c2649e
Bug 762199 - Don't use tinyids in indexeddbg (r=Waldo)
2012-06-26 13:35:34 -07:00
Nicholas Nethercote
50cc826df5
Bug 711130 (part 1) - Fix "window-objects" measurement inconsistency. r=nfroyd.
...
--HG--
extra : rebase_source : d58788d8d47eeac7d4ecac85eb016c5fd6c4b739
2012-06-25 17:06:50 -07:00
Jonathan Watt
970e60a384
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ryan VanderMeulen
be774885eb
Merge m-c to inbound.
2012-07-20 17:37:53 -04:00
Olli Pettay
1e45749cb0
Bug 765163, add missing #include, r=bustage
2012-07-20 20:40:13 +03:00