Commit Graph

4053 Commits

Author SHA1 Message Date
Ms2ger
8d47d26d10 Bug 711240 - Part b: Expose xpc_qsStringToJsval publicly; r=bholley 2011-12-24 09:27:04 +01:00
Ed Morley
7526912220 Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2011-12-23 23:54:24 +00:00
Olli Pettay
4393f02fb4 Bug 712743, if node is black, return early from ::Traverse, r=mccr8,sicking 2011-12-24 00:28:58 +02:00
Patrick McManus
300ca2ef0e bug 694576 r=bz 2011-12-22 21:21:20 -05:00
Jeff Walden
5d0d2b2e73 Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Mats Palmgren
e1783667b9 Bug 698237 - Invalidate affected frames when a range in a selection is modified. r=smaug 2011-12-24 14:26:03 +01:00
Chris Pearce
85eda6f596 Bug 713597 - Move assertions around so that they don't null pointer deref when full-screen exits during full-screen request. r=smaug 2012-01-06 10:19:33 +13:00
Jason Duell
c3d684c2d4 Bug 712188: Return correct websocket close code when brower navigates away from page. r=smaug 2012-01-05 12:14:22 -08:00
Florian Scholz
6eeeb1f9b3 Bug 696647 - Remove invalid MathML atoms; r=karlt 2012-01-10 23:49:26 +00:00
aceman
42a71aa907 Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky 2011-12-21 16:51:29 -05:00
Ed Morley
26a6324065 Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2011-12-21 12:11:14 +00:00
Olli Pettay
c35f7bb3a9 Bug 711841, Null(C)String(), r=bsmedberg,glandium 2011-12-20 21:46:00 +02:00
Ed Morley
38893973b0 Merge mozilla-central and mozilla-inbound 2011-12-20 16:30:26 +00:00
Philipp Wagner
6ab8697406 Bug 693615 - element.lookupNamespaceURI(null) in text/html page cause NS_ERROR_FAILURE error on XrayWrappers; r=bz 2011-12-20 15:54:14 +01:00
Jan Varga
3253a69c4f Bug 711727 - Followup cleanup for files in IndexedDB. r=sicking/bent 2011-12-20 12:23:27 +01:00
Jason Duell
def5c3a081 Bug 695635: Unprefix websockets. r=sicking, sr=smaug
--HG--
rename : content/base/public/nsIMozWebSocket.idl => content/base/public/nsIWebSocket.idl
2011-12-20 00:20:12 -08:00
Jason Duell
6fc87006e3 Bug 710964. No longer dispatch incoming WebSocket messages in CLOSING state. r=smaug 2011-12-20 00:20:12 -08:00
Jason Duell
450977e6bd Bug 710345: Mozilla-specific changes to pywebsocket v606. r=mcmanus 2011-12-20 00:20:12 -08:00
Ed Morley
1a39d3c95a Merge mozilla-central to mozilla-inbound 2011-12-20 11:52:08 +00:00
Mats Palmgren
77f0b019cd Bug 619273 - Move the selection state bit from frames to content nodes. r=smaug 2011-12-20 10:15:41 +01:00
Boris Zbarsky
1b8698e479 Bug 624621 part 3. Use the pre-redirect filename as the script filename and the channel principal as the origin principal, and base our cross-origin check on the origin principal. r=mrbkap 2011-12-19 12:48:12 -05:00
Boris Zbarsky
62700b4c98 Bug 624621 part 2. Add an origin principal argument on nsIScriptContext::EvaluateString and pass that through to the JS engine. r=mrbkap 2011-12-19 12:47:52 -05:00
Phil Ringnalda
a30061699c Back out 316d6a49a603 and 98617f7b667b (bug 624621) for jsreftest failures 2011-12-19 18:40:16 -08:00
Boris Zbarsky
9e927dd338 Bug 624621 part 3. Use the pre-redirect filename as the script filename and the channel principal as the origin principal, and base our cross-origin check on the origin principal. r=mrbkap 2011-12-19 12:48:12 -05:00
Boris Zbarsky
f78b6a85f7 Bug 624621 part 2. Add an origin principal argument on nsIScriptContext::EvaluateString and pass that through to the JS engine. r=mrbkap 2011-12-19 12:47:52 -05:00
Matt Brubeck
f4c7d3ce39 Back out c68ddc33f098 and 18332142caa5 (bug 624621) for jsreftest failures 2011-12-19 10:42:27 -08:00
Boris Zbarsky
420b0132de Bug 624621 part 3. Use the pre-redirect filename as the script filename and the channel principal as the origin principal, and base our cross-origin check on the origin principal. r=mrbkap 2011-12-19 12:48:12 -05:00
Boris Zbarsky
da3127836d Bug 624621 part 2. Add an origin principal argument on nsIScriptContext::EvaluateString and pass that through to the JS engine. r=mrbkap 2011-12-19 12:47:52 -05:00
Jeff Walden
f73124604d Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert 2011-12-18 01:00:47 -05:00
Jeff Walden
862af491ec Bug 711799 - Add parentheses to a bunch of assignments nested in conditionals. r=dholbert
--HG--
extra : rebase_source : 6359235dba4b22dbbfafab2e993d5b9191a9b310
2011-12-18 01:00:47 -05:00
Chris Pearce
1511fb7d91 Bug 706672 - Revoke DOM full-screen when windowed plugin focused on non-MacOSX systems, and deny requests for full-screen from non-focused-tab documents. r=smaug 2011-12-16 10:42:36 +13:00
Ms2ger
ee10d28665 Bug 707498 - Use a template to get the array length for nsGenericElement::FindAttributeDependence; r=Waldo 2011-12-18 11:09:27 +01:00
Ms2ger
edaf8cc36e Bug 705188 - Use IDL for mozIJSSubScriptLoader::LoadSubScript, {xpcIJSModuleLoader,nsIXPCComponents_Utils}::Import; r=bz 2011-12-18 11:09:16 +01:00
Ms2ger
c480d4db80 Bug 707576 - Remove nsIDOMNSElement; r=smaug 2011-12-18 11:06:23 +01:00
Matthew Schranz
3f317903d7 Bug 334573 - Changed nsLoadBlockingPLDOMEvent to nsLoadBlockingAsyncDOMEvent. r=sicking 2011-12-17 01:02:42 -05:00
Matthew Schranz
5eb12bc3ef Bug 334573 - Renamed all references of nsPLDOMEvent to nsAsyncDOMEvent. r=sicking
--HG--
rename : content/events/public/nsPLDOMEvent.h => content/events/public/nsAsyncDOMEvent.h
rename : content/events/src/nsPLDOMEvent.cpp => content/events/src/nsAsyncDOMEvent.cpp
2011-12-17 01:02:05 -05:00
Ed Morley
005827b2ca Merge mozilla-central and mozilla-inbound 2011-12-16 10:19:52 +00:00
Jan Varga
152a98864a Bug 661877 - Enable storing files in IndexedDB. r=bent 2011-12-16 08:34:24 +01:00
Gavin Sharp
3965ff571f Bug 510670: have the nsIWebBrowserPersist used for some drops automatically detect the need for content converters (fixes dropping of images served gzipped on Mac), r=bz
--HG--
rename : browser/base/Makefile.in => browser/modules/Makefile.in
extra : rebase_source : 41d0502e968cdf7b624547cb9e993591ed06ec98
2011-12-15 11:14:38 -08:00
Gabor Krizsanits
108063a5d0 Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=bz 2011-12-15 15:10:36 +00:00
Brian O'Keefe
755f228bc5 Bug 708846 - Clean up the SVG namespace checks to use nsIContent::IsSVG() instead; r=longsonr 2011-12-15 14:47:03 +00:00
Masatoshi Kimura
26a3901298 Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Patrick McManus
687329f540 bug 664284: Add HSTS support for websockets. r=mcmanus 2011-12-15 15:23:00 -08:00
Jason Duell
cd5794508e Bug 676439 - Websocket Binary Message support: tests. r=mcmanus 2011-12-15 15:19:51 -08:00
Jason Duell
519437da29 Bug 676439 - v2: Websocket Binary Message support: DOM changes. r=smaug 2011-12-15 15:19:01 -08:00
Ed Morley
8e0d79be44 Backout 80831e4a10de (bug 706672) for build failures on a CLOSED TREE 2011-12-15 22:09:55 +00:00
Chris Pearce
17d1a329d9 Bug 706672 - Revoke DOM full-screen when windowed plugin focused on non-MacOSX systems, and deny requests for full-screen from non-focused-tab documents. r=smaug 2011-12-16 10:42:36 +13:00
Boris Zbarsky
e3decbb3a4 Bug 710981. Add the new name for cancelAnimationFrame. r=roc 2011-12-15 08:53:06 -05:00
Boris Zbarsky
8415f57767 Bug 708169. Warn when null or no argument is passed to mozRequestAnimationFrame. r=roc 2011-12-15 08:53:06 -05:00
Boris Zbarsky
e1d7d1473c Bug 709384. Manage our scheduled state better when animation frame requests are canceled. r=roc 2011-12-15 08:53:06 -05:00
Boris Zbarsky
42b109a677 Bug 709256 part 4. Don't flush the sink for HTML if we've already started layout. r=smaug 2011-12-14 23:42:15 -05:00
Boris Zbarsky
74aef0d2d5 Bug 709256 part 3. Skip calling PresShell::FlushPendingNotifications altogether if there might not be anything to flush. r=roc 2011-12-14 23:42:15 -05:00
Margaret Leibovic
dc586e77d4 Bug 707886 - Platform support for non-e10s click-to-play plugins. r=jst,blassey 2011-12-10 09:23:05 -08:00
Kyle Huey
dfbc9140d4 Bug 708198. r=jst 2011-12-15 15:40:40 -05:00
Atul Aggarwal
21d1ffdeca Bug 695648 - Remove unnecessary friend class mozilla::AutoRestore<bool> from nsContentUtils; r=smaug a=removal 2011-12-13 14:17:59 +00:00
Andrew Quartey
e51c16190c Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal 2011-12-13 14:17:59 +00:00
Margaret Leibovic
019848a315 backout f9b9d90ff8e1 due to bustage 2011-12-09 14:56:20 -08:00
Margaret Leibovic
bbbf10a58e Bug 707886 - Platform support for non-e10s click-to-play plugins. r=jst 2011-12-09 14:04:15 -08:00
Ed Morley
a5f3676554 Merge last green changeset of mozilla-inbound to mozilla-central 2011-12-09 11:12:51 +00:00
Neil Rashbrook
d11585e633 Bug 698256 Add and use Substring(data, length) convenience method r=dbaron 2011-12-09 08:35:41 +00:00
Daniel Holbert
2253d1ae37 Bug 704482 followup: use nsGkAtoms instead of NS_NewAtom(), for efficiency & to avoid leaking. r=dbaron 2011-12-08 17:39:59 -08:00
Brandon Sterne
e2e12895f0 remove unused variable introduced by bug 702439, r=me 2011-12-08 14:59:17 -08:00
Ed Morley
4bc215b78a Merge last green changeset of mozilla-inbound to mozilla-central 2011-12-08 15:12:20 +00:00
Kyle Huey
a0e0b72e30 Bug 692067: Make WebSockets trigger content policies. r=smaug,dveditz 2011-12-07 18:19:43 -05:00
Henri Sivonen
5456f0905e Back out bug 701787 due to orangeness conflict with tests added in bug 664179. 2011-12-07 15:11:47 +02:00
Masatoshi Kimura
c27fbd8836 Bug 701787 - Part 2: Tests. r=smaug. 2011-12-07 13:30:19 +02:00
Masatoshi Kimura
d8b7da54ae Bug 701787 - Part 1: disallow responseType and withCredentials for sync XHR. r=smaug 2011-12-07 13:29:00 +02:00
Boris Zbarsky
bd8d6674cc Bug 647518 part 2. Allow canceling requestAnimationFrame requests. r=roc 2011-12-06 23:43:18 -05:00
Boris Zbarsky
83bd6bb9a4 Bug 647518 part 1. Make requestAnimationFrame return handles for animation frame requests. r=roc 2011-12-06 23:43:18 -05:00
Andrew McCreight
c1f8b80b9b Bug 707988 - remove nsIDOMGCParticipant.h. r=jst 2011-12-06 10:40:13 -08:00
Chris Pearce
801e705807 Bug 704039 part 2 - Implement full-screen mode rollback stack. r=bz 2011-12-07 10:59:39 +13:00
Chris Pearce
40cb2a0345 Bug 704039 part 1 - Rename nsDocument::SetFullScreenState(Element*,bool) to nsDocument::SetFullScreenElement(Element*). r=bz 2011-12-07 10:59:27 +13:00
Wellington Fernando de Macedo
e817588759 Bug 664179 - Allow Cross-Origin URLs in EventSource (Server-Sent Events). r=sicking 2011-12-05 21:02:42 -02:00
Boris Zbarsky
f9b981c024 Fix missing braces compile warning. No bug. 2011-12-06 01:45:13 -05:00
Brandon Sterne
7c050adba0 Bug 702439 - allow subframes of CSP documents to run javascript: URLs, r=bz 2011-12-05 09:42:08 -08:00
Robert O'Callahan
2f15f228da Bug 699351. Add nsIFrameLoader::clipSubdocument API to allow XUL <iframe> and <browser> to not clip the subdocument. r=tnikkel,sr=bzbarsky 2011-12-06 01:38:46 +13:00
Blake Kaplan
cc0566f793 Bug 698621 - Part 1: Implement cross-thread dispatching for web workers. r=bent 2011-12-05 15:58:27 +08:00
Ed Morley
25b5e3e769 Merge mozilla-central and mozilla-inbound 2011-12-04 15:04:54 +00:00
Ms2ger
22368cd88a Bug 705428 - Remove dead code: nsXMLContentSerializer::AppendToString(const PRUnichar*, PRInt32, nsAString&); r=sicking 2011-12-03 22:50:16 +01:00
Ms2ger
0b57453763 Bug 705427 - Remove dead code: nsAttrAndChildArray::SetAttr(nsIAtom*, const nsAString&); r=sicking 2011-12-03 22:50:16 +01:00
Andrew Quartey
70e4721eac Bug 704013 - nsStyleLinkElement::ParseLinkTypes should use HTML5 definition of "whitespace"; f=Ms2ger r=bz 2011-12-03 22:50:15 +01:00
Ed Morley
a115603d38 Merge mozilla-central and mozilla-inbound 2011-12-01 04:14:57 +00:00
Brad Lassey
fb38b7fab8 Bug 687972 - backing out changesets b17ab862bbc1 and a6db0c6c94a3 r=orange 2011-11-30 22:59:00 -05:00
Robert O'Callahan
5549f1b115 Bug 699351. Add nsIFrameLoader::clipSubdocument API to allow XUL <iframe> and <browser> to not clip the subdocument. r=tnikkel,sr=bzbarsky 2011-11-30 21:14:26 -05:00
Boris Zbarsky
24607a6f09 Bug 706528. Remove vestigial beforepaint event stuff. r=smaug 2011-11-30 19:45:32 -05:00
Ed Morley
13c27f3c4f Bug 703889 - Remove |ifndef DISABLE_XFORMS_HOOKS| since it's never defined; r=ted 2011-11-30 18:37:57 +00:00
Marco Bonardo
1a826c7453 Merge mozilla-central to mozilla-inbound 2011-11-30 00:02:46 +01:00
julian.reschke@gmx.de
bbb8546eeb Bug 700589 - Fix Content-Type parser to treat single quote as regular character instead of a delimiter. r=jduell r=bz 2011-11-29 14:06:32 -08:00
Olli Pettay
bb5ca20cca Bug 705272 - [CC] Don't traverse the hidden window, r=jst
--HG--
extra : rebase_source : 06cd14f11d9a43fa2b44a5b09a019962c03d16e0
2011-11-29 19:19:08 +02:00
Olli Pettay
faa2652e7a Bug 705651, simplify message manager, and remove certainly useless comment about OMIT_COMPONENTS_OBJECT, r=mrbkap 2011-11-30 17:51:40 +02:00
Mounir Lamouri
094d224262 Bug 707870 - Disconnect mListenerManager in nsDOMEventTargetHelper instead of expecting inheriting classes to do it. r=smaug 2011-12-08 16:31:14 +08:00
Brian O'Keefe
5717da0395 Bug 589640 (part 2) - Make nsIContent::IsSVG more like IsHTML, and remove the eSVG node type. r=bzbarsky 2011-12-08 01:32:11 -05:00
Andrew Quartey
782713b602 Bug 689834 - Respect the muted attribute on media elements. f=josh r=kinetik 2011-12-03 13:04:03 +01:00
Phil Ringnalda
001a640116 Back out dcf31efc8c12 and 79c9926f0f45 (bug 702439) to investigate the effects on the browser-chrome leak 2011-12-02 19:43:24 -08:00
Jonas Sicking
ba936a2ec5 Backed out changeset 127374ca4f92 due to test failures. 2011-12-02 19:29:35 -08:00
Wellington Fernando de Macedo
708f0b0221 Bug 664179: Support cross-origin EventSource. r=me 2011-12-02 18:32:46 -08:00
Brandon Sterne
8462252cd3 Add missing tests for Bug 702439, r=bz 2011-12-02 16:56:40 -08:00
Brandon Sterne
f79bb5d11f Bug 702439 - allow subframes of CSP documents to run javascript: URLs, r=bz 2011-12-02 16:07:30 -08:00
Ryan VanderMeulen
c99172b952 Bug 705356 - Remove JSOPTION_JIT and JSOPTION_PROFILING. r=dvander 2011-11-28 14:57:31 -08:00
Boris Zbarsky
6c0d48e059 Bug 704171 part 2. Remove the no-argument form of mozRequestAnimationFrame. r=roc 2011-11-28 07:49:53 -05:00
Boris Zbarsky
736d324733 Bug 704175 part 2. Rename nsIAnimationFrameListener to nsIFrameRequestCallback. r=roc
--HG--
rename : dom/interfaces/base/nsIAnimationFrameListener.idl => dom/interfaces/base/nsIFrameRequestCallback.idl
2011-11-28 07:48:30 -05:00
Masayuki Nakano
10df4c7960 Bug 685395 part.5 Reomve IME state in nsIContent r=roc, sr=matspal 2011-11-27 20:51:53 +09:00
Masayuki Nakano
8d53240d2b Bug 685395 part.4 IME open state should be able to set/get by InputContext r=roc, sr=matspal 2011-11-27 20:51:53 +09:00
Masayuki Nakano
bc964af0e3 Bug 685395 part.2 Move IMEContext to mozilla::widget::InputContext r=roc 2011-11-27 20:51:52 +09:00
Masayuki Nakano
435f4bcaac Bug 703150 Cannot drag scrollbar thumb if stopPropagation() of mousedown event is called r+sr=smaug 2011-11-25 10:09:58 +09:00
Henri Sivonen
a1e5e9988d Bug 705072 - Limit HTML support in XHR to responseType == "document" to avoid changing the behavior for legacy users. r=smaug. 2011-11-24 17:28:12 +02:00
Ed Morley
f2d4151ee5 Merge mozilla-central to mozilla-inbound 2011-12-08 15:16:01 +00:00
Henri Sivonen
cd9e3494e6 Bug 707142 - Replace the "moz-json" responseType with spec-compliant "json". r=smaug. 2011-12-08 15:56:14 +02:00
Masatoshi Kimura
efbbd9eb31 Bug 701787 - Part 2: Tests. r=smaug. 2011-12-08 15:55:20 +02:00
Masatoshi Kimura
be7be4d64a Bug 701787 - Part 1: disallow responseType and withCredentials for sync XHR. r=smaug 2011-12-08 15:54:05 +02:00
Andrew McCreight
250806422b Bug 668855, part 2: add nsCycleCollectionTraversalCallback hook for weak mappings. r=peterv 2011-11-24 07:35:56 -05:00
L. David Baron
4fc409e924 Apply font size inflation to text. (Bug 627842, patch 9) r=roc
This applies the font size inflation to reflow and painting of text
frames.  However, it does not (by design) apply to intrinsic width
computation, since the inflation is itself a function of the containers
width, which can depend on the intrinsic width.
2011-11-23 18:48:23 -08:00
Masatoshi Kimura
b9f694ca5a Bug 704284 - Crashtest, r=hsivonen 2011-11-23 10:22:41 +02:00
Jeff Walden
ae17ec2da9 Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Patrick McManus
defb404ca8 bug 704004 websockets null check of channel before calling close on it r=jduell 2011-11-22 18:42:59 -05:00
Henri Sivonen
d4c4dd4cf8 Bug 704284 - Null check mResponseXML in nsXMLHttpRequest::IsWaitingForHTMLCharset(). r=smaug. 2011-11-22 13:23:46 +02:00
Chris Pearce
011644c901 Bug 604682 - Remove unnecessary copy of audio data when there's no MozAudioAvailable event listener. r=smaug,kinetik 2011-11-22 13:34:21 +13:00
Robert Longson
44824c6d1e Bug 696078 - Move filter attribute processing to frame classes. r=jwatt
--HG--
rename : layout/svg/base/src/nsSVGLeafFrame.cpp => layout/svg/base/src/SVGFELeafFrame.cpp
extra : rebase_source : 74ac4d84da2f0a99272e83590a9adc1dc8511fce
2011-11-19 17:53:52 +00:00
Chris Pearce
b3d1462d40 Bug 687687 - Log helpful messages to web-console when full-screen is denied/revoked. r=bz 2011-11-22 10:23:48 +13:00
Masatoshi Kimura
7e8871955f Bug 703380 - Test fix & added a new test; r=smaug
--HG--
extra : rebase_source : adddf8781b55c797ca15139cbc1e5a9c5032494a
2011-11-21 12:07:27 -06:00
Masatoshi Kimura
7f072394e6 Bug 703380 - XMLHttpRequest can fire an abort event after a load event, but should not; r=smaug
--HG--
extra : rebase_source : 07e72b23cfad23e0ea1e860fa48b1f6ed0587412
2011-11-21 12:07:12 -06:00
Fabien Cazenave
bb3ae888f0 Bug 690372 - Give an IID to dom::Element. r=ehsan 2011-11-21 16:32:14 +01:00
Henri Sivonen
c8106b707a Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Matthew Gregan
37527f99d1 Bug 449157 - Implement loop attribute on media elements. r=roc 2011-11-21 11:59:01 +13:00
Mounir Lamouri
caa14e0f14 Bug 695014 - nsFormFillController shouldn't watch input elements withouth a list nor autocomplete. f=ehsan, r=bz,zpao,dolske 2011-11-20 19:02:47 +01:00
Ed Morley
2568283122 Merge mozilla-central and mozilla-inbound 2011-11-20 11:17:44 +00:00
Andrew
b4dc0e784e Bug 466626 - Make nsStyleLinkElement::ParseLinkTypes return a bitmask; r=roc 2011-11-20 11:13:40 +00:00
Brad Lassey
a8bebf60b8 bug 703815 - Click to activate message is displayed even if plugins are disabled r=dougt 2011-11-19 23:08:27 -05:00
Olli Pettay
0647ef9046 Bug 703715 - Add Telemetry probes for sync XHR, r=sicking, taras 2011-11-19 20:50:17 +02:00
Olli Pettay
5ff9b0f2e7 Bug 703654 - Improve document's CC Describe, r=mccr8 2011-11-19 20:49:17 +02:00
Kyle Huey
12171860ba Fix Bug 700512. r=sicking,bsmedberg 2011-11-18 10:19:44 -05:00
Chris Pearce
4a535a78eb Bug 703079 - Always dispatch mozfullscreenchange to owning document. r=bz 2011-11-18 16:53:33 +13:00
Oleg Romashin
ad07ec3d24 Bug 702656 - Fennec zoomed shadow layers scrolling is incorrect. r=roc 2011-11-17 15:52:29 -08:00
Matt Brubeck
41f27a05ad Back out 75ace50df008 to try to fix failures after last central/inbound merge on a CLOSED TREE 2011-11-16 11:50:48 -08:00
Ed Morley
f40e833352 Merge mozilla-central to mozilla-inbound 2011-11-16 18:05:23 +00:00
Ed Morley
0d4271ee17 Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-16 11:02:43 +00:00
Ms2ger
6622e2e115 Bug 672796 - Move MOZILLA_GUARD_OBJECT_NOTIFIER_* out of AutoRestore.h; r=khuey 2011-11-16 08:50:19 +01:00
Ms2ger
bfdd6b6239 Bug 698261 - Remove the aElementType argument of NS_NewElement; r=bz 2011-11-16 08:50:19 +01:00
Ms2ger
a79e32f13e Bug 669012 - Part g: Remove NS_CONTENT_SCRIPT_IS_EVENTHANDLER; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Ms2ger
145242c2ff Bug 669012 - Part f: Less QIs in nsScriptLoader::ProcessScriptElement; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Ms2ger
82fa51a5e0 Bug 669012 - Part e: Make nsScriptLoader::ProcessScriptElement return a boolean; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Ms2ger
824a7d2eb5 Bug 669012 - Part d: Make nsIScriptElement::MaybeProcessScript return a boolean; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Ms2ger
ff51eaf751 Bug 669012 - Part c: Remove the return value from nsIContent::DoneAddingChildren; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Ms2ger
c8b7c1e16a Bug 669012 - Part b: Introduce nsIScriptElement::AttemptToExecute; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Ms2ger
921d8dd46e Bug 669012 - Part a: ignore for and event attributes for SVG elements; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Ms2ger
aeb5fc210d Bug 702223 - Remove duplicated code from nsXMLHttpRequest::GetResponse; r=bz 2011-11-16 08:50:18 +01:00
Chris Pearce
8d29e4174d Bug 701260 - Deny requests for full-screen if any doc in the tab has a windowed plugin. r=roc 2011-11-16 15:09:01 +13:00
Olli Pettay
9c9390e594 Bug 701342 - Revoke mPendingTitleChangeEvent when unlinking document, r=peterv 2011-11-15 20:47:57 +02:00
Henri Sivonen
449e6f57ec Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Chris Pearce
7bbdb66a3b Bug 700764 - ESC keypress in subdoc of full-screen doc should cause full-screen exit. r=smaug 2011-11-15 09:33:37 +13:00
Ed Morley
7a94e94707 Backout 15cf68a3c027, 2f403e4c42c8, 61534874aed7, 1cb3705557d9 & 03970d1fc919 (bug 661746) for Win PGO build failures; a=bz 2011-11-14 18:10:22 +00:00
David Zbarsky
b9bd3dd4bb Bug 661746 - Part 2: Make selector matching work with const elements. r=bzbarsky 2011-11-14 16:30:08 +13:00
David Zbarsky
71021df43b Bug 660959 - Update link state less lazily r=bz 2011-11-14 16:24:41 +13:00
Daniel Holbert
cfb96d29ae Bug 700895 patch 3: Apply nsDataDocumentContentPolicy::ShouldLoad()'s external-resource-doc restrictions to image documents, too. r=roc 2011-11-14 11:21:41 +13:00
Daniel Holbert
8b0d1d45e6 Bug 693940: Restrict SVG-as-an-image to being able to load (local) URIs that have either the URI_INHERITS_SECURITY_CONTEXT or URI_LOADABLE_BY_SUBSUMERS flags. r=bz 2011-11-07 13:45:42 -08:00
Henri Sivonen
3e51b8fc49 Bug 92264 - Implement outerHTML. Part of the patch by Ms2ger. r=smaug. 2011-11-10 14:02:22 +02:00
Henri Sivonen
59ec018765 Back out changeset 0fb81504b0aa due to Windows build breaking. 2011-11-10 14:49:54 +02:00
Henri Sivonen
00241c62cd Bug 92264 - Implement outerHTML. Part of the patch by Ms2ger. r=smaug. 2011-11-10 14:02:22 +02:00
Justin Lebar
3c1ff6be4d Bug 586010 - Send dump() output to Android device log. r=bz
--HG--
extra : rebase_source : f1712d831aaa6fbd8e1bfd6060fbb4aa951ccb74
2011-11-09 19:27:08 -05:00
Scott Johnson
8b64920eb3 Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats] 2011-11-09 13:39:16 -08:00
Scott Johnson
e4fbf31815 Bug 666446, Part 1/10 - Add method to imgIContainer for notification of refresh driver events. [r=dholbert,joe][sr=mats] 2011-11-09 13:39:15 -08:00
Daniel Holbert
8da341a388 Bug 700895 patch 1: Add a more explicit check for SVG-as-an-image in MaybeCreateDocShell, and improve reftests for <iframe>s being blocked in SVG-as-an-image. r=roc
--HG--
rename : layout/reftests/svg/as-image/img-foreignObject-embed-1-helper.svg => layout/reftests/svg/as-image/img-foreignObject-iframe-1a-helper.svg
rename : layout/reftests/svg/as-image/img-foreignObject-embed-1.html => layout/reftests/svg/as-image/img-foreignObject-iframe-1a.html
rename : layout/reftests/svg/as-image/img-foreignObject-embed-1-helper.svg => layout/reftests/svg/as-image/img-foreignObject-iframe-1b-helper.svg
rename : layout/reftests/svg/as-image/img-foreignObject-embed-1.html => layout/reftests/svg/as-image/img-foreignObject-iframe-1b.html
2011-11-09 11:11:11 -08:00
Mats Palmgren
99c8316624 Bug 700090 - Range offsets are allowed to be at node length + 1. r=smaug 2011-11-09 12:52:52 +01:00
Marco Bonardo
de58c7bf0f Merge mozilla-central to mozilla-inbound 2011-11-08 23:58:10 +01:00
Daniel Holbert
7f1fd946ec back out 10814cd743e3 (from bug 693940) since it breaks moz-filedata URIs in SVG-as-an-image 2011-11-08 12:49:12 -08:00
Ed Morley
b66adf55e2 Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-08 08:01:18 +00:00
Ben Turner
dbd7d35169 Bug 658178 - 'Make XHR2 response/responseType work in Web Workers'. r=jst+sicking+mrbkap. 2011-11-07 17:01:29 -08:00
Chris Jones
32b5bac310 Bug 679966, part 1: Add vibrator support for android. r=blassey,cjones 2011-09-30 00:00:48 -07:00
Daniel Holbert
038d6caf4d Bug 693940: Restrict SVG-as-an-image to load URIs with URI_INHERITS_SECURITY_CONTEXT. r=bz 2011-11-07 13:45:42 -08:00
Boris Zbarsky
81399488cf Bug 699826. Fix nodelist access out of bounds to correctly forward to the proto. r=peterv 2011-11-08 07:59:38 -05:00
Peter Van der Beken
e876260b3c Bug 699799 - Don't AddRef/Release every uncollectable document before cycle collection. r=jst.
--HG--
extra : rebase_source : 4436eaaded310ff4a3927e71843f7de664b50f9d
2011-11-07 13:58:08 +01:00
Peter Van der Beken
090dd6e077 Bug 699807 - Don't create runnables for setting the title on unlinked documents. r=smaug.
--HG--
extra : rebase_source : 108acb25caced7dbf4cc93e9afab60f6ebf8a9b6
2011-11-07 13:56:50 +01:00
Ed Morley
efc6f1f14e Merge mozilla-central and mozilla-inbound 2011-11-05 18:46:28 +00:00
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Matheus Kerschbaum
4813247daf Bug 698630 - Remove --disable-smil build option; r=dholbert 2011-11-05 10:32:52 +00:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Chris Pearce
4c680b0622 Bug 695935 - Make document.mozRequestFullScreen() asynchronous. r=bz 2011-11-05 08:05:16 +13:00
Mats Palmgren
a5f993933d Bug 693212 - crash test. r=test-only 2011-11-04 19:05:35 +01:00
Makoto Kato
8d98c52488 Bug 254298 - nsPlainTextSerializer.cpp should not use AssignWithConversion. r=smaug 2011-11-04 17:44:13 +09:00
Chris Pearce
848ff16c8c Bug 685402 part 1 - Exit DOM full-screen on document hide (navigation). r=bz 2011-11-04 20:30:09 +13:00
Boris Zbarsky
f4cede8acd Bug 698974. Fix assertion to not assert things that are just false. r=sicking 2011-11-04 01:32:09 -04:00
Boris Zbarsky
9a5b112e48 Bug 684638 part 4. Switch from nsIDOMNode to nsINode in mozInlineSpellWordUtil. r=ehsan 2011-11-04 01:32:09 -04:00
Boris Zbarsky
cba75ef2b0 Bug 684638 part 2. Make it simpler to set up a range. r=smaug 2011-11-04 01:32:09 -04:00
Johnny Stenback
83ad81a6b8 Fixing bug 691785. r=khuey 2011-11-03 22:23:26 -07:00
Neil Deakin
f2951fb37f Bug 94199, part 4, serialize/deserialize xbl to startup cache, r=bz 2011-11-03 16:39:08 -04:00
Ben Turner
3e1f223457 Bug 692669 - 'IndexedDB: remove nsIVariant from IDB* interfaces'. r=sicking.
--HG--
extra : transplant_source : %84%E3%96%9F%C5%BA%D56%A4%94%83%9F%C3%F5%2B%01%7B%87%FB9
2011-11-03 08:57:30 -07:00
Marco Bonardo
a9a0608213 Merge mozilla-central to mozilla-inbound 2011-11-03 10:46:56 +01:00
Chris Pearce
29e76a123f Bug 691947 - Relax DOM full-screen API security constraints for requests coming from chrome. r=roc 2011-11-03 19:37:38 +13:00
Justin Lebar
b2816b9b65 Merge backout 2011-11-02 20:11:25 -04:00
Justin Lebar
0f63342314 Back out bug 666446 due to Talos regression. 2011-11-02 20:11:01 -04:00
Scott Johnson
6ce9c5bbde Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats] 2011-11-01 11:06:53 -04:00
Henri Sivonen
e6ccfac972 Bug 482921 part 2 - Highligh tokenizer-level errors in View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Chris Pearce
b448de5ebb Bug 697636 - Don't grant full-screen requests in hidden documents. r=bz 2011-11-02 13:03:04 +13:00
Chris Pearce
5210c8bcb2 Bug 688648 - Dispatch mozfullscreenerror event when requests for full-screen are denied. r=smaug 2011-11-02 13:02:47 +13:00
Henri Sivonen
8b1f8a82bb Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay. 2011-11-01 17:27:36 +02:00
Boris Zbarsky
11dfb25fdb Bug 620122. Make sure, when unlinking, to remove the kids from our child list before unbinding them. r=smaug 2011-11-02 23:36:16 -04:00
Ed Morley
a77ac11344 Backout eb32aca6d54d, b5c0bfd03fcf and 5675bf2c7930 (bug 692669 and bug 692669) for failing to build on all platforms 2011-11-03 01:57:48 +00:00
Ben Turner
8eacae1c32 Bug 692669 - 'IndexedDB: remove nsIVariant from IDB* interfaces'. r=sicking.
--HG--
extra : transplant_source : E%E9%F9%B5%FB%88%1E%FA%C1%BE%04%1F%1E%3D%5E%EB%3C%D2%D2c
2011-11-02 18:03:15 -07:00
Patrick McManus
f495a11892 bug 599295 r=jduell
--HG--
extra : rebase_source : b376fd42a37c8b92389b43fac2e253a8466c3349
2011-11-02 17:43:27 -04:00
Chris Pearce
7ad0a326f4 Bug 685779 - Add -moz-full-screen-ancestor pseudo class. r=bz 2011-11-01 18:11:09 +13:00
Boris Zbarsky
3f1407e7b3 Bug 696205 part 2. Add a querySelector fast-path for selectors whose rightmost sequence of simple selectors contains an id. r=sicking 2011-10-31 22:50:50 -04:00
Boris Zbarsky
69ca7c8c5f Bug 696205 part 1. Refactor querySelector and querySelectorAll so that there is only one codepath to modify. r=sicking 2011-10-31 22:49:10 -04:00
Boris Zbarsky
0a2deaca87 Bug 696201. Switch nsContentList to using an nsTArray as the element store. r=sicking 2011-10-31 22:48:59 -04:00
Kyle Huey
f289751612 Backed out changeset d40e649ff250 2011-10-31 11:39:46 -04:00
Kyle Huey
da627d5039 Bug 692067: Make WebSockets go through content policies. r=smaug 2011-10-31 09:29:20 -04:00
Olli Pettay
d57ca4ef6c Bug 667490 - EventSource should use the same nsIContentPolicy type as XHR, r=dveditz 2011-10-31 14:48:50 +02:00
Olli Pettay
e4fe236060 Bug 698061 - document.importNode's deep attribute should be optional, r=sicking 2011-10-30 23:17:53 +02:00
Ed Morley
7275a8d455 Merge mozilla-central and mozilla-inbound 2011-10-30 11:52:20 +00:00
Ms2ger
4a2832804a Bug 688547 - Use Element* for nsIDocument::{SetSubDocumentFor,FindContentForSubDocument}; r=peterv 2011-10-29 22:22:19 +02:00
Ms2ger
46522f17ea Bug 697210 - Part c: Remove nsIDocument::CreateElem's aDocumentDefaultType argument; r=bz 2011-10-29 22:21:20 +02:00
Ms2ger
e169ba623f Bug 697210 - Part b: Remove unnecessary IsHTML() check in nsDocument::CreateElement; r=bz 2011-10-29 22:20:57 +02:00
Ms2ger
a505598085 Bug 697210 - Part a: Make nsIDocument::GetDefaultNamespaceID non-virtual and have it return mDefaultElementType; r=bz 2011-10-29 22:20:37 +02:00
Ms2ger
c4446bc22d Bug 694769 - Remove nsIScriptContext::GetScriptGlobal in favour of GetGlobalJSObject; r=smaug 2011-10-29 22:09:04 +02:00
Ms2ger
731edba0b8 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Phil Ringnalda
77eee0f201 Back out 3ad7f12bde01 (bug 664179) and 3ab7b95bfcb5 (bug 673296) for Linux debug M1 orange 2011-10-29 09:52:45 -07:00
Wellington Fernando de Macedo
6cb54c944d Bug 664179: Allow EventSource to access cross-origin event streams using CORS. r=smaug,sicking 2011-10-28 19:52:27 -07:00
Wellington Fernando de Macedo
d2c52c9c82 Bug 673296: Fix EventSource origin handling. r=sicking,smaug 2011-10-28 19:52:27 -07:00
Jonas Sicking
ac8b04fb20 Bug 687400: Kill Node.isSameNode. r=smaug 2011-10-28 19:52:27 -07:00
Robert Longson
ffc3c60628 Bug 697978 - make display:none svg images load. r=dholbert,bzbarsky 2011-10-29 09:18:25 +01:00
Boris Zbarsky
8c01a25338 Bug 697917. Avoid atomizing the token for nsDOMTokenList containment tests. r=smaug 2011-10-28 13:06:39 -04:00
Masatoshi Kimura
a1d70444e8 Bug 697689 - Fix XHR brokenness, the optimization violated a nsIStreamLisetner contract; r=jonas 2011-10-28 15:05:07 +01:00
Mark Banner
da396f0de1 Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Chris Pearce
e1ec457253 Bug 684618 - Deny requests for full-screen in documents containing windowed plugins. Exit full-screen when windowed plugin added document. r=roc 2011-10-27 15:57:09 +13:00
Masatoshi Kimura
5874569a99 Bug 689008: Part 3 - Tests; r=jonas 2011-10-26 08:52:37 -04:00
Masatoshi Kimura
e73d0508f8 Bug 689008: Part 1 - Skip reading already cached or local resource for blob response; r=jonas 2011-10-26 08:52:19 -04:00
Ehsan Akhgari
399d5fe090 Backout changeset 269ee0275709 (bug 688438) because of bug 688423 2011-10-25 22:32:11 -04:00
Neil Deakin
daf4fbd004 Bug 696021, followup to bug 694226 which fixes scrollbar atoms 2011-10-25 11:05:33 -04:00
Kyle Huey
fcb45b0c7d Bug 696603: Handle null being passed to BlobBuilder.append. r=sicking 2011-10-24 09:38:41 -04:00
Marco Bonardo
5a3249e076 Backout cb50e96dbee0 (Bug 677079) for Win PGO mochitests failures. 2011-10-22 11:03:26 +02:00
Bill McCloskey
222d42bf92 Bug 677079 - Remove jscntxt.h from INSTALLED_HEADERS (r=Waldo) 2011-10-20 10:14:24 -07:00
Justin Lebar
f1b1dbc9b2 Bug 683777 - In an attempt to fix a crash in nsDocShell::InternalLoad, re-land bug 646641 with an extra null-check. r=smaug 2011-10-21 11:26:34 -04:00
Marco Bonardo
52f20d29d1 Merge mozilla-central to mozilla-inbound 2011-10-21 10:02:30 +02:00
Marco Bonardo
c5f832692e Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-21 10:00:11 +02:00
Kyle Huey
72ac2e4c02 Bug 687361: Implement the new IndexedDB setVersion API. r=bent
--HG--
rename : dom/indexedDB/nsIIDBVersionChangeRequest.idl => dom/indexedDB/nsIIDBOpenDBRequest.idl
2011-10-20 12:10:56 -04:00
Jeff Muizelaar
c96a172091 Bug 695324. Fix precedence problem found with clang warning. r=mounir
'*' has higher precedence than '?' so bracket the expression
so we get what we want.

--HG--
extra : rebase_source : 5de14b144a54f482fc836dd4ccc14c7d2c5bfb45
2011-10-18 14:19:07 -04:00
Ehsan Akhgari
396391c9a2 Bug 688438 - Fix the IME code to handle text controls correctly when checking for IME status; r=bzbarsky
--HG--
extra : rebase_source : 4c532f5ece3e88e907aabfef2197bced1223d9f2
2011-10-16 16:15:40 -04:00
Marco Bonardo
0082846db5 Merge mozilla-central to mozilla-inbound 2011-10-19 11:50:01 +02:00
Marco Bonardo
b46efe643e Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-19 11:47:57 +02:00
Joel Maher
4c3df6962f Bug 675245 - cleanup pluginutils and SimpleTest.executeSoon() to utilize specialpowers. r=ted 2011-10-19 05:35:05 -04:00
Olli Pettay
e5b7e8ee46 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay
a86b1a4d43 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Justin Lebar
e7ce3fbda2 Back out rev 571224f5f4e5 (bug 683777) due to Android b-c orange. 2011-10-17 21:09:17 -04:00
Justin Lebar
c49c011b9d Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
Ouss. BADR
b62aa3688b Bug 685218 - Expose layout-guess attribute on HTML tables having @datatable='0' attribute, r=surkov 2011-10-19 10:36:35 +09:00
Boris Zbarsky
5a7f0947ff Bug 320799. Fix client* and scroll* for comboboxes to not consider the dropdown's scrollable area. r=roc 2011-10-18 16:17:45 -04:00
Simon Montagu
faff8b349f Support for HTML5 bdi element in content. Bug 613149, r=peterv 2011-10-18 14:51:57 +02:00
Wellington Fernando de Macedo
465a9d9676 Bug 664894. Eliminate nsWebSocketEstablishedConnection and fold code into nsWebSocket. r=jduell 2011-10-20 01:27:13 -07:00
Justin Lebar
e295b19833 Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00