Commit Graph

9369 Commits

Author SHA1 Message Date
Ed Morley
f41c087da9 Backout 3e4e600adc3b (bug 782542) for crashtest-ipc timeouts 2012-12-16 18:09:39 +00:00
Simon Montagu
fdac8eb518 When the text node that set the directionality of an element with dir=auto is removed, and there is no other text node that can set the directionality, clear the dirAutoSetBy property on the element. Bug 815500, r=peterv 2012-12-16 07:35:07 -08:00
Simon Montagu
4f5549cf7a Test for bug 815477 2012-12-16 07:35:07 -08:00
Simon Montagu
bc7a96c92f Test for bug 815500 2012-12-16 07:35:07 -08:00
Josh Matthews
4d20bfdcc1 Bug 782542 - Secure necko IPDL usage. r=ted,jduell
* * *
Bug 782542 - Disable network.ipc security for certain mochitests r=ted
* * *
Bug 782542.  Disable some more tests that use mozbrowser w/o app r?ted
* * *
Bug 782542 : yet another test needs tweaking. r?ted
2012-12-12 10:40:33 -05:00
Boris Zbarsky
4d4f8f6904 Back out bug 818371 because what we used to do actually matches the spec. 2012-12-16 00:16:47 -05:00
Fabrice Desré
48606428f9 Bug 820196 - CSP slows down app startup by ~12% [r=geekboy] 2012-12-14 14:53:29 -08:00
Masayuki Nakano
76345a848f Bug 813445 part.14 Make dom::EventListenerFlags for nsEventListenerManager r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano
bbb1282d70 Bug 813445 part.12 Remove NS_EVENT_FLAG_ONLY_CHROME_DISPATCH and nsEvent::flags r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano
281792806b Bug 813445 part.6 Remove NS_EVENT_FLAG_PREVENT_MULTIPLE_ACTIONS r=smaug 2012-12-16 10:26:04 +09:00
Masayuki Nakano
4581677d83 Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug 2012-12-16 10:26:03 +09:00
Masayuki Nakano
dae57396e3 Bug 813445 part.1 Make widget::EventFlags and remove NS_EVENT_FLAG_TRUSTED r=roc+smaug, feedback=emk 2012-12-16 10:26:03 +09:00
Jeff Walden
120886ca73 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Jeff Muizelaar
47c921e73e Bug 801061. Switch from imgIRequest to imgRequestProxy. r=joe
This doesn't switch all of the users yet, but is a step in the right
direction.

--HG--
extra : rebase_source : 91b4fef3f67586179c119208d000cf7629e04963
2012-10-12 08:43:01 -04:00
Peter Van der Beken
6f6a341ee2 Fix for bug 815149 (Add support for SOWs and XBL bindings in new DOM bindings). r=bz.
--HG--
extra : rebase_source : c24544fd3d1c99651e279e687a07a02c5b994323
2012-09-12 22:29:30 +02:00
Masatoshi Kimura
4b5034efa3 Bug 804834 - Part 1: Fix tests depending on E4X for-each in content JS. r=waldo 2012-12-21 20:47:52 +09:00
Ed Morley
289bb2e7ae Merge mozilla-central to mozilla-inbound 2012-12-21 11:41:08 +00:00
Daniel Holbert
08a8e686d7 (no bug) Fix 2 comment typos: s/scrol/scroll/ in "scrolbar" and "ScrolLeft". Comment-only, DONTBUILD 2012-12-21 00:38:49 -08:00
Cameron McCormack
154f38b92a Bug 793617 - Implement mask-type property. r=dbaron,longsonr 2012-12-21 11:15:22 +11:00
Josh Matthews
1104291366 Bug 782542 - Secure necko IPDL usage. r=ted,jduell 2012-12-12 10:40:33 -05:00
Boris Zbarsky
91fc77a87e Bug 820902. nsAttrValue::Equals should do ASCII-case-insensitive compares when it's doing case-insensitive compares. r=sicking 2012-12-13 17:08:44 -05:00
Ed Morley
fbf6fab8e8 Backout 67d84be0cc83 (bug 820544) for bustage 2012-12-14 16:58:51 +00:00
Kyle Huey
1a22065d73 Bug 820971: Ignore the ref when checking to see if the image URI is the document URI. r=bz
--HG--
extra : rebase_source : 021930620f62745a946e9f6e774c20e89e1784f7
2012-12-14 08:15:26 -08:00
William Chen
45b4ea581a Bug 820544 - Prefix webidl dictionary native members names to avoid C++ keywords. r=bz 2012-12-11 16:05:46 -08:00
Benjamin Peterson
5089d06aea Backout bug 820902 for bustage. CLOSED TREE 2012-12-13 19:27:02 -05:00
Tanvi Vyas
6933f20fbc Bug 782654 - Add logic to check expandedPrincipal for addon content scripts.
(r=smaug)
2012-12-13 14:53:06 -08:00
Tanvi Vyas
d97a7cf359 Bug 782654 - Use a whitelist approach rather than a blacklist approach for content types, so that by default we block instead of accept unknown types.
XHR + CORS is treated as mixed content with this patch. (r=smaug)
2012-12-13 14:53:06 -08:00
Tanvi Vyas
cb8c045f43 Bug 782654 - Add Mixed Active state and an hasMixedActiveContentLoaded flag. (r=smaug) 2012-12-13 14:53:06 -08:00
John Schoenick
fd3f035caf Bug 810494 - Add test. r=josh 2012-12-13 14:35:17 -08:00
Boris Zbarsky
7516b78554 Bug 820902. nsAttrValue::Equals should do ASCII-case-insensitive compares when it's doing case-insensitive compares. r=sicking 2012-12-13 17:08:44 -05:00
John Schoenick
50c6347ec0 Bug 767638 - Rename InitializeEmbedded* plugin functions to just Initialize*. r=josh 2012-12-13 13:51:28 -08:00
John Schoenick
42acd585bc Bug 767638 - Greatly simplify loading full-page plugins. r=josh 2012-12-13 13:51:27 -08:00
John Schoenick
50a364aec5 Bug 767633 - Part 4 - nsObjectLoadingContent - Don't erroneously decide state changed because the channel went away. r=josh 2012-12-13 13:51:24 -08:00
John Schoenick
84f92e6c9e Bug 767633 - Part 2 - nsObjectLoadingContent should handle all initial streams for plugins. r=josh 2012-12-13 13:51:23 -08:00
John Schoenick
0c05d17225 Bug 767633 - Part 1 - Cleanup nsObjectLoadingContent logic a bit. r=josh 2012-12-13 13:51:22 -08:00
Ed Morley
6d613b7d05 Backout 25c589434eae (bug 817731) for xpcshell timeouts on Windows 2012-12-13 17:40:23 +00:00
Neil Deakin
2802aaef05 Bug 817731, nsAsyncMessageToParent::Run doesn't check if element exists in mASyncMessages, r=smaug 2012-12-13 09:32:22 -05:00
Bobby Holley
65be2969d3 Bug 818716 - Move XBL detection into nsContentUtils and remove filename hack. r=mrbkap 2012-12-12 17:09:37 -08:00
Mats Palmgren
4a453b2f3b Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc 2012-12-12 00:15:07 +01:00
Boris Zbarsky
05e5ef448b Bug 819588. Null-check the window before jumping. r=emk 2012-12-11 17:43:22 -05:00
Nicholas Cameron
c54f8d4754 Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
Kyle Huey
452869c48c Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking 2012-12-11 13:21:03 -08:00
Ms2ger
8fc67dfff7 Bug 776539 - Move FormData to Paris bindings; r=bz 2012-12-11 19:09:56 +01:00
Ed Morley
7980450712 Backout 2044222a3f1d (bug 820230) for build failures on a CLOSED TREE 2012-12-11 16:24:11 +00:00
Mats Palmgren
a8375e7e07 Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc 2012-12-11 16:45:51 +01:00
Mats Palmgren
b650ad3c5f Bug 820219 - Remove the PR_ prefix for a few PR_[U]INT32_MAX that has been added since bug 791906. r=roc 2012-12-11 16:45:50 +01:00
Ed Morley
b3f233b860 Backout 194d8f675d2d & 251a18603db4 (bug 811615) for xpcshell and mochitest failures 2012-12-11 13:09:38 +00:00
Trevor Saunders
7bd1a65ef4 bug 801466 - part 3.2 remove some usage of prmem in content/ r=mounir, khuey 2012-12-05 17:20:57 -05:00
Kyle Huey
316dfb7a2c Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking 2012-12-11 03:54:08 -08:00
Vicamo Yang
f1823e513f Bug 774621 - Part 2/5: DOM implementation, r=sicking 2012-12-11 17:09:42 +08:00
Masatoshi Kimura
ca51d6a175 Bug 638379 - Part 3: Remove workaround for unreliable inputErrorBehavior. r=hsivonen 2012-12-10 09:11:15 -05:00
Masatoshi Kimura
58cec5c7e4 Bug 819650 - Remove nsContentUtils::CreateDocument. r=sicking 2012-12-10 09:05:33 -05:00
Ed Morley
cf7579d105 Merge mozilla-central to mozilla-inbound 2012-12-10 14:03:11 +00:00
Olli Pettay
554540ea81 Bug 814001, less surprising serializeToStream callback calls on content, r=bz 2012-12-10 15:52:34 +02:00
John Schoenick
6e8178b713 Bug 810082 - Part 0.5 - Add script access event for CTP'd plugins r=joshmoz 2012-12-07 14:50:10 -08:00
Benjamin Peterson
aefc683aea Bug 787134 - Fix apparent typo. r=me 2012-12-07 16:01:59 -05:00
Benedict Singer
8b16d029d1 Bug 787134 - Make links not in a document or with an invalid href respond to :link selector. r=bzbarsky 2012-12-07 09:35:14 -05:00
Robert O'Callahan
a13625c113 Bug 818276. Update margins and scrollbar settings for a child document whenever the corresponding IFRAME state changes, even if we do not recreate the presentation. r=matspal 2012-12-07 12:58:15 +13:00
Boris Zbarsky
66a25e5fa2 Bug 818263. Make the EventTarget binding work for nodes. r=smaug,peterv 2012-12-06 20:39:51 -05:00
Boris Zbarsky
5b75fd5eff Bug 818371. Don't fire visibility change events until we're done updating vsibility states in the entire docshell tree. r=smaug 2012-12-06 15:21:18 -05:00
Simon Montagu
6472ad7f01 Remove node from nsTextNodeDirectionalityMap when another node is going to replace it. Bug 816253, r=peterv 2012-12-09 23:10:56 -08:00
Simon Montagu
ec38219fdc Test for bug 816253 2012-12-09 23:10:54 -08:00
Saurabh Anand
6de7befa37 Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
Ehsan Akhgari
e18cc7b5a7 Backed out changeset 8c95cee5cd9e (bug 801466) because of test failures in mochitest-1 2012-12-06 01:09:30 -05:00
Trevor Saunders
2e3e57833b bug 801466 - part 3.2 remove some usage of prmem in content/ r=mounir, khuey 2012-12-05 17:20:57 -05:00
Masatoshi Kimura
64bc10205a Bug 817844 - Remove DOMClassInfo remnants from DOMParser/XMLSerializer. r=bz 2012-12-05 19:49:32 -05:00
Masatoshi Kimura
ce94883385 Bug 817844 - Fix WebIDL signature of serializeToStream/parseFromStream. r=bz 2012-12-05 19:49:32 -05:00
David Keeler
233b384467 bug 818009 - canActivate: only click-to-play-type plugins are valid r=jaws 2012-12-05 13:00:52 -08:00
Boris Zbarsky
4c3f5120bd Bug 817469. Correctly handle embedded null in the string to parse in DOMParser. r=emk 2012-12-04 23:15:47 -05:00
Boris Zbarsky
b8f5cf0684 Bug 648722 part 2. Make :scope match the context node for selectors API calls. r=dbaron 2012-12-04 23:15:47 -05:00
Boris Zbarsky
cd6c640261 Bug 648722 part 1. Add a :scope pseudo-class that just matches the same thing as :root for now. r=dbaron 2012-12-04 23:15:47 -05:00
Patrick McManus
aef0638b1c bug 792438 part 1 - identify css and head-based-js as dedicated network resources r=bz 2012-12-04 18:06:29 -05:00
Andrea Marchesini
d9045177f0 Bug 805333 part 2 - MediaElement connected to AudioChannelService, r=kinetik, a=blocking-basecamp 2012-12-04 11:46:07 -08:00
Andrea Marchesini
d647339fe9 Bug 817043 - mozaudiochanneltype attribute, r=sicking a=blocking-basecamp 2012-12-04 11:46:07 -08:00
Andrew McCreight
ffeef3a759 Bug 792861 - Make HoldJSObjects/DropJSObjects infallible. r=smaug 2012-11-12 17:15:00 -08:00
Masatoshi Kimura
724149ded1 Bug 816410 - Part 2: Remove legacy constructor functions. r=bz 2012-12-03 20:26:16 -05:00
Masatoshi Kimura
08b9f48c04 Bug 816410 - Part 1: Convert XMLSerializer and DOMParser to WebIDL bindings. r=bz 2012-12-03 20:26:16 -05:00
Tom Schuster
9271842e43 Bug 676619 - Implementation of the download attribute for links. r=smaug 2012-12-02 21:55:52 +01:00
Ms2ger
36406ad861 Bug 803825 - Part a: Introduce NS_IMPL_FORWARD_EVENT_HANDLER_FOR_WEBIDL; r=khuey 2012-12-02 09:57:06 +01:00
Peter Van der Beken
7d77272a5e Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz. 2012-11-22 12:09:43 +01:00
John Schoenick
7c56f57006 Bug 813947 - Don't try to call OnStartRequest on failures in nsObjectLoadingContent::LoadObject. r=bsmedberg 2012-11-30 13:34:33 -08:00
Mats Palmgren
f128dda378 Bug 814677 - Replace XP_IS_SPACE with dom::IsSpaceCharacter and add form-feed to match DOM spec. r=bz 2012-11-30 17:04:11 +01:00
Doug Turner
d6df6d2edd Bug 811815 - A href links are not underlined/showing as links in Browser. r=jlebar a=blocking-basecamp 2012-11-29 21:41:40 -08:00
Boris Zbarsky
fcf0a3e4fb Bug 811021. Tell catalog sheets they have the document as an owning node so they won't get double-counted by memory reporters. r=dbaron 2012-11-29 18:24:04 -05:00
Boris Zbarsky
8915de2bfc Bug 814141. Cross-site redirects of a CORS request should null out the request origin. r=sicking 2012-11-29 18:23:55 -05:00
Steven Lee
c4ba48ecb6 Bug 809106 - [music] Unplugging headphones while playing music should pause it. Part2-AudioChannelManager implemenentation. r=jlebar, r=sicking 2012-11-29 17:52:03 -05:00
Boris Zbarsky
3695c38605 Bug 815671 part 2. Make some content code use array references instead of array objects with implicit copies. r=smaug 2012-11-29 11:14:13 -05:00
Ed Morley
563634fe75 Backout 67e95e421678 (bug 814195) for Windows debug jsreftest failures on a CLOSED TREE 2012-11-29 11:17:11 +00:00
Scott Johnson
948f478584 Bug 812372: Rename DocumentViewerImpl to nsDocumentViewer for consistency. [r=ehsan] 2012-11-28 18:26:39 -06:00
Peter Van der Beken
46c89ae29b Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
--HG--
extra : rebase_source : 360b2ee1bc678265781991149185a1c1d262642e
2012-11-22 12:09:43 +01:00
Ehsan Akhgari
cf0638b6a7 Merge mozilla-central into mozilla-inbound 2012-11-28 09:43:30 -05:00
Olli Pettay
c806b877ae Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Olli Pettay
48ba02265b Bug 811206, Fix JSHolder drop handling, part 1 (base), r=mccr8
--HG--
extra : rebase_source : 0ea98d9e542ebade36653661fe4e941a03b87781
2012-11-28 01:54:15 +02:00
Peter Van der Beken
a40774deb2 Fix for bug 814821 (Dromaeo dom-traverse regression from bug 812333) - part 2: make WrapNewBindingObject a little faster. r=bz.
--HG--
extra : rebase_source : ea52aea5d91436b516c8aa439f4af741cdea824c
2012-11-27 10:20:04 +01:00
David Keeler
df08f8d094 bug 746374 - differentiate click-to-play plugin permissions by type and vulnerability status r=jaws r=joshmoz 2012-11-27 10:09:10 -08:00
Michal Novotny
d948158643 Bug 725993 - Remove usage of STORE_ON_DISK flag in XHR code, r=jonas 2012-11-27 12:48:15 +01:00
Daniel Holbert
bb1f3c64fd Bug 815058: Move callers of mozilla-internal-API-only "SetDOMStringToNull()" from nsINode.h to .cpp, to fix "inline function used but never defined" build warnings. r=Ms2ger 2012-11-27 00:41:02 -08:00
Andrew McCreight
ead425b3e0 Bug 814453 - Eliminate NS_IMPL_CYCLE_COLLECTION_UNLINK_NATIVE_0 and NS_IMPL_CYCLE_COLLECTION_TRACE_NATIVE_BEGIN. r=smaug 2012-11-23 11:27:06 -08:00
Olli Pettay
ba7953c4f6 Bug 813919, fix an assertion in DOM Range, r=mats 2012-11-23 17:37:31 +02:00
Ehsan Akhgari
980fea9d8f Bug 814284 - Part 1: Refactor the code necessary for detection of codec support out of nsHTMLMediaElement; r=cpearce 2012-11-21 22:10:41 -05:00
Benoit Jacob
3d8cbb81ad Bug 814444 - Remove now-useless TRAVERSE_NATIVE_BEGIN and UNLINK_BEGIN_NATIVE macros - r=mccr8 2012-11-22 12:15:38 -05:00
Boris Zbarsky
17b5f62161 Bug 814093. Require preflight requests to receive a 200 response. r=sicking 2012-11-22 01:25:01 -05:00
Boris Zbarsky
1d16fa18f5 Bug 814064. We should not fire a readystatechange for our transition to the SENT state. r=sicking 2012-11-22 01:25:01 -05:00
L. David Baron
14c4ae4288 Bug 814302: Don't print to console when an invalid selector is passed to mozMatchesSelector. r=bzbarsky 2012-11-21 21:51:39 -08:00
Boris Zbarsky
07cd537a7d Bug 812744 part 1. Set XSLT result documents to be data documents when we plan to return them to script. r=sicking 2012-11-21 11:18:57 -05:00
Chris Lord
3bdec04a47 Bug 783368 - Add critical display port content property. r=roc
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 22:34:18 +00:00
Bobby Holley
660ca5d5cf Bug 808608 - Remove unnecessary outparam. r=mrbkap 2012-11-21 13:20:05 -08:00
Ehsan Akhgari
f90938a237 Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Chris Lord
a231be5912 Bug 783368 - Add critical display port content property. r=roc
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 19:16:51 +00:00
Ryan VanderMeulen
8dd0402085 Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky
dc0e11d6e8 Bug 812744 part 1. Set XSLT result documents to be data documents when we plan to return them to script. r=sicking 2012-11-21 11:18:57 -05:00
Simon Montagu
07e8a16de0 Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv. 2012-11-21 02:13:57 -08:00
Tanvi Vyas
392c076606 Bug 802905 - Create custom Content Type for CSP Reports. r=sstamm, sr=bz 2012-11-20 20:28:34 -05:00
John Schoenick
4f7272cf9f Bug 788252 - Cleanup frame loader when aborting a recursive load in object/embed tags. r=josh 2012-11-20 17:08:12 -08:00
Mats Palmgren
3c6ed39490 Bug 804784 - Crash with range, normalize. r=smaug 2012-11-20 21:14:15 +01:00
Mats Palmgren
e446981985 Bug 803924 - Crash with range, splitText. r=smaug 2012-11-20 21:14:15 +01:00
Phil Ringnalda
54e6244801 Backout b7e492bf7c13, a64c112c6858, 84b9a773104b, 4bd4aabbaf28 and 24ad2de34061 (bug 548206) for Win Ru orange 2012-11-20 08:44:04 -08:00
Simon Montagu
ef21364c12 Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv 2012-11-20 06:21:15 -08:00
Ehsan Akhgari
d6d6c3d26a Backed out 6 changesets (bug 814821, bug 815158, bug 814195) for test failures
Backed out changeset 0c2011091748 (bug 815158)
Backed out changeset 9d70b4460508 (bug 814195)
Backed out changeset bf8746658a72 (bug 814821)
Backed out changeset e73366b088d7 (bug 814821)
Backed out changeset 49fc6d535c41 (bug 814821)
Backed out changeset 987aea26a43a (bug 814821)
2012-11-27 16:30:39 -05:00
Chris Jones
c6b42920b1 Bug 811315: Use process-per-mozbrowser by default and make scrolling behavior selectable by content. r=jlebar sr=roc
This is a rollup of the following patches

Bug 811315, part 0.9: Fix pre-existing race condition that allows dying ContentParents to accidentally try to load new TabParents. r=jlebar

Bug 811315, part 0.91: Fix another pre-existing race condition where FirstIdle might run after ContentChild::ActorDestroy(). r=jlebar

Bug 811315, part 1: Make "browser" process limit infinite and unload the processes when all tabs are closed.  Firefox with process-per-tab!  r=jlebar

Bug 811315, part 2: Pass scrolling-behavior hint down into TabParent instead of inferring it from app/browser. r=jlebar

Bug 811315, part 3: Add a mozasyncpanzoom attribute for iframes and honor it when constructing a remote frame. r=jlebar sr=roc
2012-11-27 12:43:52 -08:00
Peter Van der Beken
c15e9ce14c Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
--HG--
extra : rebase_source : 349ceea8412f4133e1b9de4e2859d7663da27fa5
2012-11-22 12:09:43 +01:00
Peter Van der Beken
f805d53dbb Fix for bug 814821 (Dromaeo dom-traverse regression from bug 812333) - part 2: make WrapNewBindingObject a little faster. r=bz.
--HG--
extra : rebase_source : 81a3891d0f51d98f4230583f816a82906d0ee904
2012-11-27 10:20:04 +01:00
Boris Zbarsky
0ec259a019 Bug 814050. XMLHttpRequest.withCredentials header should throw on main thread too, in some cases. r=peterv 2012-11-27 15:20:40 -05:00
Boris Zbarsky
6c53c87fec Bug 814576. Make XMLHttpRequest really set its progress events as trusted. r=smaug 2012-11-27 15:20:40 -05:00
Justin Lebar
75abf86728 Bug 811466 - Add include guards around some headers which were missing them. r=khuey 2012-11-19 20:05:34 -05:00
David Keeler
3fb3263ebe bug 811375 - decouple nsIPluginTag::clicktoplay from click-to-play blocklisting r=joshmoz 2012-11-19 14:03:24 -08:00
John Schoenick
2b76da943f Bug 800018 - Part 4 - Fix plugin fallback tests for new events. r=josh 2012-11-19 11:38:04 -08:00
John Schoenick
d433e2d472 Bug 800018 - Part 1 - Remove binding events from nsObjectLoadingContent. r=josh 2012-11-19 11:38:03 -08:00
John Schoenick
afe0548a59 Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh 2012-11-19 11:38:03 -08:00
John Schoenick
f6e278cc71 Bug 810494 - Don't show plugin errors for types we recognize but are not loading for another reason. r=josh 2012-11-19 11:38:03 -08:00
Alexander Surkov
7f808dbc53 Bug 525909 - support ARIA role=rowgroup, r=tbsaunde 2012-11-17 16:59:55 +09:00
Zack Weinberg
9ab9128f73 Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted 2012-11-16 21:53:32 -05:00
Boris Zbarsky
c500ee457d Bug 812086 part 4. Warn when consumers use the moz-prefixed versions of visibility API. r=smaug 2012-11-16 17:39:59 -08:00
Boris Zbarsky
2cd0f8f7b1 Bug 812086 part 3. Convert internal consumers of mozHidden and mozVisibilityState to the unprefixed versions. r=smaug 2012-11-16 14:22:56 -08:00
Boris Zbarsky
5f2608a0a4 Bug 812086 part 1. Add unprefixed version of page visibility API. r=smaug 2012-11-16 14:22:55 -08:00
Ryan VanderMeulen
8a64b526bc Backed out changesets b242651c3c1b (bug 229827), b36eaac9ecf8, and 40f38a8aa660 (bug 663291) for mochitest-3/4 failures.
CLOSED TREE
2012-11-16 16:59:38 -05:00
Tanvi Vyas
7098c08749 Bug 803225 - Test different protocols that are allowed in nsMixedContentBlocker.cpp (r=bz) 2012-11-16 12:40:07 -08:00
Tanvi Vyas
c6ecc20aeb Bug 803225 - Mixed Content Blocker - Check for other secure schemes, in additon to https. (r=bz) 2012-11-16 12:40:07 -08:00
Zack Weinberg
ff35201bdd Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted
--HG--
extra : rebase_source : 013c6031577f88a764fecee9750ee890b45d1181
2012-11-16 15:29:21 -05:00
Ehsan Akhgari
a1e96510b2 Bug 812563 - Give nsHostObjectProtocolHandler a virtual destructor; r=bzbarsky 2012-11-16 11:13:35 -08:00
Jeff Muizelaar
102fccacd8 Bug 794957. Use imgLoader instead of imgILoader. r=joe
This makes use of imgLoader instead of imgILoader in more places.

--HG--
extra : rebase_source : 6b391e5ecc2fd9558516c7493116e7e7852b71b3
2012-11-16 10:24:58 -08:00
Josh Matthews
e0bfa38e3b Bug 722979 - Add privacy status argument to relevant nsIStrictTransportSecurityService methods. r=bsmith sr=biesi 2012-06-30 07:34:17 -07:00
Ed Morley
0687c2b3aa Backout e123e0173185, 326ed6f1dc9e & 7c2c9c988869 (bug 722979) for mochitest-a11y failures 2012-11-16 15:06:13 +00:00
Josh Matthews
cdf21f169e Bug 722979 - Add privacy status argument to relevant nsIStrictTransportSecurityService methods. r=bsmith sr=biesi 2012-06-30 07:34:17 -07:00
Ryan VanderMeulen
c0421e9621 Backed out changesets 5bdf8bbcd02f and df27137cb7d1 (bug 803225) for mochitest orange. 2012-11-15 22:16:03 -05:00
Tanvi Vyas
ff96ae12d7 Bug 803225 - Test different protocols that are allowed in nsMixedContentBlocker.cpp. r=bz, r=smaug 2012-11-15 20:34:56 -05:00
Tanvi Vyas
fdb9a80e4e Bug 803225 - Mixed Content Blocker - Check for other secure schemes, in additon to https. r=bz 2012-11-15 20:34:56 -05:00
Ryan VanderMeulen
b2903dc4ee Merge m-c to inbound. 2012-11-15 20:34:51 -05:00
Ryan VanderMeulen
da33f7f1d2 Merge the last PGO-green inbound changeset to m-c. 2012-11-15 20:21:35 -05:00
Bobby Holley
4376a9b5d5 Bug 811152 - Decxify various DOM methods. r=me 2012-11-15 11:54:34 -08:00
Ed Morley
21aa12ebe9 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-11-15 16:17:36 +00:00
Olli Pettay
27471aa9b8 Bug 656311 - Remove XML Events, r=bz 2012-11-15 14:29:58 +02:00
Olli Pettay
d39a545e92 Bug 749448 - Remove XTF, r=bz 2012-11-15 14:27:13 +02:00
Alexander Surkov
735932f19b Bug 811729 - remove XForms a11y support, r=tbsaunde 2012-11-16 01:43:41 +09:00
Boris Zbarsky
05ba9f02c1 Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Boris Zbarsky
81290928c0 Bug 811449 part 7. Get rid of nsGenericElement in Element.cpp. r=peterv 2012-11-14 14:10:08 -08:00
Boris Zbarsky
a345ce560d Bug 811449 part 6. Rename nsGenericElement.cpp to Element.cpp. r=peterv
--HG--
rename : content/base/src/nsGenericElement.cpp => content/base/src/Element.cpp
2012-11-14 14:10:08 -08:00
Boris Zbarsky
c2748c8ea6 Bug 811449 part 5. Drop no longer needed namespacing on arguments and return values of Element methods. r=peterv 2012-11-14 14:10:07 -08:00
Boris Zbarsky
bf762c76bb Bug 811449 part 4. Move the data members of Element to the end of the class. r=peterv 2012-11-14 14:10:07 -08:00
Boris Zbarsky
19333a472b Bug 811449 part 3. Eliminate nsGenericElement as a separate class. 2012-11-14 14:10:07 -08:00
Boris Zbarsky
f156bedf33 Bug 811449 part 2. Combine the forward-declares and includes in Element.h. r=peterv
This is just moving includes and forward-declares and some inline
implementations around.  No substantive changes.
2012-11-14 14:10:07 -08:00
Boris Zbarsky
1786f7e7dd Bug 811449 part 1. Move everything from nsGenericElement.h to Element.h. r=peterv
Note: This is just moving code as-is, with absolutely no changes
outside of the Link bits that are needed to make mock_Link compile.
2012-11-14 14:10:07 -08:00
Robert Longson
f7cc3932bf Bug 811217 - EventNameType_SMIL is wrong. r=dholbert 2012-11-15 22:09:30 +00:00
Peter Van der Beken
0a5f44ada8 Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
--HG--
extra : rebase_source : 842b9397d2b050f880c44d3366bcc838e6615fd5
2012-11-11 00:30:15 +01:00
Chris Pearce
ddedecabd0 Bug 811381 - Remove ns prefix from media code. r=roc
--HG--
rename : content/media/nsAudioAvailableEventManager.cpp => content/media/AudioAvailableEventManager.cpp
rename : content/media/nsAudioAvailableEventManager.h => content/media/AudioAvailableEventManager.h
rename : content/media/nsAudioStream.cpp => content/media/AudioStream.cpp
rename : content/media/nsAudioStream.h => content/media/AudioStream.h
rename : content/media/nsMediaCache.cpp => content/media/MediaCache.cpp
rename : content/media/nsMediaCache.h => content/media/MediaCache.h
rename : content/media/nsBuiltinDecoder.cpp => content/media/MediaDecoder.cpp
rename : content/media/nsBuiltinDecoder.h => content/media/MediaDecoder.h
rename : content/media/nsBuiltinDecoderReader.cpp => content/media/MediaDecoderReader.cpp
rename : content/media/nsBuiltinDecoderReader.h => content/media/MediaDecoderReader.h
rename : content/media/nsBuiltinDecoderStateMachine.cpp => content/media/MediaDecoderStateMachine.cpp
rename : content/media/nsBuiltinDecoderStateMachine.h => content/media/MediaDecoderStateMachine.h
rename : content/media/dash/nsDASHDecoder.cpp => content/media/dash/DASHDecoder.cpp
rename : content/media/dash/nsDASHDecoder.h => content/media/dash/DASHDecoder.h
rename : content/media/dash/nsDASHReader.cpp => content/media/dash/DASHReader.cpp
rename : content/media/dash/nsDASHReader.h => content/media/dash/DASHReader.h
rename : content/media/dash/nsDASHRepDecoder.cpp => content/media/dash/DASHRepDecoder.cpp
rename : content/media/dash/nsDASHRepDecoder.h => content/media/dash/DASHRepDecoder.h
rename : content/media/gstreamer/nsGStreamerDecoder.cpp => content/media/gstreamer/GStreamerDecoder.cpp
rename : content/media/gstreamer/nsGStreamerDecoder.h => content/media/gstreamer/GStreamerDecoder.h
rename : content/media/gstreamer/nsGStreamerReader.cpp => content/media/gstreamer/GStreamerReader.cpp
rename : content/media/gstreamer/nsGStreamerReader.h => content/media/gstreamer/GStreamerReader.h
rename : content/media/ogg/nsOggCodecState.cpp => content/media/ogg/OggCodecState.cpp
rename : content/media/ogg/nsOggCodecState.h => content/media/ogg/OggCodecState.h
rename : content/media/ogg/nsOggDecoder.cpp => content/media/ogg/OggDecoder.cpp
rename : content/media/ogg/nsOggDecoder.h => content/media/ogg/OggDecoder.h
rename : content/media/ogg/nsOggReader.cpp => content/media/ogg/OggReader.cpp
rename : content/media/ogg/nsOggReader.h => content/media/ogg/OggReader.h
rename : content/media/omx/nsMediaOmxDecoder.cpp => content/media/omx/MediaOmxDecoder.cpp
rename : content/media/omx/nsMediaOmxDecoder.h => content/media/omx/MediaOmxDecoder.h
rename : content/media/omx/nsMediaOmxReader.cpp => content/media/omx/MediaOmxReader.cpp
rename : content/media/omx/nsMediaOmxReader.h => content/media/omx/MediaOmxReader.h
rename : content/media/plugins/nsMediaPluginDecoder.cpp => content/media/plugins/MediaPluginDecoder.cpp
rename : content/media/plugins/nsMediaPluginDecoder.h => content/media/plugins/MediaPluginDecoder.h
rename : content/media/plugins/nsMediaPluginHost.cpp => content/media/plugins/MediaPluginHost.cpp
rename : content/media/plugins/nsMediaPluginHost.h => content/media/plugins/MediaPluginHost.h
rename : content/media/plugins/nsMediaPluginReader.cpp => content/media/plugins/MediaPluginReader.cpp
rename : content/media/plugins/nsMediaPluginReader.h => content/media/plugins/MediaPluginReader.h
rename : content/media/raw/nsRawDecoder.cpp => content/media/raw/RawDecoder.cpp
rename : content/media/raw/nsRawDecoder.h => content/media/raw/RawDecoder.h
rename : content/media/raw/nsRawReader.cpp => content/media/raw/RawReader.cpp
rename : content/media/raw/nsRawReader.h => content/media/raw/RawReader.h
rename : content/media/raw/nsRawStructs.h => content/media/raw/RawStructs.h
rename : content/media/wave/nsWaveDecoder.cpp => content/media/wave/WaveDecoder.cpp
rename : content/media/wave/nsWaveDecoder.h => content/media/wave/WaveDecoder.h
rename : content/media/wave/nsWaveReader.cpp => content/media/wave/WaveReader.cpp
rename : content/media/wave/nsWaveReader.h => content/media/wave/WaveReader.h
rename : content/media/webm/nsWebMBufferedParser.cpp => content/media/webm/WebMBufferedParser.cpp
rename : content/media/webm/nsWebMBufferedParser.h => content/media/webm/WebMBufferedParser.h
rename : content/media/webm/nsWebMDecoder.cpp => content/media/webm/WebMDecoder.cpp
rename : content/media/webm/nsWebMDecoder.h => content/media/webm/WebMDecoder.h
rename : content/media/webm/nsWebMReader.cpp => content/media/webm/WebMReader.cpp
rename : content/media/webm/nsWebMReader.h => content/media/webm/WebMReader.h
2012-11-14 11:46:40 -08:00
Chris Pearce
5ac4df2ef3 Bug 811381 - Move media code into mozilla namespace. r=roc 2012-11-14 11:45:33 -08:00
Chris Pearce
9fe37d1328 Bug 811381 - Flatten nsMediaDecoder and nsBuiltinDecoder into a single class. r=roc 2012-11-14 11:45:13 -08:00
John Schoenick
27df89c5ad Bug 787778 - Add test. r=josh 2012-11-14 11:20:02 -08:00
Boris Zbarsky
8d7bf212ba Bug 811663 part 2. Create a DocumentFragment.h header. r=smaug
All the code is just being moved without any changes.
2012-11-14 10:05:41 -08:00
Boris Zbarsky
a30b9f67a3 Bug 811663 part 1. Rename nsDocumentFragment to mozilla::dom::DocumentFragment. r=smaug
--HG--
rename : content/base/src/nsDocumentFragment.cpp => content/base/src/DocumentFragment.cpp
2012-11-14 10:05:41 -08:00
Boris Zbarsky
ca4b6f5b01 Bug 809765. Match the HTML spec in terms of which event handler attributes are compiled on which elements. r=smaug 2012-11-14 10:05:41 -08:00
Bobby Holley
7c36e30523 Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
If callers want to throw, it's now their responsibility.
2012-11-14 09:56:26 -08:00
Ed Morley
35b84cb08f Backout 54c4f2ff78e3 (bug 807075) for Windows compilation errors 2012-11-14 16:45:28 +00:00
Benoit Jacob
986ee1a065 Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Benoit Jacob
7cc7c472e5 Bug 806279 - CC macros refactoring: part 3: fold the TRAVERSE_NATIVE and AMBIGUOUS cases - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Robert O'Callahan
b59945f6e8 Bug 811301. Part 2: Remove saved state IDs now that the root scroll frame state is captured normally. r=mats 2012-11-14 22:40:17 -08:00
David Zbarsky
57d193d9b6 No bug, Fix virtual dtor warning, blanket r=bz 2012-11-14 21:38:25 -05:00
Peter Van der Beken
f19ca9b71f Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
--HG--
extra : rebase_source : 9afce481cd0a5c8a1014c8c9b0aad7d6665aaa82
2012-11-11 00:30:15 +01:00
Peter Van der Beken
f0e1e8f723 Fix for bug 811069 (Make *Element.onerror return EventHandler instead of OnErrorEventHandler). r=bz.
--HG--
extra : rebase_source : a40c6cd2bad3126ee18392b41f4274380b211d10
2012-11-13 14:37:39 +01:00
Peter Van der Beken
b2ba5959ec Fix for bug 804950 (New DOM binding APIs for Element). r=bz.
--HG--
extra : rebase_source : a8691ead07dfa8ecca812396047627dc15474d83
2012-10-16 13:51:00 +02:00
Justin Lebar
927e7e8529 Bug 806127 - ThirdPartyUtil should not consider in-process <iframe mozbrowser/mozapp> to be third-party. r=bz 2012-11-10 10:32:37 -08:00
Justin Lebar
a9e6d9a0c8 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-10 10:32:37 -08:00
Justin Lebar
d593f7da26 Bug 802366 - Prelude, part 1: Rename in-process-browser-frame-shown to in-process-browser-or-app-frame-shown. r=bz 2012-11-10 10:32:35 -08:00
Anant Narayanan
d2c4f66e1e Bug 810164: Disable bfcache for pages with active PeerConnections; r=smaug,jesup 2012-11-09 21:04:27 -08:00
Philipp von Weitershausen
8e0cd86d07 Bug 809727 - Wait for the write transaction to finish so that the blobs are expired. r=janv 2012-11-09 20:32:10 -05:00
Ryan VanderMeulen
3eff16d324 Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
bbdd00bd81 Bug 806127 - ThirdPartyUtil should not consider in-process <iframe mozbrowser/mozapp> to be third-party. r=bz 2012-11-09 16:37:40 -08:00
Justin Lebar
785d3c9b2f Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00
Justin Lebar
a24ca4c15b Bug 802366 - Prelude, part 1: Rename in-process-browser-frame-shown to in-process-browser-or-app-frame-shown. r=bz 2012-11-09 16:37:38 -08:00
Jim Mathies
10f2624748 Backout Bug 810164 due to bustage. r=bustage 2012-11-09 18:04:23 -06:00
Anant Narayanan
6517e45991 Bug 810164: Disable bfcache for pages with active PeerConnections; r=smaug,jesup 2012-11-09 15:27:38 -08:00
Peter Van der Beken
ba2b51206c Fix for bug 804991 (Make FromContent expect a non-null pointer and add FromContentOrNull). r=bz.
--HG--
extra : rebase_source : 52e1c9171d05ba034971cfa16741e12061e7335d
2012-09-26 16:17:51 +02:00
Boris Zbarsky
4e328798b1 Bug 807226 part 7. Move creation of our event handlers out to the relevant API methods. r=smaug
Note that once we switch all these guys to WebIDL bindings they'll
automatically get the callback objects passed in from binding code.
2012-11-09 08:00:25 -08:00
Boris Zbarsky
3e87d4c861 Bug 807226 part 6. Centralize our IMPL_EVENT_HANDLER macro definitions in nsDOMEventTargetHelper. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
9cd29d2f98 Bug 807226 part 4. Allow event handlers to have a null nsIScriptContext if they won't have to compile from a string. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
d8fee95886 Bug 779048 part 10. Start using the new callback codegen in argument and return value conversion. r=peterv,smaug 2012-11-09 07:43:58 -08:00
Boris Zbarsky
c2e7420950 Bug 779048 part 9. Give JS-to-native conversion an object pointer to work with so it can convert callback objects. r=peterv 2012-11-09 07:43:58 -08:00
Boris Zbarsky
63fb55a443 Bug 779048 part 0.5. Don't require a JSContext argument for nsJSUtils::GetStaticScriptGlobal. r=bholley 2012-11-09 07:43:57 -08:00
Marco Bonardo
afedd3bf3c Bug 799609 - Disable Places in B2G - Part 2 - Allow docshell and content to build without Places
Expose NotifyVisited API and fix code so it can be built with alternative history implementations.
r=jlebar
2012-11-09 10:55:54 +01:00
Ehsan Akhgari
49f75ba1c3 Bug 810177 - Part 3: Move the IsFormatEnabled methods from nsHTMLMediaElement to nsMediaDecoder; r=cpearce
This patch moves the various Is{Format}Enabled methods to
nsMediaDecoder.  These methods are all implemented on top of prefs, and
they logically belong to the decoder class, because it needs to know
what media types it should be able to decode.  This also helps reduce
the dependency on nsHTMLMediaElement.h.
2012-11-08 21:46:10 -05:00