Commit Graph

5935 Commits

Author SHA1 Message Date
Trevor Saunders
36453999ea bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Yury Delendik
92e8ade290 Bug 839714 - Extend PlayPreview API. r=jschoenick, r=jwein 2013-02-14 15:38:41 -06:00
Ryan VanderMeulen
aa53927960 Backed out changesets 45f20f94da76 and 47c4a7768ed9 (bug 841436) for Windows bustage on a CLOSED TREE. 2013-02-14 16:52:54 -05:00
Justin Lebar
093600fa79 Bug 836654 - Part 9: During app-frame creation, take the CPU wake lock only after sending down the mozapptype. r=cjones
This prevents the child process from downgrading its CPU priority when
it notices that it has the CPU wake lock but no "critical" frames.

In this patch we also reduce the scope of a race condition which occurs
when we don't launch a new process for an app.  In this case, we still
need to set the child process's priority and then check that the process
is still alive.

Because this isn't a brand-new process, it's possible that the process
will downgrade its priority (e.g. due to a timer) after we check that
it's still alive and before it notices that we've acquired the CPU wake
lock on its behalf.  This patch does not resolve that race.
2013-02-14 15:41:30 -05:00
Justin Lebar
657b1efd79 Bug 836654 - Part 7: Hold a CPU wake lock while a "critical" process that's expecting a system message loads. r=cjones,fabrice 2013-02-14 15:41:30 -05:00
Justin Lebar
523e77abbd Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 15:41:30 -05:00
Trevor Saunders
56e8ed5cca bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Andrew McCreight
af0226b0d7 Bug 839874 - Make NS_ASSERTIONs in CheckCCWrapperTraversal into MOZ_ASSERT. r=smaug 2013-02-13 09:21:42 -08:00
Ed Morley
3ad7657314 Backed out changeset 17f9660c7a7b (bug 836654) 2013-02-14 10:02:38 +00:00
Ed Morley
adc9ac524e Backed out changeset ef4884e40bb4 (bug 836654) 2013-02-14 10:02:32 +00:00
Ed Morley
0983efe42c Backed out changeset 55f1f62f7477 (bug 836654) 2013-02-14 10:02:27 +00:00
Trevor Saunders
2b39e8cb3c bug 839051 - remove usage of nsISelectionPrivate::GetEnumerator() r=smaug 2013-02-07 09:17:47 -05:00
Trevor Saunders
2917a9b84a bug 839059 - make nsISelection{,Private} builtinclass r=smaug 2013-02-11 13:14:01 -05:00
Justin Lebar
c72a643f07 Bug 836654 - Part 9: During app-frame creation, take the CPU wake lock only after sending down the mozapptype. r=cjones
This prevents the child process from downgrading its CPU priority when
it notices that it has the CPU wake lock but no "critical" frames.

In this patch we also reduce the scope of a race condition which occurs
when we don't launch a new process for an app.  In this case, we still
need to set the child process's priority and then check that the process
is still alive.

Because this isn't a brand-new process, it's possible that the process
will downgrade its priority (e.g. due to a timer) after we check that
it's still alive and before it notices that we've acquired the CPU wake
lock on its behalf.  This patch does not resolve that race.
2013-02-14 02:26:44 -05:00
Justin Lebar
4178a47341 Bug 836654 - Part 7: Hold a CPU wake lock while a "critical" process that's expecting a system message loads. r=cjones,fabrice 2013-02-14 02:26:44 -05:00
Justin Lebar
25adb2c9b1 Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 02:26:43 -05:00
Timothy Nikkel
5949a85197 Bug 784591. Part 2. Don't track images that don't have a frame created. r=jlebar 2013-02-13 14:18:08 -06:00
Timothy Nikkel
0fb975f557 Bug 784591. Part 1.5. Remove the SHOULD_BE_TRACKED bit and just always track non-null requests. r=joe,khuey
Also assert that the request is null when we do not track it.
2013-02-13 14:18:08 -06:00
Ryan VanderMeulen
0e981ca346 Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE. 2013-02-12 20:54:48 -05:00
Bobby Holley
576e95a8ce Bug 834732 - Push a cx in AdoptNode. r=mrbkap 2013-02-13 00:22:27 +01:00
Bobby Holley
e9d5a91d21 Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-13 00:22:26 +01:00
Bobby Holley
5a1f2c3927 Bug 834732 - Remove PushBehavior. r=mrbkap
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-13 00:22:26 +01:00
Bobby Holley
4c13bbfe38 Bug 834732 - Move cx pushing into nsPluginProtoChainInstallRunner. r=mrbkap
This gets rid of the last use of REQUIRE_SCRIPT_CONTEXT. \o/
2013-02-13 00:22:26 +01:00
Bobby Holley
9194f7a1d2 Bug 834732 - Make SafeAutoJSContext actually push something. r=mrbkap
Currently it never does, because the SafeJSContext doesn't have an
nsIScriptContext behind it. :-(
2013-02-13 00:22:26 +01:00
Bobby Holley
863479340f Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-13 00:22:26 +01:00
Randell Jesup
6f7fac61bb Bug 833217: Null out listener if we're no longer listening for DataChannel events r=abr 2013-02-12 16:32:43 -05:00
Cameron McCormack
3d58763a27 Bug 839927 - Update scoped style content flags correctly when SVG <style scoped=""> elements are involved. r=bz 2013-02-12 15:48:22 +11:00
Ryan VanderMeulen
c32ab4bc8d Merge m-c to inbound. 2013-02-11 20:49:31 -05:00
Olli Pettay
ff9c34a6e4 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Jeff Walden
149649e256 Bug 826009 - Move locale callback info, default locale, etc. data and APIs to be JSRuntime-centered. f=bholley, r=jorendorff
--HG--
extra : rebase_source : 35317f4c29e9dd70e7d4fd1292027cfd51ce2675
2013-02-07 18:04:11 -08:00
Bobby Holley
6c9a0d2a78 Bug 839867 - Align gecko with the spec on cross-origin access to Location.hash. r=bz
We update the tests to cover this case. There was also a bug in the tests where
we were accidentally testing non-writable Location properties against window
rather than window.location. :-(
2013-02-11 00:05:17 +01:00
Frank Wein
c59a9df4f6 Bug 839936 - Build fails in content/base/test because the command line is longer than 32k chars, r=ted 2013-02-11 23:25:12 +01:00
Ryan VanderMeulen
2c91368b6b Backed out changeset 8507903e43cb (bug 831989) for landing with the wrong bug number in the commit message. 2013-02-11 17:38:57 -05:00
Frank Wein
bcd36dc2b4 Bug 831989 - Build fails in content/base/test because the command line is longer than 32k chars, r=ted 2013-02-11 23:25:12 +01:00
Alexander Surkov
176065e86a Bug 445510 - Support ARIA-based text attributes, r=tbsaunde
--HG--
rename : accessible/tests/mochitest/attributes/test_text.html => accessible/tests/mochitest/textattrs/test_general.html
2013-02-09 13:36:34 +09:00
Robert Strong
2615fbe80d Back out Bug 678392 2013-02-08 16:52:12 -08:00
Stephen Pohl
edc1aa01df Swipe availability check - Bug 678392 - [10.7] Add support for swipe animation as in Safari. r=smichaud 2013-02-08 13:57:28 -08:00
Stephen Pohl
8d7a3e80e7 Main patch (original patch by mstange) - Bug 678392 - [10.7] Add support for swipe animation as in Safari. r=smichaud r=felipc 2013-02-08 13:56:50 -08:00
David Zbarsky
b6cdb97b40 Bug 833446: Remove nsIDOMSVGSVGElement r=peterv 2013-02-08 14:55:07 -05:00
Andrea Marchesini
60ac13739c Bug 839105 - Rename nsHTMLFieldSetElement to HTMLFieldSetElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLFieldSetElement.cpp => content/html/content/src/HTMLFieldSetElement.cpp
rename : content/html/content/src/nsHTMLFieldSetElement.h => content/html/content/src/HTMLFieldSetElement.h
2013-02-08 11:34:47 -05:00
Bobby Holley
a9cbc7eea3 Bug 821850 - Dynamically waive Xray for field access by XBL script on bound nodes. r=bz 2013-02-08 14:24:22 +00:00
Bobby Holley
2be0c8d31e Bug 821850 - Expose XBL members via Xray wrappers. r=bz 2013-02-08 14:24:21 +00:00
Bobby Holley
032bee38ff Bug 821850 - Check for XBL scopes in nsContentUtils::IsCallerXBL(). r=bz 2013-02-08 14:24:20 +00:00
Bobby Holley
966a177f72 Bug 821850 - Make XBL-in-content tests Xray-safe. r=bz
We use XPCNativeWrapper.unwrap rather than .wrappedJSObject so that the tests
are agnostic to whether there's an Xray wrapper or not.

I converted test_tree_column_reorder.xul into a chrome test because it does
all sorts of crazy introspection on the binding, and it really should be
a chrome test anyway.
2013-02-08 14:24:19 +00:00
Seth Fowler
8a069e52b7 Bug 837315 - Add SVG document loaded event. r=bz 2013-02-04 10:14:17 -08:00
Chris Jones
749061cf62 Backed out d2aa085d7ebd (bug 836605) 2013-02-06 15:49:27 -08:00
Chris Jones
ef36dc0d37 Bug 836605: Cache mozIApplication wherever possible on critical startup path. r=jlebar 2013-02-06 14:32:20 -08:00
Chris Jones
776beb535e Backed out changeset fed128eb92f3 (bug 836605) for making the IDL gods angry. CLOSED TREE 2013-02-06 14:57:14 -08:00
Chris Jones
30063d452f Bug 836605: Cache mozIApplication wherever possible on critical startup path. r=jlebar 2013-02-06 14:32:20 -08:00
Scott Johnson
e0e9d6c869 Bug 838668: Rev IID of nsIDOMFile and revert incorrectly revved IID for nsIDOMBlob. [r=bsmedberg] 2013-02-06 14:27:20 -06:00
Daniel Holbert
b5cd15e840 Bug 838394: Remove redundant/unnecessary NS_WARNING in nsMixedContentBlocker::ShouldLoad, and replace MOZ_NOT_REACHED with MOZ_ASSERT(false) to get defined behavior. r=tanvi r=smaug 2013-02-06 10:23:09 -08:00
Boris Zbarsky
ebdd009711 Bug 838518 part 2. Fix nodeiterator callers per the API change that was made. r=smaug 2013-02-06 14:22:33 +00:00
Boris Zbarsky
d71214e1ed Bug 838518 part 1. Fix treewalker callers per the API change that was made. r=smaug 2013-02-06 14:22:33 +00:00
Simon Montagu
6731b2950e Set AncestorHasDirAuto flag when adding a new text node. Bug 836890, r=ehsan 2013-02-06 00:13:21 -08:00
Simon Montagu
ba4b050ebf Test for bug 836890 2013-02-06 00:13:18 -08:00
Jeff Walden
56a76010df Fix up a few lingering references to jsval.h. Followup to bug 837773, r=bustage in a CLOSED TREE 2013-02-05 16:13:24 -08:00
Ben Turner
72bdb2945a Bug 832419 - 'Clean up IPC blobs'. r=sicking. 2013-01-17 12:17:33 -08:00
Ryan VanderMeulen
549336585a Merge m-c to inbound. 2013-02-05 07:54:46 -05:00
Olli Pettay
127ab415b6 Bug 836875 - Background is no longer painted in Print output/Print preview, r=roc 2013-02-05 10:10:40 +00:00
Bill de Araujo
829740f015 Bug 705961 - Ensure nsDocument doesn't modify the external resource hashtable while enumerating it. r=bz 2013-02-01 16:09:00 +00:00
Benedict Singer
424fe6cb8d Bug 819051 - XMLHttpRequset.setRequestHeader() needs to merge header values, not overwrite them. r=bz 2013-02-03 16:56:09 -08:00
Josh Matthews
0e50decc69 Bug 829360 - Keep non-browser windows from extending the lifetime of the private session. r=bz 2013-02-04 23:22:51 +00:00
Masatoshi Kimura
2b7120a1ee Bug 826166 - Remove an ability to set higher JS versions via language attribute. r=jonas 2013-02-05 06:37:21 +09:00
Ehsan Akhgari
86111f5cce Bug 837416 - Part 2: Move HTMLStyleElement to Web IDL bindings; r=bzbarsky 2013-02-03 12:42:40 -05:00
Ehsan Akhgari
2554ec472a Backed out 3 changesets (bug 837416) because of test failures
Backed out changeset 1d7232646d12 (bug 837416)
Backed out changeset 476af8f75f28 (bug 837416)
Backed out changeset 428b29658d07 (bug 837416)

--HG--
rename : content/html/content/src/HTMLStyleElement.cpp => content/html/content/src/nsHTMLStyleElement.cpp
2013-02-03 15:18:19 -05:00
Ehsan Akhgari
ec6b9c180f Bug 837416 - Part 2: Move HTMLStyleElement to Web IDL bindings; r=bzbarsky 2013-02-03 12:42:40 -05:00
Jonathan Kew
f6f77b9550 bug 822266 - refresh backing scale factors after swapping frameloader contents, in case device resolutions differ. r=bz 2013-02-03 12:21:52 +00:00
Peter Van der Beken
ee4a060f18 Fix for bug 830879 (HTML Element WebIDL bindings require classinfo). r=bz.
--HG--
extra : rebase_source : a88a5f24d3d4c12b652f1228eb5b3b7bb8b9e5ee
2013-01-10 10:54:32 +01:00
Sid Stamm
246e310e43 Bug 779918 - disregard auth credentials in URLs when doing CSP policy checks. (r=imelven) 2013-02-01 11:51:54 -08:00
Ian Melven
3f95059c6d Bug 832193 - Content Security Policy: a source of *.something.com is mistakenly interpreted as a source of http://*:80 (r=sstamm) 2013-02-01 10:53:20 -08:00
Mounir Lamouri
9ad0959156 Bug 833012 - Remove "nsContentUtils.h" inclusion from Element.h. r=Ms2ger 2013-01-31 23:11:49 +00:00
Mounir Lamouri
5691ef03de Bug 833009 - Remove "nsContentUtils.h" inclusions from headers in content/base/. r=Ms2ger 2013-02-01 11:00:41 +00:00
Nicholas Nethercote
0bda4fcd31 Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong!  The witch is dead!
2013-01-24 21:24:57 -08:00
Phil Ringnalda
2d79942fa4 Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
CLOSED TREE
2013-01-31 22:29:30 -08:00
Nicholas Nethercote
46ba51002e Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong!  The witch is dead!

--HG--
extra : rebase_source : 7574f5620e303c25120fcfc8ceb2099ad75c8f1b
2013-01-24 21:24:57 -08:00
Tanvi Vyas
d1acb7f4ef Bug 836359 - Categorize TYPE_OBJECT_SUBREQUEST as mixed display content instead of mixed active content. r=smaug,dveditz 2013-01-31 19:33:13 -08:00
Tanvi Vyas
4e89ec3e66 Bug 836459 - If a page has both mixed display and mixed active content loaded, make sure both nsIWebProgressListener flags are set. r=smaug 2013-01-31 19:27:04 -08:00
Tanvi Vyas
ef2aa0ad1e Bug 836811 - Fixes a regression / crash caused by bug 822371. If there is no security UI, return. r=smaug. 2013-01-31 19:23:37 -08:00
Chris Jones
1442c6e3be Fix for bug 836593 on gecko-21. CLOSED TREE 2013-01-30 23:15:35 -08:00
Chris Jones
0fe06d3afc Bug 836593: Add profiler labels to organize samples under FrameLoader::StartLoading(), IFrameElement::BindToTree(), and TabParent creation code. r=jlebar,smaug 2013-01-30 22:40:43 -08:00
Boris Zbarsky
830e9f5447 Bug 836050 part 3. Make Element::AttrValueIs non-virtual. r=smaug 2013-01-30 22:26:46 -05:00
Boris Zbarsky
b1ea9287b8 Bug 836050 part 2. Make Element::HasAttr non-virtual. r=smaug 2013-01-30 22:26:46 -05:00
Boris Zbarsky
f8205fa694 Bug 836050 part 1. Make Element::GetAttr non-virtual. r=smaug 2013-01-30 22:26:46 -05:00
Phil Ringnalda
983e7bcdcf Back out 0b427bfd720d:79e6231558d7 (bug 836050) for Mac and b2g build bustage
CLOSED TREE
2013-01-30 20:41:02 -08:00
Boris Zbarsky
d90af249bf Bug 836050 followup. Rev the nsIContent and Element IIDs. r=smaug 2013-01-30 22:28:38 -05:00
Boris Zbarsky
d766505635 Bug 836050 part 3. Make Element::AttrValueIs non-virtual. r=smaug 2013-01-30 22:26:46 -05:00
Boris Zbarsky
7cef04b557 Bug 836050 part 2. Make Element::HasAttr non-virtual. r=smaug 2013-01-30 22:26:46 -05:00
Boris Zbarsky
1570f7aadc Bug 836050 part 1. Make Element::GetAttr non-virtual. r=smaug 2013-01-30 22:26:46 -05:00
Boris Zbarsky
e53ffbf3f0 Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Tanvi Vyas
10e0c198af Bug 822367 - Mochitests - User overrides mixed content blocking. r=smaug 2013-01-30 00:04:46 -08:00
Tanvi Vyas
291a1c1eaf Bug 822367 - Add mixed display flags to the document. Add mixed display and mixed active states to nsIWebProgressListener and use them in nsMixedContentBlocker. r=smaug 2013-01-30 00:04:41 -08:00
Tanvi Vyas
1909d581e3 Bug 822367 - Performance enhancement - only call OnSecurityChange when the state really changes. r=smaug 2013-01-30 00:04:37 -08:00
Tanvi Vyas
1e6b543ee3 Bug 822367 - Since document.open() creates a new channel, set nsDocShell:mMixedContentChannel to the newly created channel if the user has decided to allow mixed content on the page. r=smaug 2013-01-30 00:04:34 -08:00
Tanvi Vyas
8e3da960cf Bug 822367 - Plumbing needed to show user Mixed Content Blocker Doorhanger when Mixed Active Content is Blocked and allow user an option to load the inseucre content anyway. r=smaug 2013-01-30 00:04:31 -08:00
David Zbarsky
f2a9da458f Bug 836176: Add nsIDocument::AsHTMLDocument r=bz 2013-01-30 01:31:11 -05:00
Boris Zbarsky
8b394535e8 Bug 835417 part 1. Mark Node.namespaceURI as not throwing, since [Constant] things aren't allowed to throw (though we were not enforcing that). r=peterv 2013-01-29 17:53:52 -05:00
Boris Zbarsky
e15be64167 Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression 2013-01-29 17:18:06 -05:00
Ehsan Akhgari
e2c29ce2df Merge the removal of global private browsing support 2013-01-29 13:13:58 -05:00
Ehsan Akhgari
32d278987e Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Boris Zbarsky
24d3443115 Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Ryan VanderMeulen
2ac757469c Merge the last PGO-green inbound changeset to m-c. 2013-01-29 09:36:20 -05:00
Olli Pettay
b2ee14044a Bug 835503 - Remove nsCycleCollector::ShouldBeFreed/WasFreed, r=mccr8 2013-01-29 12:45:38 +02:00
Robert O'Callahan
7a8e466a9f Bug 833542. Make scrollWidth/scrollHeight for overflow:visible match what they would be for overflow:hidden on the same element. r=mats
--HG--
extra : rebase_source : 42d1018cf48caf1eec4bc9251ec1cb3eee30001b
2013-01-29 14:38:22 +13:00
Simon Montagu
bb0b8f004e Distinguish between bdi with default auto direction and with explicit auto-direction. Bug 832644, r=ehsan 2013-01-26 23:14:14 -08:00
Benjamin Smedberg
549eb1ea64 Bug 831428 test fixup in test_bug429785 - don't remove the listener until it has received the console messages, r=bz 2013-01-29 11:02:56 -05:00
Ryan VanderMeulen
eab06717bc Merge m-c to inbound. 2013-01-29 10:50:01 -05:00
Boris Zbarsky
c2eccf0c76 Bug 834877 part 5. Add an overload of GetAttribute that takes a DOMString. r=peterv 2013-01-29 09:42:15 -05:00
Boris Zbarsky
fdc89414dd Bug 834877 part 4. Add overloads of GetAttr() and GetId() that take a DOMString. r=peterv 2013-01-29 09:42:14 -05:00
Boris Zbarsky
f9bc81a8be Bug 829252 part 2. Make nsGlobalWindow inherit from dom::EventTarget and ensure that all the things that inherit from it correctly QI to it. r=peterv 2013-01-29 08:44:01 -05:00
Boris Zbarsky
126e2f75e3 Bug 834785. Make sure to not ask the JS engine for return values in toplevel scripts, so it'll be able to ion-compile them as needed. r=bholley 2013-01-29 08:44:00 -05:00
Henri Sivonen
c579df482b Bug 820508 part 3 - Accessibility mapping for <main>. r=dbolter. 2013-01-29 14:31:45 +02:00
Cameron McCormack
04fc1087f7 Bug 830278 - Allow disabling of selecting printing with mozdisallowselectionprint on the document element. r=roc 2013-01-29 15:59:55 +11:00
Steve Workman
4cbdb73f1a Bug 792935 - Add DASH to test_info_leak, test_progress and test_standalone r=cpearce 2013-01-28 18:34:28 -08:00
Peter Van der Beken
bfc9de7860 Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
--HG--
extra : rebase_source : 5668d9e01bff0fe7831d98018428856e5940a620
2012-12-03 17:07:49 +01:00
Ed Morley
19dd19ed37 Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures 2013-01-28 11:08:21 +00:00
Peter Van der Beken
70a2f7c413 Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
--HG--
extra : rebase_source : 68e5630591f6209e2af9c5cd2321fed8edd3de24
2012-12-03 17:07:49 +01:00
Robert Longson
944e4b9991 Bug 835030 - Remove svg.smil.enabled pref. r=dholbert 2013-01-27 19:30:21 +00:00
Ryan VanderMeulen
3561a5836e Merge m-c to inbound. 2013-01-26 21:23:50 -05:00
Ryan VanderMeulen
517ca6292f Merge m-c to fx-team. 2013-01-26 21:21:39 -05:00
Matthew Noorenberghe
91dfb7f3b4 Bug 816803 - Add system metric and media query keyword to detect whether the current Windows desktop theme supports Aero Glass. r=jimm,sr=roc
--HG--
extra : rebase_source : 56b27cbbbcc0cde254ef7aa7087f11360c476390
2013-01-16 19:27:16 -08:00
Ryan VanderMeulen
b00b47237c Merge the last PGO-green inbound changeset to m-c. 2013-01-25 12:33:43 -05:00
Olli Pettay
7318061b07 Bug 830975, make sure to flush all the documents, yet keep the no-flush-needed case fast, r=mccr8,f=bz,a=abillings 2013-01-24 11:09:06 +02:00
Shane Caraveo
31c389a19c Bug 804656: add rolluponmousewheel attribute to allow mousewheel events to hide panels, r=enndeakin 2013-01-25 14:30:50 -08:00
Andrew McCreight
239d827f35 Bug 829784 - Don't cycle collect nsNodeInfo in live documents. r=smaug 2013-01-25 14:11:13 -08:00
Jose Antonio Olivera Ortega
28fdf7755d Bug 827280 - Part 2: DOMEvent. r=philikon a=tef+ 2013-01-25 19:45:16 +01:00
Nathan Froyd
12dbb0cbfd Bug 834263 - consolidate ClonedMessageData unpacking code; r=smaug 2013-01-24 11:24:19 -05:00
Chris Peterson
81bf7b134b Bug 816298 - Part 1: Allow child elements to override -moz-user-select:none. r=ehsan
--HG--
extra : rebase_source : f4e08713be0691c25b22510977c978088655ec8b
2013-01-08 16:33:17 -08:00
Andrea Marchesini
a33468c01d Bug 833447 - nsDOMBlobBuilder.cpp:284:8: warning: variable ‘nativeEOL’ set but not used [-Wunused-but-set-variable], r=khuey 2013-01-23 19:05:50 +01:00
Ryan VanderMeulen
736ce65b82 Merge m-c to inbound. 2013-01-23 18:30:46 -05:00
wfernandom2004@gmail.com
acb8bfaff9 Bug 710546 - Server sent events Once the end of the file is reached, any pending data must be discarde, r=smaug
--HG--
extra : rebase_source : 320ae8e0ca66c1eae7cefe2b1c075c2cc32c7a3b
2013-01-22 21:09:13 +02:00
Mounir Lamouri
7915116031 Bug 828472 - Introduce AutoJSContext and SafeAutoJSContext helpers and use them for date handling in nsHTMLInputElement. f=bz r=bholley 2013-01-21 12:38:54 +00:00
Bobby Holley
b6cd6b4b66 Bug 832512 - Don't create SOWs for chrome code. r=bz 2013-01-22 23:06:26 +01:00
Gaurav Pruthi
ecc5e6a95c Bug 672190 - Remove declaration and definitions of 'expandEntityReferences' from NodeIterator and TreeWalker. r=Ms2ger 2013-01-20 17:53:48 +05:30
Steve Fink
d3f194fbfb Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Phil Ringnalda
0a7f936a63 Fix bug 832571 by backing out 4d95a6900a4f:304ee1c25362 (bug 784591) for frequent Android crashtest-3 failures in ownerdiscard.html 2013-01-18 20:08:06 -08:00
John Schoenick
7427545b89 Bug 832032 - Don't create a PluginStreamListener for initial plugin streams before OnStartRequest. r=josh 2013-01-24 13:41:29 -08:00
Bobby Holley
ca53b9e294 Bug 833412 - Remove AddBinding/RemoveBinding and remove dead code. r=bz 2013-01-24 18:45:50 +01:00
Bobby Holley
025c474548 Bug 833412 - Fix tests that call addBinding. r=bz 2013-01-24 18:45:49 +01:00
Steve Fink
cb8aecdd2a Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink
fa3e8f224b Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
David Zbarsky
c02e883f5d Bug 832011: nsDOMTokenList should QI to nsISupports r=bz 2013-01-18 14:53:52 -05:00
Kyle Huey
362cd90ede Bug 831095: Remove LOOP_OVER_OBSERVERS. r=bz 2013-01-18 09:49:59 -08:00
Henri Sivonen
10a04a0909 Bug 234628 part 2 - Make manual encoding overrides not apply to internal URL schemes or to docs declared as UTF-16 on the HTTP level; make docshells able to report when the encoding menu should be disabled. r=bzbarsky. 2013-01-18 16:27:03 +02:00
Nicholas Nethercote
3dca3123e6 Bug 826521 (part 2) - Report memory used by event targets, especially XHRs. r=bz.
--HG--
extra : rebase_source : 543f0e367ce73477d62eca544137a101108a97be
2013-01-17 21:21:43 -08:00
Nathan Froyd
7aa97a3a13 Bug 834106 - consolidate ClonedMessageData building code into MessageManagerCallback; r=smaug 2013-01-23 21:39:27 -05:00
Thomas Zimmermann
747cca6e62 Bug 826055 - Check OMX when looking for decoders on FirefoxOS. r=bz
On FirefoxOS, when trying to stream an MP3 file in the browser, Gecko
does not check the OMX decoder for support, and streaming fails.

This patch adds the check for OMX decoders. The browser now streams
the MP3 file correctly.
2013-01-23 16:10:30 +01:00
Ryan VanderMeulen
89bd16a2ec Merge m-c to inbound. 2013-01-25 09:59:09 -05:00
Mark Finkle
8237809a34 Backout 3b91d62ca343 and 662d0cd47316 for test failures 2013-01-17 20:44:46 -05:00
Mark Finkle
30f32f5d6a Bug 831123 - Disable CSS error reporting by default to improve pageload performance (more test failures) r=me 2013-01-17 19:39:23 -05:00
Andrew McCreight
05e8c2424b Bug 830399. Add JSAutoCompartment in nsXMLHttpRequest::GetInterface. r=bz 2013-01-17 16:30:41 -08:00
Timothy Nikkel
ac1905d317 Bug 784591. Part 2. Don't track images that don't have a frame created. r=jlebar 2013-01-17 17:58:37 -06:00
Timothy Nikkel
d85f392527 Bug 784591. Part 1.5. Remove the SHOULD_BE_TRACKED bit and just always track non-null requests. r=joe,khuey
Also assert that the request is null when we do not track it.
2013-01-17 17:58:35 -06:00
Nathan Froyd
88ad946f05 Bug 831441 - delete unused variable in nsDOMStyleSheetSetList::GetSets; r=Ms2ger 2013-01-16 15:09:02 -05:00
Bobby Holley
981f7eda15 Bug 824864 - Fix Ms2ger nits. r=me 2013-01-16 18:50:27 -08:00
Bobby Holley
cecccc3751 Bug 824864 - Pass EvaluateString out-param as a pointer, not a reference. r=bz 2013-01-16 18:50:27 -08:00
Bobby Holley
2af1ceaef4 Bug 824864 - Move responsibility for checking for JSVERSION_UNKNOWN to the one caller of EvaluateString that might pass it. r=bz 2013-01-16 18:50:26 -08:00
Bobby Holley
cbd37c2417 Bug 824864 - Rename EvaluateStringWithValue to EvaluateString. r=bz
Now that there's only one of them, we can get rid of the silly suffix. \o/
2013-01-16 18:50:26 -08:00
Bobby Holley
8f80755c52 Bug 824864 - Move existing consumers of EvaluateString over to EvaluateStringWithValue. r=bz 2013-01-16 18:50:26 -08:00
Bobby Holley
1d5c9aeac3 Bug 824864 - Implement nsContentUtils::GetObjectPrincipal. r=bz
The SSM interface is super awkward.
2013-01-16 18:50:25 -08:00
Bobby Holley
85b3a83b16 Bug 825395 - Add debug checking for interleaved nsCxPusher and JSAutoEnterCompartment. r=bz,luke 2013-01-16 18:50:25 -08:00
Trevor Saunders
b98e34aed0 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Jason Duell
baa138a1da Bug 830920 - Reduce running time of test_websocket_basic.html r=smaug DONTBUILD 2013-01-15 12:16:55 -08:00
Ehsan Akhgari
8ffeafeacf Merge mozilla-central into mozilla-inbound 2013-01-15 09:10:19 -05:00
Olli Pettay
18534b4fb8 Bug 825544: backout Bug 825544, Bug 825544, Bug 765192 and Bug 808035 to bring back the old .location=val behavior, r=bz 2013-01-15 13:46:35 +02:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
David Zbarsky
0a2891d04b Bug 830231 - Remove nsIDOMDOM(Settable)TokenList r=bz 2013-01-15 03:35:59 -05:00
Simon Montagu
30851a942d Make DoesNotParticipateInAutoDirection return true for non-HTML elements; and make WalkDescendantsSetDirAuto consistent with SetDirOnBind. Bug 829428, r=ehsan 2013-01-15 00:20:08 -08:00
Simon Montagu
3b63e737b7 Test for bug 829428, rs=ehsan 2013-01-15 00:20:06 -08:00
Nicholas Nethercote
cfabe434d4 Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar.
--HG--
extra : rebase_source : 53a77ea456f2aedafe05954ceece7e64db743e66
2013-01-14 16:26:47 -08:00
David Zbarsky
dc446c694b Bug 830221 - Remove nsIDOMDOMImplementation r=bz 2013-01-14 21:06:20 -05:00
Andrea Marchesini
45b85ca21d Bug 829030 - Accessing the desktop notification API in the browser and approving permission errors out - API does not work, r=sicking 2013-01-14 11:08:55 +01:00
Simon Montagu
883fa01917 Remove aStartAfterNode from WalkDescendantsSetDirectionFromText. Bug 828054, r=ehsan 2013-01-13 08:09:00 -08:00
Simon Montagu
d4c6128d9a Test for bug 828054 2013-01-13 08:09:00 -08:00
Simon Montagu
f132bdba21 Use IsHtml(foo) instead of NodeInfo()->Equals(foo). Bug 828166, r=peterv 2013-01-13 08:08:59 -08:00
Simon Montagu
bae5f7b024 Use a utility method for repeated code. Bug 828166, r=ehsan 2013-01-13 08:08:59 -08:00
Simon Montagu
4c9094d9a5 Fix whitespace and remove an unused method argument in DirectionalityUtils.cpp. Bug 828166, r=ehsan 2013-01-13 08:08:59 -08:00
Simon Montagu
32d311ff83 Set AncestorHasDirAuto on descendants of a node being bound to an element with HasDirAuto or AncestorHasDirAuto. Bug 827190, r=ehsan 2013-01-13 08:08:58 -08:00
Simon Montagu
ae5048a875 Test for bug 827190 2013-01-13 08:08:58 -08:00
Cameron McCormack
b8c8bf6c2c Bug 828805 - Implement SVG paint-order property. r=bz,roc 2013-01-13 10:27:53 +11:00
David Zbarsky
6168609ec2 Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz 2013-01-12 16:53:01 -05:00
Mohit Gahlot
b270478eaa Bug 825191 - Remove nsContentUtils::EqualsLiteralIgnoreASCIICase. r=mounir 2013-01-12 15:47:45 -05:00
Trevor Saunders
e400fe7845 bug 828138 - GetCurrentSelection() should return Selection* r=smaug 2012-12-19 17:55:44 -05:00
Trevor Saunders
f36115e135 bug 828138 - remove nsISelectionPrivate::SetPresShell() r=ehsan 2012-12-18 17:30:11 -05:00
Chris Peterson
f456453bfd Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan 2013-01-10 08:19:36 -08:00
Ms2ger
00396c39c9 Merge m-c to m-i. 2013-01-11 15:11:42 +01:00
Ms2ger
fea92580b3 Merge latest PGO-green m-i changeset to m-c. 2013-01-11 14:48:33 +01:00
Ms2ger
41958008fc Bug 825407 - Get rid of GetElementParent; r=mounir 2013-01-11 09:43:01 +01:00
Ms2ger
7dbb0eec52 Bug 824481 - Cleanup style attribute getters; r=bz 2013-01-11 09:42:59 +01:00
Trevor Saunders
4accd460fa bug 829288 - remove extra ';'s in content/ r=ehsan 2013-01-10 02:32:03 -05:00
florin.botis@gmail.com
59e4f1c37a Bug 608735. Fix getAllResponseHeaders for cross-origin requests to actually expose the headers CORS says it can expose. r=bzbarsky 2013-01-10 17:47:43 -05:00
David Zbarsky
10440541f3 Bug 825147: Address review comments for SVGImageElement r=bz 2013-01-10 00:32:17 -05:00
Ian Melven
ac6f7b2501 Bug 746978 - sync CSP directive parsing and directive names with w3c CSP 1.0 spec - part 6 - fix up toString (r=sstamm) 2013-01-09 10:57:05 -08:00
Ian Melven
6fccff8927 Bug 746978 - sync CSP directive parsing and directive names with w3c CSP 1.0 spec - Part 5 - unsafe-eval (r=sstamm) 2013-01-09 10:57:05 -08:00
Ian Melven
353143967d Bug 746978 - sync CSP directive parsing and directive names with w3c CSP 1.0 spec - Part 4 - unsafe-inline (r=sstamm) 2013-01-09 10:57:05 -08:00
Sid Stamm
8e0767388d Bug 746978 - sync CSP directive parsing and directive names with w3c CSP 1.0 spec - Part 3 (r=jst) 2013-01-09 10:57:05 -08:00
Ian Melven
464bc29ff3 Bug 746978 - sync CSP directive parsing and directive names with w3c spec - Part 2 : tests (r=sstamm) 2013-01-09 10:57:05 -08:00
Ian Melven
50e7b11a0d Bug 746978 - sync CSP directive parsing and directive names with w3c spec - Part 1 (r=sstamm) 2013-01-09 10:57:04 -08:00
Ian Melven
4b9af7fd3d Bug 783049 - CSP : use existing/old parser for X-Content-Security-Policy header, new/CSP 1.0 spec compliant parser for Content-Security-Policy header - Part 3 (r=bz) 2013-01-09 10:57:04 -08:00
Ian Melven
b959e2746c Bug 783049 - CSP : use existing/old parser for X-Content-Security-Policy header, new/CSP 1.0 spec compliant parser for Content-Security-Policy header - Part 2 (r=bz) 2013-01-09 10:57:04 -08:00
Ian Melven
1e69e1b8bf Bug 783049 - CSP : use existing/old parser for X-Content-Security-Policy header, new/CSP 1.0 spec compliant parser for Content-Security-Policy header - Part 1 (r=bz) 2013-01-09 10:57:03 -08:00