Olli Pettay
6767d0a1a8
bug 789919, (snow-white) make addref/release of CCable objects faster by removing indirect refcnt increase/decrease, r=mccr8, test changes r=ehsan
...
--HG--
extra : rebase_source : 2a3b22425c14d6daedc91d62a652c34431acd2fb
2013-07-09 13:30:58 -04:00
Kyle Huey
afae5b1108
Bug 885866: Separate deferred finalization from XPConnect so we can use it off the main thread. r=mccr8, peterv, bsmedberg, jorendorff
2013-07-09 07:28:15 -07:00
Blake Kaplan
ecf2b59e9a
Bug 891088 - Rename nsXBLChildrenElement -> mozilla::dom::XBLChildrenElement. r=peterv
...
--HG--
rename : content/xbl/src/nsXBLChildrenElement.cpp => content/xbl/src/XBLChildrenElement.cpp
rename : content/xbl/src/nsXBLChildrenElement.h => content/xbl/src/XBLChildrenElement.h
2013-07-01 15:09:37 -07:00
Ryan VanderMeulen
2d21e8fd70
Backed out changeset 4903ca450b3f (bug 890081) for widespread mochitest orange.
...
CLOSED TREE
2013-07-08 15:19:30 -04:00
Bobby Holley
a000e74cd1
Bug 890081 - Make 'document' permanent in nsIDocument::WrapObject. r=bz
2013-07-08 10:31:21 -07:00
Bobby Holley
fb8f42b563
Bug 867486 - Remove |Components| from content sandboxes. r=gabor
2013-07-08 10:05:31 -07:00
Jacek Caban
f4595d63e4
Bug 816343 - Add querySelector* to *Element/DocumentFragment/Document.idl r=bz
2013-07-08 14:09:18 +02:00
Randy Lin
fcd0ce74f3
Bug 803414 - Part 4: Audio Recording - Web API & Implementation. r=roc
2013-07-05 09:50:25 +08:00
Randy Lin
2d6a813044
Bug 803414 - Part 2: Add DOMTemporaryFileBlob and TemporaryFileInputStream. r=roc
2013-07-02 11:00:37 +08:00
Birunthan Mohanathas
5decb7fc60
Bug 571635 - Make nsCSSStyleSheet::GetStyleRuleAt return a css::Rule*. r=dbaron
2013-07-07 16:23:13 -04:00
Cameron McCormack
c0e2bb6765
Bug 569722 - Implement textLength and lengthAdjust on SVG text elements. r=longsonr
2013-07-07 17:27:51 +10:00
Kartikaya Gupta
07cff74d15
Bug 803207 - Kill GetDevicePixelsPerMetaViewportPixel and use widget scaling correctly on Fennec. r=mbrubeck
2013-07-04 09:02:29 -04:00
Ben Turner
0b05e4e8fc
Bug 879787 - Fix up old tests to use SpecialPowers. r=smaug, a=abillings.
...
--HG--
rename : content/base/test/test_bug383430.html => content/base/test/chrome/test_bug383430.html
2013-07-03 14:04:43 -07:00
Andrea Marchesini
28ec341630
Bug 885539 - Crash - Heap-use-after-free in nsTArray_base. r=bz
2013-07-03 09:21:30 -04:00
Bobby Holley
ed24e324cd
Bug 888682 - Inline traverse/unlink for mGlobal and simplify CC goop for nsInProcessTabChildGlobal.cpp. r=smaug
2013-07-02 23:30:36 -06:00
Matthew Gregan
16d93ca314
Bug 855130 - Implement URL::createObjectURL overload for
...
MediaSources. Add MediaSources to HostObjectProtocolHandler. Make
MediaSource a real interface. r=khuey
2013-06-21 15:15:15 +12:00
John Schoenick
755429a0ce
Bug 888834 - Java sees no-explicit-codebase as . not baseURI. r=josh
2013-07-02 16:40:40 -07:00
John Schoenick
794ace9208
Bug 406541 - Add check for java file codebase security. r=bsmedberg
2013-07-02 16:40:40 -07:00
Mike Shal
8afd7f737d
Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #4 ); r=joey
2013-07-01 11:34:30 -04:00
Scott Johnson
850b8bd74d
Bug 878931: Add a FontSizeInflation() method to Element in order to retrieve font size inflation to use during reflow-on-zoom. [r=kats,mounir]
...
The reflow-on-zoom behavior needs a more robust determination of the font size inflation, so
that it can adjust its behavior depending on whether font size inflation has been
enabled for a given element's text. This patch also modifies the behavior of reflow-
on-zoom such that it will zoom in to piece of text, with reflow, if the minimum
specified font size in the font size inflation preferences is greater than the
current font size, with font size inflation, of the element.
2013-07-02 09:04:27 -05:00
Phil Ringnalda
223d1262f5
Backed out 5fa1f7715c19:7a300d1d1b23 (bug 855130) for Windows build failures
...
CLOSED TREE
2013-07-01 21:23:37 -07:00
Matthew Gregan
4590b89783
Bug 855130 - Implement URL::createObjectURL overload for MediaSources. r=khuey
...
---
content/base/public/nsHostObjectProtocolHandler.h | 26 +++++++++
content/base/src/nsHostObjectProtocolHandler.cpp | 65 +++++++++++++++++------
content/base/src/nsHostObjectURI.h | 5 +-
content/media/mediasource/MediaSource.cpp | 1 +
content/media/mediasource/MediaSource.h | 7 +++
dom/base/URL.cpp | 12 +++++
dom/base/URL.h | 7 +++
dom/webidl/URL.webidl | 6 +++
layout/build/nsLayoutModule.cpp | 4 ++
9 files changed, 116 insertions(+), 17 deletions(-)
2013-07-02 15:46:49 +12:00
Garrett Robinson
f2ddf7c926
Bug 885433 - CSP should not block inline scripts or eval unless script-src or default-src are included (r=imelven)
2013-07-01 17:46:21 -07:00
Jim Mathies
d7fef01251
Bug 810399 - Add new css selectors and media queries for windows os versions. r=bz
2013-07-01 11:02:29 -05:00
David Rajchenbach-Teller
357200ae5b
Bug 887288 - Make nsDOMMemoryFileDataOwnerMemoryReporter thread-safe. r=khuey
2013-07-01 09:55:04 -04:00
Alexandre Poirot
fef5051523
Bug 887781 - Send message-manager-disconnect notification event when any message manager get disconnected. r=smaug
2013-07-01 09:46:53 -04:00
Catalin Iacob
088b9fe162
Bug 798914 (part 6) - Followup: move MemoryReporting.h include after the cpp's own header include. r=njn.
2013-06-30 18:26:39 +02:00
Bobby Holley
2cc8f76cf2
Bug 865745 - Remove nsFrameScriptExecutor::DestroyCx. r=smaug
2013-06-30 09:00:20 -06:00
Bobby Holley
297c3002d2
Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug
2013-06-30 09:00:20 -06:00
Bobby Holley
4cd50c50a8
Bug 865745 - Return the safe JSContext for Tab Children in GetJSContextForEventHandlers. r=smaug
2013-06-30 09:00:19 -06:00
Bobby Holley
694b2f0c90
Bug 865745 - Check mGlobal instead of mCx to see if we're in a functional state. r=smaug
...
Their lifetimes should be the same, and the latter is going away.
2013-06-30 09:00:19 -06:00
Bobby Holley
05ff089d53
Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug
2013-06-30 09:00:19 -06:00
Bobby Holley
799d59a0a4
Bug 865745 - Remove redundant cx push. r=smaug
...
AutoSafeJSContext will always push.
2013-06-30 09:00:18 -06:00
Bobby Holley
d2865be525
Bug 865745 - Use an AutoSafeJSContext in nsFrameMessageManager::ReceiveMessage. r=smaug
...
This function proceeds to push its cx and enters a compartment, so it can't be
depending on any compartment or callstack state of the cx it's using. The only
potential issue would then be reporting the error to the correct DOM window, but
this stuff is used only for chrome, where that doesn't matter. The safe JSContext
uses the same error reporter as JSMs and such, which is probably fine.
2013-06-30 09:00:18 -06:00
Bobby Holley
9b8345e3a5
Bug 865745 - Hold a strong ref to the global for the duration that each nsFrameScriptCx is on the stack. r=smaug
...
These things currently do a complicated refcounting dance to avoid destroying the
cx until all the consumers of it are gone. That stuff can mostly go away now that
we're just using the SafeJSContext, but DestroyCx also nulls out the global, so
we should make sure to keep that alive for anyone that might be using it.
2013-06-30 09:00:18 -06:00
Bobby Holley
c04e34eb37
Bug 865745 - Rename nsFrameScriptExecutor::DidCreateCx. r=smaug
2013-06-30 09:00:18 -06:00
Bobby Holley
0a9087ae0d
Bug 865745 - Stop depending on mCx during frame script execution. r=smaug
2013-06-30 09:00:17 -06:00
Phil Ringnalda
aa7316894b
Back out 9a57cd3e5a93:b62548e26499 (bug 865745) for causing an unexpected exception in a mochiperf test
2013-06-29 20:27:48 -07:00
Bobby Holley
eb3e2db571
Bug 865745 - Remove nsFrameScriptExecutor::DestroyCx. r=smaug
2013-06-29 18:44:06 -06:00
Bobby Holley
f8a389da3d
Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug
2013-06-29 18:44:06 -06:00
Bobby Holley
78a6220dfc
Bug 865745 - Return the safe JSContext for Tab Children in GetJSContextForEventHandlers. r=smaug
2013-06-29 18:44:05 -06:00
Bobby Holley
f33a413188
Bug 865745 - Check mGlobal instead of mCx to see if we're in a functional state. r=smaug
...
Their lifetimes should be the same, and the latter is going away.
2013-06-29 18:44:05 -06:00
Bobby Holley
adb2251a40
Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug
2013-06-29 18:44:05 -06:00
Bobby Holley
14bdba1b02
Bug 865745 - Remove redundant cx push. r=smaug
...
AutoSafeJSContext will always push.
2013-06-29 18:44:04 -06:00
Bobby Holley
12f373123b
Bug 865745 - Use an AutoSafeJSContext in nsFrameMessageManager::ReceiveMessage. r=smaug
...
This function proceeds to push its cx and enters a compartment, so it can't be
depending on any compartment or callstack state of the cx it's using. The only
potential issue would then be reporting the error to the correct DOM window, but
this stuff is used only for chrome, where that doesn't matter. The safe JSContext
uses the same error reporter as JSMs and such, which is probably fine.
2013-06-29 18:44:04 -06:00
Bobby Holley
30b44b13f5
Bug 865745 - Hold a strong ref to the global for the duration that each nsFrameScriptCx is on the stack. r=smaug
...
These things currently do a complicated refcounting dance to avoid destroying the
cx until all the consumers of it are gone. That stuff can mostly go away now that
we're just using the SafeJSContext, but DestroyCx also nulls out the global, so
we should make sure to keep that alive for anyone that might be using it.
2013-06-29 18:44:04 -06:00
Bobby Holley
39f2a2954f
Bug 865745 - Rename nsFrameScriptExecutor::DidCreateCx. r=smaug
2013-06-29 18:44:04 -06:00
Bobby Holley
b1e77d43cc
Bug 865745 - Stop depending on mCx during frame script execution. r=smaug
2013-06-29 18:44:03 -06:00
Phil Ringnalda
c37d044ace
Merge birch and m-i to m-c
2013-06-29 17:29:09 -07:00
Bobby Holley
c5c7c812ca
Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke
2013-06-29 09:11:18 -06:00