Commit Graph

1747 Commits

Author SHA1 Message Date
Ben Turner
72bdb2945a Bug 832419 - 'Clean up IPC blobs'. r=sicking. 2013-01-17 12:17:33 -08: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
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
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
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
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
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
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
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
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
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
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
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
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
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
David Zbarsky
0a2891d04b Bug 830231 - Remove nsIDOMDOM(Settable)TokenList r=bz 2013-01-15 03:35:59 -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
f132bdba21 Use IsHtml(foo) instead of NodeInfo()->Equals(foo). Bug 828166, r=peterv 2013-01-13 08:08:59 -08: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
f36115e135 bug 828138 - remove nsISelectionPrivate::SetPresShell() r=ehsan 2012-12-18 17:30:11 -05: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
David Zbarsky
10440541f3 Bug 825147: Address review comments for SVGImageElement r=bz 2013-01-10 00:32:17 -05: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
Brad Lassey
ba5d7731f7 bug 793755 - Talos Regressions Trobopan, Tdhtml, tp4m_nochrome on Sept 22, cache information about the viewport r=jwir3 2013-01-03 22:27:06 -05:00
Cervantes Yu
c64b44eb24 Bug 820571: Don't show remote frame on restyles until reflow finished. r=roc
Original work from :roc.
Add check in nsFrameLoader::ShowRemoteFrame() so restyle of subdocument frames
doesn't resize remote content until first reflow finished and size is decided.

--HG--
extra : rebase_source : 24959ad409eb4e8993ae9eb0a82f5d670866ba54
2013-01-10 15:23:55 +08:00
Ed Morley
01d7c333be Backout 7f4f96dbf94f (bug 827172), 661847c6e48b (bug 827724), 00e357dd1458 (bug 827149) to fix the build on a CLOSED TREE 2013-01-11 11:13:17 +00:00
David Zbarsky
b3e656ecac Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz 2013-01-11 02:15:05 -05:00
Kyle Huey
094d5d52f1 Bug 806503: Eagerly transmit blob data across processes so that it is available if the originating process dies. r=bent a=bb+ 2013-01-10 05:47:32 -08:00
Ed Morley
9fce0eda54 Backout 1391e924e9ee (bug 806503) for mochitest-1 failures on a CLOSED TREE 2013-01-10 15:21:39 +00:00
Kyle Huey
98ecfda689 Bug 806503: Eagerly transmit blob data across processes so that it is available if the originating process dies. r=bent a=bb+ 2013-01-10 05:47:32 -08:00