Commit Graph

1733 Commits

Author SHA1 Message Date
Tanvi Vyas
b2410d8bef 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
0a286666d8 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
234f80e7bb Bug 836176: Add nsIDocument::AsHTMLDocument r=bz 2013-01-30 01:31:11 -05:00
Boris Zbarsky
a2dcee3f25 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
66e49b02aa Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression 2013-01-29 17:18:06 -05:00
Boris Zbarsky
8231be64a0 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
c60373bc80 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
ce4c3cbc12 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
a0d9b3a323 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
b9d2ae906f 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
bc0702d0d7 Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures 2013-01-28 11:08:21 +00:00
Peter Van der Beken
b46afdef94 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
5b106e3b14 Bug 833412 - Remove AddBinding/RemoveBinding and remove dead code. r=bz 2013-01-24 18:45:50 +01:00
Bobby Holley
bec0b2c540 Bug 833412 - Fix tests that call addBinding. r=bz 2013-01-24 18:45:49 +01:00
Mounir Lamouri
f929fe87f0 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
18704e2d42 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
2780e92307 Bug 824864 - Implement nsContentUtils::GetObjectPrincipal. r=bz
The SSM interface is super awkward.
2013-01-16 18:50:25 -08:00
Bobby Holley
057de60a8d Bug 825395 - Add debug checking for interleaved nsCxPusher and JSAutoEnterCompartment. r=bz,luke 2013-01-16 18:50:25 -08:00
David Zbarsky
5550efaefb Bug 830231 - Remove nsIDOMDOM(Settable)TokenList r=bz 2013-01-15 03:35:59 -05:00
Andrea Marchesini
60ca8dd167 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
06e49dc3ab Use IsHtml(foo) instead of NodeInfo()->Equals(foo). Bug 828166, r=peterv 2013-01-13 08:08:59 -08:00
David Zbarsky
ae40c85085 Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz 2013-01-12 16:53:01 -05:00
Mohit Gahlot
668233dc75 Bug 825191 - Remove nsContentUtils::EqualsLiteralIgnoreASCIICase. r=mounir 2013-01-12 15:47:45 -05:00
Trevor Saunders
acb9fa5812 bug 828138 - remove nsISelectionPrivate::SetPresShell() r=ehsan 2012-12-18 17:30:11 -05:00
Ms2ger
68bbcd67a0 Merge m-c to m-i. 2013-01-11 15:11:42 +01:00
Ms2ger
3c26b8b8e4 Merge latest PGO-green m-i changeset to m-c. 2013-01-11 14:48:33 +01:00
Ms2ger
3afadd016c Bug 825407 - Get rid of GetElementParent; r=mounir 2013-01-11 09:43:01 +01:00
David Zbarsky
265bf3ef8c Bug 825147: Address review comments for SVGImageElement r=bz 2013-01-10 00:32:17 -05:00
Ian Melven
dea7953b9b 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
43a675480e 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
7870585aaf 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
3543eadcba 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
b20442f721 Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz 2013-01-11 02:15:05 -05:00
Kyle Huey
6525389cc0 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
acba59dcdf Backout 1391e924e9ee (bug 806503) for mochitest-1 failures on a CLOSED TREE 2013-01-10 15:21:39 +00:00
Kyle Huey
fb593adfcf 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
Cameron McCormack
d617d4b9f8 Bug 508725 - Part 10: Implement scoped style sheets for SVG. r=bz 2013-01-09 10:25:48 +11:00
Cameron McCormack
e1fe24451a Bug 508725 - Part 4: Add a content flag representing whether an element is a scoped style root. r=dbaron 2013-01-09 10:25:47 +11:00
Cameron McCormack
90edb9cab0 Bug 508725 - Part 1: Add content flag representing whether an element is in a style scope. r=dbaron 2013-01-09 10:25:47 +11:00
Boris Zbarsky
df66ecbe66 Bug 826703 part 3. Rename nsXMLProcessingInstruction to mozilla::dom::ProcessingInstruction. r=peterv
--HG--
rename : content/xml/content/src/nsXMLProcessingInstruction.cpp => content/xml/content/src/ProcessingInstruction.cpp
rename : content/xml/content/src/nsXMLProcessingInstruction.h => content/xml/content/src/ProcessingInstruction.h
2013-01-08 15:45:06 -05:00
Boris Zbarsky
3f10a7395a Bug 826703 part 2. Convert CDATASection to WebIDL. r=peterv 2013-01-08 15:45:06 -05:00
Olli Pettay
fffe498e99 Bug 771942, normal content policy checks for chrome data documents, r=bz, a=akeybl 2013-01-08 19:16:28 +02:00
Ed Morley
059e266627 Backout ee16318ac67b (bug 793755) for test_meta_viewport[0-9].html failures 2013-01-07 20:34:36 +00:00
Brad Lassey
ac9e97ff23 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
Scott Johnson
ba70800ef1 Bug 825499: Add caretPositionFromPoint to Document.webidl. [r=Ms2ger]
--HG--
rename : content/base/test/test_bug654352.html => content/base/test/test_caretPositionFromPoint.html
2013-01-07 11:56:48 -06:00
Gene Lian
6673f04f25 Bug 821671 - Check alarm API parameters in the parent (part 2, provide assertContainApp() for checking manifest URL). r=sicking 2012-12-22 20:00:10 +08:00
Simon Montagu
9296444cde Clear element from nsTextDirectionalityMap when unbinding. Bug 819623, r=peterv 2013-01-06 01:45:28 -08:00
Simon Montagu
a64d0bc1bc Don't set AncestorHasDirAuto when binding a <bdi> element to the tree. Bug 815043, r=peterv 2013-01-06 01:45:28 -08:00
Robert O'Callahan
85884b1a4b Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
408fbe5931 Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00