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
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
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
Ryan VanderMeulen
c6e480b87f
Merge inbound and m-c.
2013-07-01 08:12:24 -04:00
Ms2ger
0a7d6a39da
Bug 888321 - Pass CSSIntPoint to ScrollToCSSPixels; f=kats r=roc
2013-07-01 09:14:36 +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
Bobby Holley
49f8ff5f9d
Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
...
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-29 09:11:17 -06:00
Phil Ringnalda
8a0af35cc5
Merge m-c to birch
2013-06-29 06:55:30 -07:00
Reuben Morais
f4f59f5ad7
Bug 882911 - Add nsIProcessChecker.checkAppHasStatus. r=smaug
2013-06-29 03:52:16 -07: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
James Kitchener
e4c66f3e8a
Bug 802895 - Implement srcdoc attribute for iframe r=bz
2013-06-28 23:13:23 -04:00
James Kitchener
caf9806e1e
Bug 802895 - Docshell related changes for srcdoc iframe r=bz
2013-06-28 23:13:22 -04:00
James Kitchener
eacdd65ec4
Bug 802895 - ns(I)document changes for iframe srcdoc implementation r=bz
2013-06-28 23:13:22 -04:00
Gavin Sharp
1275b7ca8b
Bug 883592: stop trying to evaluate scripts for documents with no inner windows, r=sicking
...
--HG--
extra : transplant_source : %99%1Ap-%EC%80b%2B%DE%A5%05%EE%9C%24Dl%22%E7G%D3
2013-06-15 22:06:27 -04:00
Garrett Robinson
d43ce9ab9d
Bug 887974 - CSP 'unsafe-eval' directive ignored (r=sstamm)
2013-06-27 19:50:03 -07:00
Tanvi Vyas
d6714cbec5
Bug 781018 - Collect telemetry information about the number of websites a user visits with Mixed Active/Passive Content. r=smaug
...
--HG--
extra : rebase_source : d06dd4b07cb68c7dc5b36ab05f6bf8d6bb2a1924
2013-06-27 16:52:20 -07:00
John Schoenick
1e16605fd8
Bug 738396 - Only pass canonicalized codebase to Java. r=bsmedberg sr=jst
2013-06-27 13:59:37 -07:00
John Schoenick
754aabbb9e
Bug 738396 - Construct codebase URI for Java plugins as java would. r=bsmedberg sr=jst
2013-06-27 13:59:36 -07:00
Blake Kaplan
a3a6516091
Bug 653881 - Rework XBL insertion points and clean up related code to more closely follow the Web Components model. Instead of maintaining a hashtable of insertion points in bindings (and removing insertions points from the tree) leave the insertion points in the tree as explicit placeholders and teach all other relevant code how to walk the explicit children of elements via two iterators (ExplicitChildIterator and FlattenedChildIterator). Note that this patch does not maintain 100% compatibility with the previous code: there are bug fixes and behavior changes included. For example, by having explicit insertion points in the bindings, it is now easier to handle dynamic changes to the bound element correctly (as well as, eventually, handling dynamic changes to the binding correctly). Patch originally by sicking. r=bzbarsky
...
--HG--
extra : rebase_source : 6926ae8ea57b20f4067b16bd3d7bd85bda854756
2013-05-01 15:50:08 -07:00
Justin Lebar
09d2312322
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
cab87a0cce
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Andrew McCreight
5810441ee9
Bug 882997 - Don't DROP or clear wrapper cache flag in GetAndClearExpandoObject. r=peterv
2013-06-28 12:32:27 -07:00
David Zbarsky
2320f1c278
Remove some null-checks due to infallible new, no bug, r=me
2013-06-26 14:04:13 -07:00
Boris Zbarsky
0091068f88
Bug 816343. Remove nsIDOMNodeSelector. r=smaug
2013-06-26 10:59:46 -04:00
Boris Zbarsky
d53f7897bb
Bug 883892. Remove HTMLFormElement classinfo. r=peterv
2013-06-26 10:59:45 -04:00
Catalin Iacob
83b78343dc
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Benjamin Smedberg
9a37aac8c2
Bug 880735 part E - Use the new permissionmanager.updateExpireTime method to make sure that plugin permissions are renewed properly, r=johns
2013-06-24 08:51:07 -04:00
Benjamin Smedberg
04adb5f63c
Bug 880735 part C - Disabled plugins should be always disabled, site-specific permissions do not override them. I'm sorry for the churn from bug 875454. At least the logic is in one place and easy to fix! r=johns
2013-06-24 08:51:07 -04:00
Benjamin Smedberg
d566c8ebaf
Bug 880735 part A - Add a .defaultFallbackType to plugins so that we can avoid re-implementing the ShouldPlay logic in the frontend code. r=johns
2013-06-24 08:51:07 -04:00
Ms2ger
74dbad4fb5
Bug 884268 - Part c: Stop including nsWrapperCache.h in nsContentUtils.h; r=smaug
2013-06-23 09:15:49 +02:00
Ms2ger
67f84492bd
Bug 884268 - Part b: Move nsContentUtils::PreserveWrapper to nsWrapperCache; r=smaug
2013-06-23 09:15:42 +02:00
Ms2ger
cccb9a74ad
Bug 884268 - Part a: Move nsContentUtils::CheckCCWrapperTraversal to nsWrapperCache; r=smaug
2013-06-23 09:15:10 +02:00
Sid Stamm
84c33d2241
Bug 780978 - remove makeExplicit() from CSPUtils.jsm. (r=imelven)
2013-06-21 16:43:13 -07:00
Sid Stamm
889d27ff4e
Bug 764937 - make sure CSP 1.0 compliant parser infers "default-src *" when a default-src isn't specified (r=tanvi)
2013-06-21 16:43:07 -07:00
Jan Varga
24f8419a8f
Bug 884936 - Add Blob/File support to xpcshell. r=bent
2013-06-21 17:15:46 +02:00
Gabor Krizsanits
2efc3017e5
Bug 864335 - Remove GetScriptGlobalObject. r=mrbkap
2013-06-21 16:25:20 +02:00
Jon Coppeard
19b426b223
Bug 885310 - 1 Rename JSHandleFoo in the browser r=bz
2013-06-21 14:12:46 +01:00
Joey Armstrong
1156439ca4
bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (cleanup). r=mshal
2013-06-20 15:59:59 -04:00
Bobby Holley
7a9309f7be
Bug 883450 - Miscellaneous requests. r=gabor
2013-06-20 11:05:34 -07:00
Bobby Holley
b214e9065e
Bug 884245 - Simplify nsContentUtils::GetDocumentFromCaller. r=bz
...
The first three lines of this function are an obvious bug. But the behavior in
general is also worrisome, because it's using antiquated XPConnect machinery
that will be less and less correct as we move to the new DOM bindings. Let's
just infer our global from the active compartment.
2013-06-20 11:05:32 -07:00
Andrew McCreight
1f59b0c2e7
Bug 884019 - initialize rv on error in CloneAndAdopt. r=peterv
2013-06-19 14:03:31 -07:00
Boris Zbarsky
9c26ede3fe
Bug 883887. Add an Unlink method to js::ExpandoAndGeneration. r=peterv
2013-06-19 14:48:44 -04:00
Boris Zbarsky
508d09f9f8
Bug 883827. Make Optional<NonNull<T>> and Optional<OwningNonNull<T>> nicer to use by having their const Value() method return a T&. r=peterv
2013-06-19 14:48:43 -04:00
Benjamin Smedberg
3b87991102
Bug 882339 - Cache the blocklist state on plugin tags to avoid querying the blocklist service constantly, r=johns
2013-06-19 11:07:28 -04:00
Andrea Marchesini
cac6aa669b
Bug 841442 - Move HTMLFormElement to WebIDL, r=bz
2013-06-19 10:24:37 -04:00
Andrea Marchesini
dc9752fc49
Bug 841442 - Rename nsHTMLFormElement to HTMLFormElement
...
--HG--
rename : content/html/content/src/nsHTMLFormElement.cpp => content/html/content/src/HTMLFormElement.cpp
rename : content/html/content/src/nsHTMLFormElement.h => content/html/content/src/HTMLFormElement.h
2013-06-19 10:24:37 -04:00
Boris Zbarsky
6f4d603e9e
Bug 883968. Give <object>/<embed>/<applet> channels notification callbacks that can actually be used from script. r=johns
2013-06-19 10:24:37 -04:00
Boris Zbarsky
29d61ffea9
Bug 884109. Remove GetDocumentFromCaller from NS_NewHTMLImage/OptionElement and remove the XPCOM-y bits for creating those, since WebIDL bindings don't use those. r=smaug
2013-06-19 10:24:37 -04:00
Arnaud Sourioux
b435a6ca03
Bug 702080 - Replace GetDisplayDocument with IsResourceDoc when needed. r=bz
2013-06-18 17:25:50 -04:00
Ehsan Akhgari
838a193e63
Backed out changeset 57624f26be8f (bug 702080) on the suspicion of causing a b2g mochitest-3 failure, since it touches code near remote browser stuff
...
Landed on a CLOSED TREE
2013-06-18 23:52:07 -04:00
Ryan VanderMeulen
6e172126b6
Merge cypress and inbound.
2013-06-18 18:15:53 -04:00
Benjamin Smedberg
3db94d03c7
Back out revision d3da96f774b3 on a CLOSED TREE - Bug 882339 because of mochitest-browser failures in browser_CTP_drag_drop.js and browser-pluginnotification.js
2013-06-18 16:44:07 -04:00
Kyle Huey
d91ec7682b
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-18 12:01:26 -07:00
Benjamin Smedberg
29141b1f48
Bug 882339 - Cache the blocklist state on plugin tags to avoid querying the blocklist service constantly, r=johns
2013-06-18 13:16:40 -04:00
Arnaud Sourioux
3a81b24d11
Bug 702080 - Replace GetDisplayDocument with IsResourceDoc when needed. r=bz
2013-06-18 17:25:50 -04:00
Andrea Marchesini
713a36e9e5
Bug 870787 - Improve named getter for form, r=bz
2013-06-18 08:53:23 -04:00
Jon Coppeard
c43484e0e2
Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz
2013-06-18 11:00:38 +01:00
Jon Coppeard
7bcacd601c
Bug 877762 - GC: Post-barrier cycle collector participants - 5 Convert JS::Value to use Heap<T> r=smaug
2013-06-18 11:00:37 +01:00
Julien Wajsberg
5690eabdc3
Bug 814090 - [classList] Implement the second force argument for toggle. r=bz
2013-06-14 23:22:17 +02:00
Boris Zbarsky
1b44ea95e0
Back out revision 43927377e41c (bug 870787) and revision 25126626dd43 (bug 879319) for failing tests and contributing to a CLOSED TREE.
2013-06-17 14:54:24 -04:00
Andrea Marchesini
1b3514dbdf
Bug 870787 - Improve named getter for form, r=bz
2013-06-17 13:07:04 -04:00
Boris Zbarsky
0ac8350533
Bug 882547. Treat undefined values in WebIDL dictionaries as missing. r=smaug
2013-06-17 13:07:03 -04:00
Phil Ringnalda
090a00ba98
Bug 862199 - double the timeout for test_bug416317-2.html so it doesn't time out on b2g all the time
...
--HG--
extra : rebase_source : a9949516a2abb87b725fc9ac1f56020bf4c213e6
2013-06-14 22:37:59 -07:00
David Zbarsky
75d6cf0fb6
Bug 845668 Part 1: Remove nsFrameMessageManager::IsChromeProcess r=smaug
2013-06-14 23:40:22 -07:00
Martijn Wargers
e3e6352d56
Bug 883094 - Fix some test files that don't unset their prefs correctly. r=jgriffin
2013-06-15 00:33:47 +02:00
David Zbarsky
d10a18830c
[Bug 882536] Remove nsIDOMSVGDocument r=Ms2ger
2013-06-14 15:37:27 -07:00
Joey Armstrong
2145ef4142
bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (file batch #1 ) r=mshal
2013-06-14 14:07:19 -04:00
Peter Van der Beken
ed705d5d38
Bug 851465 - Remove slim wrappers - stop morphing slim wrappers. r=bholley.
2013-04-19 21:57:15 +02:00
Peter Van der Beken
e400a1a292
Bug 882193 - Remove nsIDocumentRegister. r=mrbkap.
2013-06-05 22:19:22 +02:00
Frederik Braun
e6d47d953b
Bug 879316 - Clean up CSP logging code. r=imelven
2013-05-15 11:30:43 +02:00
L. David Baron
bfbc629361
Bug 882573 patch 4: Make nsHTMLStyleSheet and nsHTMLCSSStyleSheet stop implementing nsIStyleSheet. r=heycam
...
Note that this removes the Reset method and the mURL and mDocument
members (and arguments to set them) from nsHTMLCSSStyleSheet.
On the other hand, from nsHTMLStyleSheet it only removes mURL (and
equivalent arguments), and nsHTMLStyleSheet keeps the SetOwningDocument
method that was previously part of nsIStyleSheet (but no longer virtual).
2013-06-13 22:34:37 -07:00
L. David Baron
429e3410b2
Bug 882573 patch 3: Stop putting the presentational hint and style attribute style sheets in the style set's list of style sheets; put them only in the list of rule processors. r=heycam
2013-06-13 22:34:37 -07:00
L. David Baron
48251be1f9
Bug 882573 patch 1: Move the style attribute style sheet from nsDocument to nsIDocument, and devirtualize its getter. r=bzbarsky
2013-06-13 22:34:37 -07:00
Ehsan Akhgari
acc481b79a
Bug 882948 follow-up - Fix a typo (sorry!)
2013-06-13 21:38:22 -04:00
Ehsan Akhgari
443234c05d
Bug 882948 - Add widget level support for AeroLite for Winodws Server 2012/2013; r=roc
2013-06-13 18:41:26 -04:00
Ryan VanderMeulen
bc0ed36f8d
Backed out changeset c1c441c9edce (bug 845668) for frequent Windows mochitest-2 crashes.
...
CLOSED TREE
2013-06-13 18:31:27 -04:00
Ryan VanderMeulen
917e565db3
Backed out 13 changesets (bug 880917) for Android and B2G test bustage on a CLOSED TREE.
...
Backed out changeset 71c1ce2cb0a4 (bug 880917)
Backed out changeset cd240e19560f (bug 880917)
Backed out changeset 93509a0001b5 (bug 880917)
Backed out changeset fdbba20e4647 (bug 880917)
Backed out changeset d82060172367 (bug 880917)
Backed out changeset 709f0b699489 (bug 880917)
Backed out changeset 421bdbccfa7c (bug 880917)
Backed out changeset 962c656c7452 (bug 880917)
Backed out changeset 888a5690ccdf (bug 880917)
Backed out changeset 57228f5fcd87 (bug 880917)
Backed out changeset ce8c3e14c234 (bug 880917)
Backed out changeset 08fe7b777450 (bug 880917)
Backed out changeset 5192a9233d83 (bug 880917)
2013-06-13 15:19:50 -04:00
David Zbarsky
5c7d28b756
Bug 845668 Part 0: Remove nsFrameLoader::mChildHost r=jdm
2013-06-13 11:53:13 -07:00
Bobby Holley
824c9ddd7a
Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke
2013-06-13 10:09:26 -07:00
Bobby Holley
670e4b4d9d
Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
...
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-13 10:09:25 -07:00
James Kitchener
aaa284cd89
Bug 796850 - Change XMLHttpRequest interface to support ByteString r=bz
2013-06-13 01:20:10 -04:00
Ehsan Akhgari
d6628d6d1a
Bug 579517 follow-up: Remove NSPR types that crept in
2013-06-12 21:26:59 -04:00
Trevor Saunders
436b3b902e
bug 882079 - merge nsIDocShellHistory into nsIDocShell r=smaug
2013-02-15 11:07:29 -05:00
Martin Stransky
3399b67572
Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt
2013-06-12 08:04:28 -04:00
Ed Morley
aa048e78a3
Merge mozilla-central and inbound
2013-06-12 08:41:06 +01:00
Ms2ger
7cdd3a5243
Bug 880340 - Remove the security checks on nsImageLoadingContent methods; r=bz
2013-06-12 09:00:09 +02:00
Ms2ger
1b26c4e37a
Bug 854231 - Remove Element::GetOffsetRect; r=jst
2013-06-12 09:00:08 +02:00
Ehsan Akhgari
1c87d49b30
Backed out changeset 149475141471 (bug 877626) for apparently breaking mochitest-4 on Linux
...
Landed on a CLOSED TREE
2013-06-11 19:23:37 -04:00
Martin Stransky
bacd5b73f7
Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt
2013-06-11 15:09:29 -04:00
Cameron McCormack
0cd7505ec6
Bug 880925 - Flush layout when caretPositionFromPoint is called. r=bz
2013-06-12 13:20:19 +10:00
Ed Morley
64b2bc1c50
Merge mozilla-central and inbound
2013-06-11 16:24:51 +01:00
Ed Morley
71b7df3bfd
Backed out changeset 2864e2610800 (bug 877584) for causing bug 881266
2013-06-11 16:11:14 +01:00
Masatoshi Kimura
5adf56e2de
Bug 881252 - Warn use of getUserData() or setUserData(). r=bz
2013-06-11 07:41:42 +09:00
Kyle Huey
756f02ce3d
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-09 16:02:02 -07:00
Jon Coppeard
af7d9a0531
Bug 860573 - Part 2 - Use spare bits of wrapper cache flags for nsINode r=smaug
2013-06-08 09:54:59 +01:00
Boris Zbarsky
9f09fecc19
Bug 877281 part 6. Replace ${jsvalPtr} with a MutableHandle ${jsvalHandle}. r=peterv
...
It's a little unfortunate that we need both ${jsvalHandle} and
${jsvalRef}, but the only other option is to consistently have a
MutableHandle in this code. If the thing we have to work with is a
Rooted, that means doing JS::MutableHandle<JS::Value>(&myRooted) as
the thing to substitute for ${jsvalHandle}. Just using "&myRooted"
doesn't work, because things like "&myRooted.set()" or
"&myRooted.address()" fail, even if parenthesized as
"(&myRooted).set()", because &myRooted is actually a Rooted*, not a
MutableHandle.
We could go the JS::MutableHandle<JS::Value>(&myRooted) route if
desired; it would primarily uglify dictionary and sequence to-js
conversions. With the setup in this patch, ideally it looks pretty
idiomatic except for the use of .set() instead of operator= on Rooted.
2013-06-07 22:45:46 -04:00
Benjamin Smedberg
d31cc62de5
Bug 875454 - Rework handling of per-site plugin permissions in objectloadingcontent such that users can disable or enable plugins per-site no matter what their "global" permission is (currently only plugins marked click-to-activate globally honor per-site overrides). Also change the pageInfo UI such that "use default" is separate from the explicit click-to-play setting. r=jschoenick/jaws
...
--HG--
extra : rebase_source : e5bfba45eaa5619d695c484573b90303cc113181
2013-06-11 10:58:43 -04:00
Benjamin Smedberg
e1d1d600ef
Bug 880675 - Remove the writable nsIPluginTag.blocklisted property, which is a poorly-constructed cache of the blocklist data, r=jschoenick r=unfocused
...
--HG--
extra : rebase_source : 04fd347af86d9bb47493ca37455008dedcc570f4
2013-06-11 10:58:42 -04:00
Benjamin Smedberg
6d53563d85
Bug 881270 - Remove the MIME type fallback tests in test_bug391728 because they are testing the incorrect behavior and only happen to work because the test plugin remained blocklisted from a prior test. r=johns
...
--HG--
extra : rebase_source : c7b1d6e6f50f35598d8ca98c1527673542c6798d
2013-06-11 10:58:42 -04:00
David Zbarsky
00b41d8ad2
[Bug 879998] Remove some dead code in content/ r=Ms2ger, emk
2013-06-07 14:05:57 -07:00
David Zbarsky
31ba17013e
Bug 880037: Don't try to mark message managers when we're not in the root process r=jlebar
2013-06-07 14:05:36 -07:00
Ryan VanderMeulen
bb43b9b6b6
Merge inbound to m-c.
2013-06-07 11:10:54 -04:00
Ryan VanderMeulen
045f0037c4
Merge m-c to fx-team.
2013-06-06 15:21:01 -04:00
Tim Taubert
fcc2d91629
Bug 878747 - part 1 - implement 'nodefaultsrc' attribute for XUL frames; r=smaug
2013-06-06 21:05:21 +02:00
Ed Morley
51e8d1b8e5
Merge mozilla-central and inbound
2013-06-06 10:46:45 +01:00
Michael Wu
d2b4696cee
Bug 771551 - Add CSS Media Query for physical home buttons, r=heycam
2013-06-05 22:42:02 -04:00
David Bolter
7196865a21
Bug 577727 - Make pinned tabs distinguishable from other tabs for accessibility. r=marcoz
2013-06-05 17:03:52 +02:00
Peter Van der Beken
0eae5efa79
Bug 877654 - Remove thisptr offset tables - Remove offset tables from non-HTMLElement objects and remove offset table macros. r=Ms2ger.
...
--HG--
extra : rebase_source : 6d6fbb260c564d295d33c76a1b21ffd7187eeae2
2013-05-21 21:59:27 +02:00
Robert O'Callahan
f86452b02b
Bug 865537. Part 1: Add nsRange::SetEnableGravitationOnElementRemoval to suppress 'gravitation' behavior on node removal. r=smaug
...
--HG--
extra : rebase_source : 3823c3a0400c80b6f22021f22195f73febd5d85e
2013-06-07 16:26:28 +12:00
Peter Van der Beken
131db2e8fe
Bug 871849 - Correctly trace expando objects for OverrideBuiltin proxies. r=bzbarsky.
...
--HG--
extra : rebase_source : 0c848e1c18a366ecd95b1a9acc4b517d108131fe
2013-05-17 17:04:08 +02:00
Bobby Holley
03e356bde0
Bug 877478 - Fix tests that depend on creating verboten instances in content. r=mrbkap
...
XPConnect generally throws when trying to create instances of non-DOM objects
in content. Due to some bugs this has historically worked in certain cases, but
we're fixing those now. So we need to fix the tests that do this sort of thing.
2013-06-04 19:56:42 -07:00
Bobby Holley
6c466f082b
Bug 877478 - Fix mochitests with problematic callbacks to use the new API. r=mrbkap
2013-06-04 19:56:41 -07:00
Wellington Fernando de Macedo
781a2dcd48
Bug 869882 - [eventsource] Check HTTP status:204,205,210,299 readyState returns CONNECTING but not CLOSED and throws unreached assertion; r=bugs@pettay.fi
2013-06-04 12:34:15 +03:00
Randell Jesup
9ff8467bf0
Bug 878945: rename RTCDataChannelInit dictionary items to match updated spec r=smaug
2013-06-03 17:34:42 -04:00
Robert O'Callahan
96667a8d5a
Bug 874295. Fix viewport tests. r=mbrubeck
...
--HG--
extra : rebase_source : 48252cd24f804fbac3c6a7eaf7792fbc9c7584b8
2013-06-03 19:02:46 +12:00
Robert O'Callahan
f476fe7554
Bug 874295. On non-Android platforms (and eventually for Android), use call GetDefaultScale instead of GetDevicePixelsPerMetaViewportPixel. r=mbrubeck
...
--HG--
extra : rebase_source : 92e6c476f847349969430d96fa363b6f46bb8d5b
2013-05-30 16:34:32 +12:00
Kyle Huey
86d6d2b6ae
Back out bug 877584 on this CLOSED TREE.
2013-06-06 10:49:09 -07:00
Kyle Huey
0c7597e1cb
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-06 10:23:45 -07:00
Scott Johnson
2e74bc5ce5
Bug 865654: Adjust offsets within text areas only so that other text controls get correct offsets. [r=blassey]
2013-06-03 11:27:48 -05:00
Chia-hung Tai
5907ab07e3
Bug 810099 - B2G MMS: support onretrieving event. r=vyang
2013-05-10 13:39:22 -07:00
Trevor Saunders
f1e455a13f
bug 873622 - speed up nsXPConnect::GetXPConnect() and rename it since it never returns null r=bholley
2013-05-17 01:49:41 -04:00
Boris Zbarsky
897328ff5b
Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence
2013-05-30 17:46:48 -04:00
Boris Zbarsky
7c5e61e873
Bug 865377. Give EventTarget a chrome-only getter that returns its global. r=smaug
...
The idea is that you then do things like t.dispatchEvent(new t.ownerGlobal.Event("something")).
2013-05-30 17:46:39 -04:00
Phil Ringnalda
1eecaa780b
Back out 87e2bfbb427d (bug 874295) for mochitest-1 failures
...
CLOSED TREE
2013-05-29 23:55:29 -07:00
Arnaud Sourioux
1aded9ba34
Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug
2013-05-29 13:43:41 -07:00
Robert O'Callahan
d276e5355f
Bug 874295. On non-Android platforms (and eventually for Android), use call GetDefaultScale instead of GetDevicePixelsPerMetaViewportPixel. r=mbrubeck
...
--HG--
extra : rebase_source : 9c0544baccfe277e9340d185f189eda174923eb4
2013-05-30 16:34:32 +12:00
Kyle Huey
fb465d209c
Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz
2013-05-30 11:15:31 +08:00
Ryan VanderMeulen
eb4d754279
Backed out changeset a966aadd9ae3 (bug 856822) for Windows bustage on a CLOSED TREE.
2013-05-29 17:56:10 -04:00
Arnaud Sourioux
83d60db473
Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug
2013-05-29 13:43:41 -07:00
Jon Coppeard
6d32ef3678
Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug
2013-05-29 09:29:39 +01:00
Ed Morley
1e88f4e513
Backed out changeset 7acdb79e4d71 (bug 876639)
2013-05-29 12:09:10 +01:00
Jon Coppeard
27ffea6482
Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug
2013-05-29 09:29:39 +01:00
Simon Montagu
8470cb13e3
Assert that entry exists before removing it. Bug 876155, r=ehsan
2013-05-29 10:36:59 +03:00
Zachary Easterbrook
dfb8523493
Bug 875409 - Replace nsINode::Trace() with nsWrapperCache::TraceWrapper(). r=mccr8
2013-05-28 16:58:29 -07:00
Ryan VanderMeulen
24eca4433d
Merge m-c to inbound.
2013-05-28 15:55:17 -04:00
Garrett Robinson
fada4dd76a
Bug 858836 - CSP inline style blocking doesn't work in the Firefox OS emulator. r=bz, r=imelven
2013-05-28 13:29:34 -04:00
Ms2ger
c9bfa03ce9
Bug 876282 - Add unprefixed cancelAnimationFrame; r=bz
...
--HG--
rename : content/base/test/test_bug647518.html => content/base/test/test_bug876282.html
2013-05-28 19:31:31 +02:00
Mats Palmgren
f563b37b96
Bug 871099. r=bzbarsky
2013-05-28 03:00:08 +00:00
Andrew McCreight
d1266ee9b7
Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug
2013-05-21 16:23:53 -07:00
Phil Ringnalda
4ddeff37d5
Merge m-c to a CLOSED TREE m-i
2013-05-27 11:46:31 -07:00
Masatoshi Kimura
54ab2e47d5
Bug 726933 - Add a deprecation warning to getPreventDefault. r=smaug
2013-05-27 23:43:51 +09:00
Jon Coppeard
f53a29e132
Bug 874691 - Make CC participant tracing indirect r=mccr8 r=smaug r=bz
2013-05-27 12:50:49 +01:00
Andrea Marchesini
8fbebab530
Bug 869002 - DocumentFragment should be constructable, r=Ms2ger
2013-05-23 03:59:00 -07:00
Masatoshi Kimura
407e00e58c
Bug 876040 - Replace nsIDOMEvent::GetPreventDefault() with nsIDOMEvent::DefaultPrevented(). r=smaug
2013-05-26 06:05:36 +09:00
Masatoshi Kimura
a121b6f9dc
Backed out changeset db13e1fbc642 (bug 691151) because some in-tree callers are still using the function
2013-05-25 08:41:19 +09:00
Masatoshi Kimura
bcb5e4a8b6
Bug 726933 - Add a deprecation warning to getPreventDefault. r=smaug
2013-05-25 07:55:20 +09:00
Justin Lebar
72301329cf
Bug 832609 - Make memory reporter for blobs threadsafe. r=khuey
...
--HG--
extra : rebase_source : 4dc2387ae3867699085139545ff2b57104b1f72a
2013-05-24 13:10:48 -04:00
Cameron McCormack
c2cd7e77c2
Bug 875705 - Fix odd numbering of nsAttrValue::ValueType. r=smaug
2013-05-24 23:27:51 +10:00
Mike Shal
6f32ddf61c
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Aryeh Gregor
b14c2cbab2
Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger
2013-04-28 14:52:10 +03:00
Vladimir Vukicevic
d04afec683
b=873757; crash in JSStructuredCloneWriter::writeArrayBuffer; r=bz
2013-05-23 22:09:38 -04:00
Daniel Holbert
be55143fd6
Bug 875328: Remove stranded (and unnecessary) method-override Attr::AppendChildTo(). r=bz
2013-05-24 09:39:17 +08:00
John Schoenick
4b6ada0e6d
Bug 871942 - Don't synchronously stop plugins in DestroyContent. r=benjamin
2013-05-23 16:22:28 -07:00
Olli Pettay
5a3ad723a0
Bug 874592 - nsFrameMessageManager::NewProcessMessageManager may construct child process managers with no parent, r=jdm
...
--HG--
extra : rebase_source : faa0b708e9e0e5f88db2319215144540622fbd3a
2013-05-23 21:17:57 +03:00
Olli Pettay
471f526583
Bug 875050, make WebSocket to use EventListenerAdded/Removed, r=bz
...
--HG--
extra : rebase_source : fa0995983c4a6c738bae2d88152db65e59cc1d72
2013-05-23 14:41:32 +03:00
Phil Ringnalda
c8ee9cd4c3
Back out 4fd41b93f97c (bug 865654) for mochitest-1 failure
2013-05-22 21:35:41 -07:00
Matthew Gregan
cd12c2a8c7
Bug 855130 - Traverse nsHostObjectProtocolHandler from nsDocument. r=khuey
2013-05-03 12:54:05 +12:00
Scott Johnson
3ad466da31
Bug 865654: Adjust offsets within text areas only so that other text controls get correct offsets. [r=blassey]
2013-05-23 11:20:50 +08:00
Ralph Giles
3d52d52549
Bug 833385 - Implement HTMLTrackElement and TextTrack. r=bz,Ms2ger
...
Add webidl interfaces and implementations of the HTML <track>
element and related TextTrack, TextTrackList, TextTrackCue,
and TextTrackCueList dom objects.
Visibility is controlled by the media.webvtt.enabled pref,
which defaults to false.
HTMLMediaElement:NewURIFromString() is hoisted to
nsGenericHTMLElement so it's available to the track
element as well.
This patch is primarily work by Dale Karp, David Humphrey
and others as Seneca College.
2013-05-22 00:14:00 +08:00
Bobby Holley
11f2396ec2
Bug 868110 - Introduce a more private API for the consumers that really do need the default compartment object. r=luke
...
The primary consumer of this is the whole inner/outer DOM window setup, which
uses the default global to track the current inner. But there are few other
random ones as well.
We use this as an opportunity to convert a bunch of consumers from the two-step
GetNativeContext() -> JS_GetGlobalObject() into just |GetNativeGlobal()|. This
will make things much easier to convert when we start tracking the current inner
explicitly.
2013-05-22 15:42:44 -06:00
Bobby Holley
1b2f22fe61
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
772a8da25d
Bug 868130 - Move nsCxPusher into XPConnect. r=gabor
...
The JSContext stack is an XPConnect construction. In particular, there are
situations where we want to manipulate it outside the lifetime of nsContentUtils
but within the lifetime of the stack itself. In order to do this cleanly, it's
helpful to use private XPConnect APIs. So the first step here is to move this into
js/src/xpconnect, so that we can take advantage of the stuff in xpcprivate.h.
--HG--
rename : content/base/src/nsCxPusher.cpp => js/xpconnect/src/nsCxPusher.cpp
rename : content/base/public/nsCxPusher.h => js/xpconnect/src/nsCxPusher.h
2013-05-22 10:05:26 -06:00
Bobby Holley
ba05c93769
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Bobby Holley
1e55f9d52e
Bug 868130 - Separate nsCxPusher an friends into their own file. r=gabor
...
We want to put a JSAutoRequest into nsCxPusher, but that would involve
including jsapi.h in nsContentUtils.h, which we'd probably rather avoid doing.
Let's just bite the bullet and do this.
2013-05-22 10:05:25 -06:00
Bobby Holley
f23454d0dc
Bug 868130 - Use an AutoSafeJSContext in nsObjectLoadingContent::TeardownProtoChain. r=gabor
2013-05-22 10:05:24 -06:00
Bobby Holley
0f7b40d94e
Bug 868130 - Make sure the new cx is stack-top in nsFrameMessageManager. r=gabor
2013-05-22 10:05:23 -06:00