Граф коммитов

9569 Коммитов

Автор SHA1 Сообщение Дата
Simon Montagu 8c0a5ec4e5 Text nodes in anonymous subtrees shouldn't affect ancestors with dir=auto. Bug 839886, r=ehsan 2013-02-20 22:57:51 -08:00
Simon Montagu 66525abd82 Make the test for <bdi> without dir=auto more accurate. Bug 838689, r=ehsan 2013-02-20 22:57:50 -08:00
Phil Ringnalda e50d83b80b Back out bb4938013af5 and 9bee7d808f97 (bug 827976) for marionette bustage
CLOSED TREE
2013-02-20 15:26:59 -08:00
Vladan Djeric 43c9555e8c Bug 827976: Part 1 - Create hidden windows lazily on non-Mac platforms. r=bzbarsky 2013-02-20 00:11:54 -05:00
Julian Viereck f6e00a6a19 Bug 743252 - Implement moznomarginboxes attribute. r=roc 2013-02-20 10:50:21 -05:00
Masatoshi Kimura b8ccef0bfd Bug 842730 - Remove nsIJSNativeInitializer from nsXMLHttpRequest. r=sicking 2013-02-20 20:54:19 +09:00
Olli Pettay 7e444ef9c6 Bug 842710 - Identify TabChildGlobals in about:memory/compartment, r=jlebar 2013-02-20 12:39:59 +02:00
Frank Wein 5c0bbd0b29 Bug 842198 - Move browser_bug822367.js test to browser/, r=tanvi
--HG--
rename : content/base/test/chrome/browser_bug822367.js => browser/base/content/test/browser_bug822367.js
rename : content/base/test/file_bug822367_1.html => browser/base/content/test/file_bug822367_1.html
rename : content/base/test/file_bug822367_1.js => browser/base/content/test/file_bug822367_1.js
rename : content/base/test/file_bug822367_2.html => browser/base/content/test/file_bug822367_2.html
rename : content/base/test/file_bug822367_3.html => browser/base/content/test/file_bug822367_3.html
rename : content/base/test/file_bug822367_4.html => browser/base/content/test/file_bug822367_4.html
rename : content/base/test/file_bug822367_4.js => browser/base/content/test/file_bug822367_4.js
rename : content/base/test/file_bug822367_4B.html => browser/base/content/test/file_bug822367_4B.html
rename : content/base/test/file_bug822367_5.html => browser/base/content/test/file_bug822367_5.html
rename : content/base/test/file_bug822367_6.html => browser/base/content/test/file_bug822367_6.html
2013-02-20 09:54:49 +01:00
Masatoshi Kimura 4746ea471d Bug 841802 - Part 2: Use TextDecoderBase from nsContentUtils::ConvertStringFromCharset(). r=hsivonen 2013-02-19 22:30:28 +09:00
L. David Baron c5b9eee040 Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Jonathan Watt fd7314abae Bug 838256, part 2 - Overhaul and complete the layout pieces for <input type=range>. r=dholbert for the combined diff with the previous changeset. 2013-02-16 17:57:21 +00:00
Peter Van der Beken c1b3c1ac36 Fix for bug 839529 (Remove various CC participants that don't do anything). r=smaug.
--HG--
extra : rebase_source : 8a272905c79396e7ae08aaaf83566ac450c45be0
2013-02-07 10:19:08 +00:00
Boris Zbarsky 0880803e2f Bug 822674. Give RTCPeerConnection a sane classinfo. r=jst,jesup. r=peterv pending 2013-02-15 22:41:31 -05:00
Trevor Saunders 7722fdab93 bug 841706 - remove nsSelectionIterator r=smaug 2013-02-15 05:52:57 -05:00
Andrea Marchesini bb88c5ee0d Bug 838532 - Rename nsHTMLLegendElement to HTMLLegendElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLLegendElement.cpp => content/html/content/src/HTMLLegendElement.cpp
rename : content/html/content/src/nsHTMLLegendElement.h => content/html/content/src/HTMLLegendElement.h
2013-02-15 11:55:53 -05:00
Trevor Saunders fda9efaa98 bug 841430 - nuke nsIEditorDocShell r=bz 2013-02-13 17:39:30 -05:00
Trevor Saunders c4d231052a bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Yury Delendik 69a7ff37d4 Bug 839714 - Extend PlayPreview API. r=jschoenick, r=jwein 2013-02-14 15:38:41 -06:00
Ryan VanderMeulen 25195103db 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 a2a06aa787 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 1ed9b7bade 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 4ad2742309 Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 15:41:30 -05:00
Trevor Saunders a02716ba7a bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Andrew McCreight 6176b9e765 Bug 839874 - Make NS_ASSERTIONs in CheckCCWrapperTraversal into MOZ_ASSERT. r=smaug 2013-02-13 09:21:42 -08:00
Ed Morley 2441635be1 Backed out changeset 17f9660c7a7b (bug 836654) 2013-02-14 10:02:38 +00:00
Ed Morley 8d3e1b8cde Backed out changeset ef4884e40bb4 (bug 836654) 2013-02-14 10:02:32 +00:00
Ed Morley 1a2d6fa58d Backed out changeset 55f1f62f7477 (bug 836654) 2013-02-14 10:02:27 +00:00
Trevor Saunders 5e1d5f264c bug 839051 - remove usage of nsISelectionPrivate::GetEnumerator() r=smaug 2013-02-07 09:17:47 -05:00
Trevor Saunders ed98905091 bug 839059 - make nsISelection{,Private} builtinclass r=smaug 2013-02-11 13:14:01 -05:00
Justin Lebar 451c447788 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 8cf00da75f 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 e24833e1b4 Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 02:26:43 -05:00
Timothy Nikkel c3318ca42e 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 159ce22091 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 141f9389ce 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 7855e0656e Bug 834732 - Push a cx in AdoptNode. r=mrbkap 2013-02-13 00:22:27 +01:00
Bobby Holley 00465dba63 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 8a446dd113 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 383f32fa9f 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 7255462f10 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 fbadb5c010 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 81e670e530 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 6d4bf20af3 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 786e2cf549 Merge m-c to inbound. 2013-02-11 20:49:31 -05:00
Olli Pettay b9080a0df7 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Jeff Walden 6400117085 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 047d41c0d3 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 9661a8e16f 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 a39b6b2bde 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 d9db4bf3a3 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