Bobby Holley
3a93472e80
Bug 789224 - Remove miscellaneous UniversalXPConnect checks sprinkled throughout gecko. r=mrbkap
2012-10-22 08:29:55 +02:00
Ryan VanderMeulen
0744ad5c35
Merge m-c to inbound.
2012-10-18 21:44:09 -04:00
Benjamin Peterson
c1b83b29cb
Bug 803358 - Remove JSOPTION_RELIMIT. r=luke
2012-10-18 21:06:42 -04:00
Doug Turner
4a040cfbad
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
8c4243e6ae
Bug 801305 - Use the bonafide subject for the loadinfo owner. r=bz
2012-10-19 01:45:09 +02:00
Bobby Holley
c4465f5bd1
Bug 802557 - Do more direct comparisons with the outer window. r=bz
2012-10-19 01:37:14 +02:00
Isaac Aggrey
9e41ce2fa0
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
2c502bf9dd
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
1cc0ce4f3e
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
d3f9d1f8ce
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
6a79d7f055
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
52f96099f5
Bug 801241 - Properly handle |false| return false from JS_DescribeScriptedCaller. r=bz
2012-10-17 19:44:30 +02:00
Ehsan Akhgari
f5557dac78
Merge mozilla-central into mozilla-inbound
2012-10-17 13:03:16 -04:00
Olli Pettay
5f565abd6d
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
041a32f94d
Bug 802243 - WrapperCache DOMStringMap, r=bz
...
--HG--
extra : rebase_source : e908d30b301fc478c843b9c32c1b1846606fd6d2
2012-10-17 04:09:42 +03:00
Justin Lebar
29781b32ab
Bug 801780 - Part 2: Explicitly call out long strings in about:memory. r=njn
2012-10-17 10:44:31 -04:00
Justin Lebar
b1de9b46c6
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
191bb9812c
Merge m-c to m-i.
2012-10-21 10:36:35 +02:00
Ms2ger
3accfeaf06
Bug 796903 - Part b: Remove classinfo from DOMImplementation; r=bz
2012-10-21 09:38:41 +02:00
Mook
7bacae6cd6
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
19fc718ed2
Bug 792405 - move sTop_id case in nsWindowSH::NewResolve. r=mrbkap
2012-10-20 08:14:04 -07:00
Peter Van der Beken
e86cd8818c
Fix for bug 801083 (Remove old proxy-based list bindings). r=bz.
2012-10-13 14:50:24 +02:00
Oonishi Atsushi
7da1007b20
Bug 801357 - Remove Get/SetProcessingScriptTag(). r=smaug
2012-10-19 21:44:13 -04:00
David Zbarsky
e584460f90
Backout bug 779684 for topcrash
2012-10-15 14:35:50 -04:00
Boris Zbarsky
a143a11529
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
3028dc5147
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
f87439d0bc
Merge mozilla-central to mozilla-inbound
2012-10-15 16:09:10 +01:00
Ryan VanderMeulen
1598bd50f0
Merge inbound to m-c.
2012-10-14 16:39:23 -04:00
Ms2ger
0ad78542ff
Bug 793244 - Part b: Convert Screen to WebIDL; r=bz
2012-10-14 09:40:11 +02:00
Ms2ger
770a639202
Bug 793244 - Part a: Rewrite mozLockOrientation to match WebIDL requirements; f=mounir r=bz
2012-10-14 09:39:34 +02:00
Oonishi Atsushi
34863fccc0
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
86dcdcb94b
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
e37c1e657a
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
f63fc6d67a
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
cca0b00f72
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
58b2b67062
Merge mozilla-central to mozilla-inbound
2012-10-12 12:22:14 +01:00
Ed Morley
730f7084d0
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-12 11:59:59 +01:00
Olli Pettay
503b4bccb8
Bug 799592 nsDOMWindowUtils::AllowScriptsToClose to bypass dom.allow_scripts_to_close_windows, r=jst
2012-10-12 13:17:56 +03:00
Nicholas Cameron
f22b204322
Bug 734668; remove some more canvas stuff; r=Ms2ger
...
--HG--
extra : rebase_source : 3950da41e60016c08c6eeb8ea4e8394335091471
2012-10-12 22:42:52 +13:00
Nicholas Cameron
ab7f6035bf
Bug 734668; remove Thebes canvas. r=roc
...
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Ed Morley
7a45853856
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-11 14:46:06 +01:00
Olli Pettay
0f6bf5eed5
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
646cd8342f
Bug 779611 - part 9: port WebGLActiveInfo to WebIDL bindings - r=bz
2012-10-09 14:39:49 -04:00
Trevor Saunders
e2db6e1941
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
DĂŁo Gottwald
65e7938e9c
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
f8f14a142c
Bug 684601 - window.toString.call() with native JS Object; r=bz
2012-10-09 17:21:53 +02:00
Jeff Muizelaar
07b8aa36d6
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
60c0879cc1
Merge mozilla-central into mozilla-inbound
2012-10-10 20:21:13 -04:00
Bobby Holley
28ec67ce73
Bug 797204 - Use JS_GetScriptedCaller instead of JSStackFrames in nsLocation. r=bz
2012-10-10 11:01:26 +02:00
Bobby Holley
e755bb3521
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
66c20930d8
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
059f7af644
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
3c7fcfb60b
Merge m-c to fx-team
2012-10-08 16:26:41 +03:00
Mihai Sucan
7e49c9d89c
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
960afdc80c
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
9f37766b0b
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
5d519163f1
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
08fc05d7cf
Bug 779611 - part 2 - drop old bindings for WebGLUniformLocation - r=bz
2012-10-03 17:13:05 -04:00
Benoit Jacob
545b47b406
Bug 779611 - part 1 - port WebGLShaderPrecisionFormat to WebIDL bindings - r=bz
2012-10-03 17:13:05 -04:00
Bobby Holley
94833f2614
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
8bda11ca6e
Bug 795725 - Remove booleans that prevents calling RemoveObserver() twice. r=smaug
2012-10-03 10:39:23 +01:00
Justin Lebar
aa5d8bf209
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
d332c4aac6
Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz
2012-10-02 13:55:52 -04:00
Ed Morley
d078159b72
Merge mozilla-central to mozilla-inbound
2012-10-02 11:19:03 +01:00
Steven Lee
a130bb5e9f
Bug 783500 - Hook up IdleAPI to permissions manager, r=jlebar
2012-10-02 10:08:02 +01:00
Fabrice Desré
bc91d34bfb
Bug 782524 - window.navigator instanceof window.Window throws unexpected error [r=bz]
2012-10-01 15:30:44 -07:00
Ms2ger
37c3d933eb
Bug 793482 - Use xpc::GetCompartmentPrivate in a few more places; r=bholley
2012-10-02 10:24:11 +02:00
Ms2ger
a77a250988
Bug 793314 - Remove PtrBits; r=mounir,roc
2012-10-02 10:24:11 +02:00
Ms2ger
3f22f8d11b
Bug 756897 - Don't use XPCStringConvert::ReadableToJSVal directly in nsDOMClassInfo.cpp; r=bz
2012-10-02 10:24:10 +02:00
Ms2ger
db5221a631
Bug 780151 - Part b: Don't hand out ThisTranslators; r=bz
2012-10-02 10:24:08 +02:00
Ms2ger
d19a1ada0a
Bug 780151 - Part a: Remove unused arguments to TranslateThis; r=bz
2012-10-02 10:22:32 +02:00
Ms2ger
ea90d0c98b
Bug 780146 - Part d: Inline mozilla::dom::binding::DefineConstructor; r=bz
2012-10-02 10:07:36 +02:00
Ms2ger
c258b6f47a
Bug 780161 - Part c: Introduce nsGlobalWindow::IndexedGetter(); r=bz
2012-10-02 10:07:36 +02:00
Ms2ger
a62cc100d1
Bug 780161 - Part b: Introduce nsGlobalWindow::GetLength(); r=bz
2012-10-02 10:07:35 +02:00
Nathan Froyd
3c013d928f
Bug 720768 - add nsDOMEventTargetHelper::DispatchTrustedEvent; r=mounir, sr=smaug
2012-09-27 16:11:31 -04:00
Peter Van der Beken
b5b5988316
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
1ccfbe810b
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
e00ceb10bd
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
990268d0ba
Bug 795136 - 1/2 - Add events notifying the window if upload/download happen on the system. r=smaug sr=sicking
2012-09-30 14:47:48 +01:00
James Kitchener
ec00d0cbc3
Bug 718293 - Anchor string in nsHTMLDocumentSH::CallToGetPropMapper. r=jorendorff
2012-09-29 12:32:56 -04:00
Jonathan Kew
a85e67486b
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
bb53ce0424
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-09-29 00:08:58 +01:00
Olli Pettay
fe6fc67766
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
0cc4b12d36
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Phil Ringnalda
dc2b0d6620
Back out 95d3bf1b070b (bug 789392) for mochitest failure on a CLOSED TREE
2012-09-27 21:26:59 -07:00
Phil Ringnalda
4201311ebf
Back out b24a73b2c617 for Windows build bustage and test_xhr_timeout.html failure
2012-09-27 21:24:42 -07:00
Ryan VanderMeulen
31282751fb
Backout 93b39d0f7d17 for build bustage.
2012-09-27 23:25:13 -04:00
Justin Lebar
1b67e4785c
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
ffc72e3d22
Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug
2012-09-27 22:43:12 -07:00
Ed Morley
ce04490c89
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
7e21557bd5
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
be7032627b
Bug 718293 - Anchor string in nsHTMLDocumentSH::CallToGetPropMapper. r=jorendorff
2012-09-27 23:05:58 -04:00
Josh Matthews
a0b3faca52
Bug 770778 - Make TCPSocket e10s-friendly. r=bent
2012-09-24 14:53:49 -04:00
Ed Morley
5a3b322459
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
1d675c61d6
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Matt Woodrow
49d4c24594
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Masatoshi Kimura
f1e6b8f196
Bug 764234 - Implement StringEncoding API. r=dougt,smontagu
2012-09-28 11:19:18 +01:00
Philipp von Weitershausen
7775e8c877
Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug
2012-09-27 22:43:12 -07:00
Fabrice Desré
1e24fe7790
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
185355684f
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
f13e8e29d9
Bug 787856 - Convert JS_GetPrototype to support lazy protos (r=bhackett)
2012-09-03 16:42:17 -07:00
Bill McCloskey
83bc2a1a11
Bug 787856 - Convert js::GetObjectProto to support lazy protos (r=bhackett)
2012-09-03 16:42:10 -07:00
Ed Morley
dce1c2e5c4
Backout be95f234ff6e (bug 776832) for various mochitest-1 failures
2012-09-26 10:31:19 +01:00
Philipp von Weitershausen
7d83192a58
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
cf29313e18
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
54ca221582
Bug 793311 - Crash in nsDOMFileFile::nsDOMFileFile. r=khuey
2012-09-25 11:04:25 -04:00
Andrea Marchesini
51ea7a36ad
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
e87660d62e
Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert
2012-09-25 08:49:28 -04:00
Benoit Jacob
8a05af4222
Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert
2012-09-25 08:49:28 -04:00
Jim Mathies
9418b94d60
Bug 726615 - Completely remove MozTouch event support from mc. r=smaug
2012-09-22 14:28:08 -05:00
Matt Brubeck
7eeb4d9731
Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron]
2012-08-22 13:17:20 -07:00
Ray Cheung
655d78e09d
Bug 779500 - WebFM, r=jlebar,glandium sr=jonas
2012-09-19 11:23:33 -04:00
Anant Narayanan
ef6ae63b3f
Bug 752352: Implement getUserMediaDevices for privileged chrome code; r=smaug, r=jesup
2012-09-20 12:54:00 -07:00
Mike Habicher
4f1885c23e
Bug 776934 - Add permissions check to camera API. r=jlebar
2012-09-21 06:32:18 -04:00
Ms2ger
5b4f3272e0
Merge PGO-green changeset from m-i to m-c.
2012-09-20 11:51:47 +02:00
Ms2ger
33b350e909
Bug 776243 - Unpref WebGL context bindings; r=peterv
2012-09-20 09:55:36 +02:00
Ms2ger
7fec2d16ba
Bug 744907 - Remove BlobBuilder; r=sicking
2012-09-20 09:55:36 +02:00
Andrew McCreight
34bc9cedd3
Bug 790034 - Remove nsIDOMWindowUtils.goOnline. r=smaug
2012-09-18 23:11:31 -07:00
Luke Wagner
e61972c84b
Bug 792235 - rm JS_SuspendRequest (r=mrbkap)
...
--HG--
extra : rebase_source : 63484578f26b009c1c6dc555c736aaa1b71d1e4a
2012-09-04 14:43:25 -07:00
Luke Wagner
0ebf25f2e4
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
3b72ea4cc8
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
2752ed5097
Back out ae2e45d25a1a, 4f144a06d0cc, 2e80be1d7d18 (bug 716575) for Android Talos red
2012-09-17 11:11:30 -07:00
Steven Lee
445cac6560
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
40eb8ac227
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
d21c8a19b6
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
73a519e185
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
909aba1eb8
Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel
2012-09-14 16:09:52 -04:00
Ehsan Akhgari
a996a4a62d
Bug 579517 follow-up: Remove NSPR types that crept in
2012-09-14 14:55:01 -04:00
Ehsan Akhgari
b1bf75409d
Merge IonMonkey into mozilla-inbound
2012-09-11 16:38:44 -04:00
David Anderson
7397353ad1
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
69477ff25f
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
395ad03437
Bug 788914 - Kill partially transparent wrappers. r=mrbkap
2012-09-11 01:05:10 -07:00
Boris Zbarsky
2268aac36b
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
906fbf0680
Bug 784792 - Remove IsClosedOrClosing() assertion. r=bz
2012-09-11 10:23:31 -07:00
Steven Lee
16761404d2
Bug 714358: Time manager implementation. r=jlebar
2012-09-11 02:05:00 -04:00
Phil Ringnalda
2254d48838
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
37976f8d18
Merge from mozilla-central.
2012-09-10 12:16:38 -07:00
Daniel Holbert
f8dfa24152
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
f5b616f8a3
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
e77bfd51e0
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
9b227bf10d
Bug 786703 - fix dom/ build failures from introducing PARALLEL_DIRS; r=glandium
2012-09-11 07:47:42 -04:00
Gabor Krizsanits
0156aa35d9
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
300951e360
Merge from mozilla-central.
2012-09-07 15:17:11 -07:00
Ed Morley
8cf4ffc2ea
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
263394dbe4
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
4a03556c3e
Bug 788914 - Kill partially transparent wrappers. r=mrbkap
2012-09-06 22:55:18 -07:00
L. David Baron
253be7632f
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
cb5e844dd9
Merge from mozilla-central.
2012-09-06 18:28:59 -07:00
Ms2ger
bd32566761
Bug 785067 - Outparamdel nsGlobalWindow::SaveWindowState; r=mrbkap
2012-09-06 09:20:26 +02:00
Ms2ger
348aa6b524
Bug 782040 - Move ProgressEvent to event impl codegen; r=smaug
2012-09-06 09:14:49 +02:00
Ms2ger
d8a746617b
Bug 780161 - Part a: Deduplicate code in nsDOMWindowList; r=peterv
2012-09-06 09:14:49 +02:00
David Anderson
7b70ee195a
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
f78e495142
Bug 701299 - crash nsGlobalWindow::LeaveModalState, r=smaug,khuey
2012-09-05 21:25:53 +03:00
David Anderson
59aad86af4
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
9e81520770
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
976f2acfb6
Bug 784259 - nsDOMMutationObserver should inherit nsWrapperCache, r=peterv
2012-08-28 18:25:19 +03:00
David Anderson
fd50a14c90
Merge from mozilla-central.
2012-08-22 16:09:24 -07:00
Matt Brubeck
48d9a346ee
Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron]
2012-08-22 13:17:20 -07:00
David Anderson
f3d3148ca7
Merge from mozilla-central.
2012-08-21 15:59:12 -07:00
Brendan Dahl
e5b3162f1a
Bug 745025 - Part 1 - Adds mozPrintCallback for canvas. r=smaug
2012-08-31 10:45:45 -07:00
Kyle Machulis
7299d00314
Bug 783426 - Async firing for FireSuccess/Error on DOMRequest; r=jonas r=khuey
2012-09-04 13:19:22 -07:00
Gina Yeh
2326b507ac
Bug 783454 - v1: Create devicefound event with event generator, r=qdot
2012-08-21 10:54:28 +08:00
David Anderson
5d981ba8fe
Merge from mozilla-central.
2012-08-16 14:04:20 -07:00
David Anderson
f29decd8b9
Merge from mozilla-central.
2012-08-15 14:22:26 -07:00
Ryan VanderMeulen
f1e04816ea
Merge m-c to inbound.
2012-08-20 20:21:35 -04:00
Olli Pettay
e1b92aea91
Bug 783856 - Autogen PopupBlockedEvent, r=jst
2012-08-20 11:26:34 -07:00
Fabrice Desré
13d2c286fb
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
3d58883052
Merge from mozilla-central.
2012-08-14 12:20:09 -07:00
Ehsan Akhgari
b457a9ddf0
Merge removal of nsnull
2012-08-14 11:29:00 -04:00
Ehsan Akhgari
3c916ab848
Bug 626472 - Remove on last nsnull!
2012-08-14 11:28:45 -04:00
Justin Lebar
adfc4e45ba
Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
2012-08-14 10:58:00 -04:00
David Anderson
0e509b2165
Merge from mozilla-central.
2012-08-13 13:40:42 -07:00
Jim Mathies
94824b0433
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
e2dd9c2028
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Alexander Boldyrev
f61c980db5
Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert
2012-08-13 18:17:55 -07:00
David Anderson
da15732de3
Merge from mozilla-central.
2012-08-10 14:50:20 -07:00
David Anderson
018c2a9a6a
Merge from mozilla-central.
2012-08-09 13:41:13 -07:00
Ed Morley
991653b152
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-09 12:46:05 +01:00
Ms2ger
c2bbcc10c0
Bug 781058 - Part c: Fix -Werror=int-to-pointer-cast in nsDOMClassInfo; r=mounir
2012-08-09 09:20:29 +02:00
Ms2ger
c1ce519fa3
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
0df17d5667
Bug 780146 - Part c: Don't define constructors by contract ID; r=jst
2012-08-09 09:19:48 +02:00
Ms2ger
a7f199e451
Bug 780146 - Part b: Inline nsDOMClassInfo::RegisterClassName; r=jst
2012-08-09 09:19:42 +02:00
Ms2ger
198f4a2ae7
Bug 780146 - Part a: Move window._content into IDL; r=jst
2012-08-09 09:16:09 +02:00
Ms2ger
b3d4060c1a
Bug 780993 - Reinstate support for setting indexed properties on HTMLSelectElement to null; r=bz
2012-08-09 09:10:21 +02:00
Ms2ger
8fcd7f8f16
Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg
2012-08-09 09:09:42 +02:00
Neil Deakin
1a89394d0d
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
afbbe47319
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
446f9d033a
Bug 777135 - Part 3: Remove nsDOMWindowUtils::GetIsApp and friends. r=mounir
...
--HG--
extra : rebase_source : ac3db88b7eb03397c4ae514624e1f3021947c396
2012-08-13 12:58:38 -04:00
Justin Lebar
8ae5fcb7ff
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
88429440a3
Merge from mozilla-central.
2012-08-08 15:09:49 -07:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Anderson
9f806b608d
Merge from mozilla-central.
2012-08-07 15:13:28 -07:00
Phil Ringnalda
a08361ddc1
Back out a9f462ea67f9 (bug 783825) for mochitest-chrome bustage
2012-08-18 21:08:40 -07:00
Fabrice Desré
26a7a25700
Bug 783825 - Fix b2g breakage after bug 553102 [r=cjones]
2012-08-18 19:50:44 -07:00
Masatoshi Kimura
db1897a657
Bug 783532 - Remove DOMError::CreateForDOMExceptionCode. r=sicking
2012-08-18 08:25:49 -04:00
Bill McCloskey
dde823bad5
Bug 783416 - Stop saving the prototype in WindowStateHolder (r=mrbkap)
2012-08-17 10:09:01 -07:00
Eric Chou
987b293c10
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
aad4f39f58
Merge m-c to m-i.
2012-08-07 10:30:48 +02:00
Ms2ger
c861fd0028
Bug 743573 - Fix a number of build warnings in dom/; r=mounir
2012-08-07 09:06:29 +02:00
David Anderson
02b557e2ee
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