Commit Graph

5707 Commits

Author SHA1 Message Date
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