Commit Graph

6747 Commits

Author SHA1 Message Date
Ed Morley
d0a6230a88 Merge mozilla-central and b2g-inbound 2013-08-02 13:51:22 +01:00
Ms2ger
5c2b63d2c7 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
023dc49091 Bug 897945 - Use an XPCOM string for nsContentUtils::ReportToConsole's category argument; r=bholley 2013-08-02 09:09:11 +02:00
Ms2ger
62183dfe63 Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8 2013-08-02 09:04:01 +02:00
Mike Hommey
d01b5df996 Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
Gina Yeh
2d4b9278a9 Bug 853221 - Patch 2: Distribute events from BluetoothAdapter, r=smaug, sr=mrbkap 2013-08-02 18:33:15 +08:00
Ryan VanderMeulen
08d6011fa3 Merge m-c to fx-team. 2013-08-01 16:35:13 -04:00
Daniel Holbert
b168795293 Bug 900277 - Use ALLOW_THIS_IN_INITIALIZER_LIST macro to suppress windows warning in Element.cpp's StringBuilder constructor. r=smaug 2013-08-01 13:00:56 -04:00
Daniel Holbert
315e2872cb Bug 900246: Mark variable as DebugOnly in DirectionalityUtils.cpp, to fix opt "unused variable" build warning. r=smontagu 2013-07-31 18:59:27 -07:00
Daniel Holbert
e31f4de611 Bug 900209 - static_cast uint64_t value to "unsigned long long" when printing it with %llx, to silence Wformat build warning on 64-bit platforms. r=smaug 2013-07-31 21:15:26 -04:00
Bill McCloskey
ca26060518 Bug 899812 - Error reporters should consistently report errors to stderr (r=bholley) 2013-07-31 17:04:49 -07:00
Neil Deakin
9a82a91cb0 Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan 2013-08-02 11:37:05 -04:00
Tom Schuster
0b021a6fa2 Bug 884410 - Handlify JS_GetPrototype. r=terrence 2013-07-31 12:20:33 -04:00
Justin Lebar
e07ad9bb36 Bug 896890 - TabContent::HasOwnApp() should be true iff TabContext::GetOwnApp() is non-null.
This change reworks how TabContext stores its data.  Before, it stored
an app-id and translated that into an app; now we do the reverse.  This
lets us guarantee that HasOwnApp() is true iff GetOwnApp() is non-null.

We added a new class, MaybeInvalidTabContext to assist with converting
from an IPCTabContext to a TabContext.  This allows us to ensure that a
TabContext object is never invalid.
2013-07-30 14:42:34 -07:00
Mook
fabd18c538 content: sync load service: don't die when channels have unknown size (b=894586 r=ehsan r=jduell) 2013-07-30 14:38:26 -07:00
Ryan VanderMeulen
877a52adaf Backed out changeset 4aeb00521c9d (bug 896890) for build bustage.
CLOSED TREE
2013-07-30 15:50:46 -04:00
Justin Lebar
bf4b322de3 Bug 896890 - TabContent::HasOwnApp() should be true iff TabContext::GetOwnApp() is non-null. r=khuey
This change reworks how TabContext stores its data.  Before, it stored
an app-id and translated that into an app; now we do the reverse.  This
lets us guarantee that HasOwnApp() is true iff GetOwnApp() is non-null.

We added a new class, MaybeInvalidTabContext to assist with converting
from an IPCTabContext to a TabContext.  This allows us to ensure that a
TabContext object is never invalid.

--HG--
extra : rebase_source : d43e858739a342ab420122a90336bfd585be268a
2013-07-30 11:51:44 -07:00
Ehsan Akhgari
5ee21d6d3f Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ed Morley
7b9d7844ff Bug 893714 - Disable test_cpows.xul on OS X for too many intermittent assertions, whilst the fix is finished
--HG--
extra : rebase_source : d3ad44b025610f5b1ec91f662eb9cbf5ba613a7d
2013-07-30 17:28:59 +01:00
Ehsan Akhgari
9854ac6166 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
David Zbarsky
c20f51dc6b Bug 898947 - Remove nsIInlineEventHandlers from nodes r=bz 2013-07-30 01:47:28 -07:00
David Zbarsky
9bd3567fd7 Backout a0868fe02c2a because I suspect it caused the debug mochitest failures resulting in the CLOSED TREE 2013-07-29 19:51:39 -07:00
Bobby Holley
c00f6379ec Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Bobby Holley
488031ac4d Bug 899245 - Rename js::GetDefaultGlobalForContext to js::DefaultObjectForContextOrNull. r=luke
This is more correct, since the object very often is not a global.
2013-07-29 16:45:25 -07:00
David Zbarsky
96da4fe14d Bug 898947 - Remove nsIInlineEventHandlers from nodes r=bz 2013-07-29 16:04:09 -07:00
John Schoenick
6e04b0893e Bug 889614 - Followup, don't erroneously cancel other events. r=josh 2013-07-29 13:50:55 -07:00
Jon Coppeard
8278efd42a Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Robert O'Callahan
9d7b42cb9c Bug 837242. Part 1: Convert bool parameters to flags. r=mats 2013-07-26 14:31:41 +12:00
Ryan VanderMeulen
79884fe9cb Backed out changeset f570fc641c5f (bug 894586) for xpcshell failures on a CLOSED TREE. 2013-07-26 22:49:13 -04:00
Mook
725ebd7b5b content: sync load service: don't die when channels have unknown size (b=894586 r=jst r=jduell) 2013-07-26 15:25:27 -07:00
Ivan Alagenchev
404e69fa83 Bug 846918: adds hsts reporting from nsDocument. r=smaug. 2013-07-26 08:37:03 -07:00
Carsten "Tomcat" Book
8c89deb65b Backed out changeset ae8d72538dee (bug 897484) for b2g bustage 2013-07-26 12:34:25 +02:00
Jon Coppeard
fc9b509d4f Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Carsten "Tomcat" Book
d6c5183f6b Backed out changeset 44c751cee3b1 (bug 837242) for suspicion of causing OSX Bustage CLOSED TREE 2013-07-26 09:25:03 +02:00
Robert O'Callahan
7e76ab4eb6 Bug 837242. Part 1: Convert bool parameters to flags. r=mats
--HG--
extra : rebase_source : e59fe41c41f2be6b4f0c78528cf954093f3011bd
2013-07-26 14:31:41 +12:00
Boris Zbarsky
cc0e521ed8 Bug 894448 part 1. Move IsChromeOrXBL to xpcpublic.h. r=bholley 2013-07-25 19:41:46 -07:00
Ryan VanderMeulen
bc61d30573 Merge m-c to inbound. 2013-07-25 21:59:02 -04:00
Sid Stamm
87382fb5b6 bug 898190 - fix test for bug 888172 to use a valid CSP policy for testing. r=grobinson 2013-07-25 17:11:12 -07:00
Garrett Robinson
6df3e759cf Bug 888172 - CSP 1.0 does not process 'unsafe-inline' or 'unsafe-eval' for default-src. r=imelven 2013-07-24 17:48:30 -04:00
John Schoenick
1613521d1a Bug 889614 - Fix test_object display:none checking issues found while testing. r=josh 2013-07-25 14:02:34 -07:00
John Schoenick
ef97434481 Bug 889614 - Fix regression in plugin reparenting. r=josh 2013-07-25 14:02:33 -07:00
James Kitchener
d60ef2c22d Bug 885289 - Improve context menu behaviour for srcdoc iframes. r=mconley, r=bz 2013-07-25 09:32:50 -04:00
Joey Armstrong
9bdf289b5e Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3); r=mshal 2013-06-11 16:38:22 -04:00
Olli Pettay
f99aa27fba Bug 900738 - Remove HasSameOwnerDoc, r=bz
--HG--
extra : rebase_source : c4456690ffbd53fb98ad08436da2c5d884b25faf
2013-08-02 13:24:41 +03:00
Ms2ger
834f814430 Merge m-c to inbound. 2013-07-24 11:53:22 +02:00
Ms2ger
4f51466484 Bug 896280 - Pass MutableHandleValue to JS::Call(); r=terrence 2013-07-24 09:40:01 +02:00
Ms2ger
a185a3e840 Bug 776517 - Move GetExistingAttrNameFromQName from nsIContent to dom::Element; r=smaug 2013-07-24 09:39:46 +02:00
Ms2ger
36f3f6ae03 Bug 885170 - Remove nsINode::GetClassInfo(); r=peterv 2013-07-24 09:31:06 +02:00
Ms2ger
fb6790e6d8 Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps 2013-07-24 09:23:06 +02:00
Olli Pettay
5d5c8bf66f Bug 895222, improve skippability optimization for nodes, r=mccr8
--HG--
extra : rebase_source : ce3ebc2020a26d22f7cf2636d63657a8fe6ebb2d
2013-07-22 20:47:20 +03:00
David Zbarsky
a8e101cf37 Bug 897211: Remove nsITouchEventReceiver from nodes r=bz 2013-07-23 23:20:16 -07:00
David Zbarsky
18c3813707 Bug 897211: Remove nsIDOMDocumentTouch r=bz 2013-07-23 23:20:16 -07:00
David Zbarsky
040dbd4c2b Bug 894646 - Various dom deCOM cleanups r=Ms2ger 2013-07-23 16:39:17 -07:00
Boris Zbarsky
0d417e5c5f Bug 895974. Implement ParentNode on document fragments and documents and move previousElementSibling and nextElementSibling to ChildNode. r=smaug 2013-07-22 08:15:43 -04:00
Joshua Cranmer
08dac03f44 Bug 884061 - Part 3d: Use NS_DECL_THREADSAFE_ISUPPORTS in content/, r=smaug
--HG--
extra : rebase_source : ee869e0ec710259b1f3d1a328bff27c5d2960ea1
2013-07-18 21:21:19 -05:00
Jon Coppeard
1bb7f2a908 Bug 888338 - 1 - Add TenuredHeap<T> class r=terrence r=bz 2013-07-23 10:58:26 +01:00
Ryan VanderMeulen
cc66360dac Backed out changesets 0a196c0e9f96 (bug 895974) and 0d8aa14f5ed3 (bug 895009) for causing intermittent Linux32 mochitest-1 asserts on a CLOSED TREE. 2013-07-22 18:18:17 -04:00
Boris Zbarsky
efe9593f06 Bug 895974. Implement ParentNode on document fragments and documents and move previousElementSibling and nextElementSibling to ChildNode. r=smaug 2013-07-22 08:15:43 -04:00
Ed Morley
22064a4365 Backed out changeset 9e7d1f4496ff (bug 888839) for B2G failures in test_copypaste.xhtml 2013-07-22 08:55:34 +01:00
Drew Willcoxon
dd9e48914b Bug 888839 - Don't pretty print text/plain when copying and pasting non-(X)HTML documents. r=smaug 2013-07-19 19:56:18 -07:00
Benjamin Smedberg
c416701cd3 Bug 889788 - Plugin doorhanger breaks when plugins are dynamically removed from a page. This implements the short-term solution of hiding the plugin doorhanger when no more plugins are on the page (the better long-term solution will keep showing the UI and track all the plugins a page ever uses). This also implements a short-term solution when a user enables a plugin. Also bug 887088 - Short-term UI solution: when a user loads multiple tabs from a site and enables a plugin on one of them, the plugins are not enabled on other tabs but the "continue allowing" button does nothing. This patch makes the "Continue Allowing" button enable existing plugins of that type. r=jaws r=jschoenick
--HG--
extra : rebase_source : a60ae3259579ea63d51921dc3c70836da2d7ab3a
2013-07-19 10:02:48 -04:00
Ehsan Akhgari
779083a287 Bug 895168 - Part 1: Stop using LL_I2L in the tree; r=jcranmer
--HG--
extra : rebase_source : b66b363de4c4e132ef94181d2b7d8f008caa643a
2013-07-18 16:47:55 -04:00
Ryan VanderMeulen
0439786998 Merge m-c to inbound on a CLOSED TREE. 2013-07-18 14:53:05 -04:00
Justin Lebar
f55bb48aa5 Bug 895123 - Change nsFrameLoader::mChildHost from nsCOMPtr<nsIObserver> to nsRefPtr<ContentParent>, and rename it to mContentParent.
This doesn't change any behavior; the only effect of this change is to make it easier to figure out, from GDB, which ContentParent a nsFrameLoader points to.
2013-07-17 16:34:57 -07:00
Ryan VanderMeulen
f8d4e81bc8 Backed out changeset 8421bc750585 (bug 888864) for Werror bustage. 2013-07-16 12:03:59 -04:00
Tom Schuster
8b2781aaba Bug 893858 - More testing for CPOWs and fix some small bugs. r=dvander 2013-07-17 09:27:49 -04:00
Andrew McCreight
e64257dd9f Bug 903524 - Rename TestJSHolder to IsJSHolder. r=smaug 2013-08-15 10:29:02 -07:00
Boris Zbarsky
b0b6675b91 Bug 894874. Fix .selectedStyleSheetSet to consider all the sheets even after it finds an enabled sheet. r=smaug 2013-07-17 23:23:52 -04:00
Boris Zbarsky
b554ae3bd7 Bug 892510. Cache whether we're only-whitespace on textnodes so we don't have to keep figuring that out over and over again. r=smaug 2013-07-17 23:23:52 -04:00
Ryan VanderMeulen
5131a6768c Backed out 4 changesets (bug 893858, bug 868859, bug 886903) for Linux debug mochitest-other crashes on a CLOSED TREE.
Backed out changeset 0ded4854067b (bug 886903)
Backed out changeset ca8afb897e13 (bug 893858)
Backed out changeset c15f503a96cc (bug 868859)
Backed out changeset 6a788f399a7f (bug 868859)
2013-07-17 12:43:59 -04:00
William Chen
9e883ad8f5 Bug 796061 - Part 2: Remove mInsertionParentTable from nsBindingManager. r=mrbkap 2013-07-17 09:05:06 -07:00
William Chen
ca763cf5e3 Bug 796061 - Part 1: Remove mBindingTable from nsBindingManager. r=mrbkap 2013-07-17 09:05:03 -07:00
Ryan VanderMeulen
8f0d3e140e Backed out 3 changesets (bug 889480, bug 889788, bug 888908) for mochitest-bc orange.
Backed out changeset d1c616745325 (bug 889788)
Backed out changeset 6fe281a19554 (bug 888908)
Backed out changeset 9b855bab8073 (bug 889480)
2013-07-17 11:34:25 -04:00
Mina Almasry
d3ee8222e1 Bug 888864 - Changing a stylesheet ProcessingInstruction's data no longer applies immediately. r=bz 2013-07-17 10:09:04 -04:00
Mihnea Dobrescu-Balaur
c9c6847ad2 Bug 887480 - Make the content/base xpcshell tests use dynamic httpd ports so they can be run concurrently. r=bz 2013-07-15 17:13:37 -07:00
Tom Schuster
40feac8ae5 Bug 893858 - More testing for CPOWs and two small bug fixes. r=dvander 2013-07-17 09:27:49 -04:00
Benjamin Smedberg
1de4d3c8fe Bug 889788 - Plugin doorhanger breaks when plugins are dynamically removed from a page. This implements the short-term solution of hiding the plugin doorhanger when no more plugins are on the page (the better long-term solution will keep showing the UI and track all the plugins a page ever uses). This also implements a short-term solution when a user enables a plugin. Also bug 887088 - Short-term UI solution: when a user loads multiple tabs from a site and enables a plugin on one of them, the plugins are not enabled on other tabs but the "continue allowing" button does nothing. This patch makes the "Continue Allowing" button enable existing plugins of that type. r=jaws r=jschoenick
--HG--
extra : rebase_source : 4b24a6d5bf3b5c33b1e19702eca676b340b5d8b1
2013-07-17 09:21:02 -04:00
Drew Willcoxon
8f51741b51 Bug 888839 - Don't pretty print text/plain when copying and pasting non-(X)HTML documents. r=smaug 2013-07-19 19:56:18 -07:00
Nicholas Nethercote
b756f6b258 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Trevor Saunders
e59057dee7 bug 659722 - remove _IMPL_NS_LAYOUT r=bz 2013-03-16 00:31:38 -04:00
Mina Almasry
d65907254a Bug 888864 - Changing a stylesheet ProcessingInstruction's data no longer applies immediately. r=bz 2013-07-16 11:18:33 -04:00
Brian O'Keefe
a2b1403eb0 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Gabor Krizsanits
bd04fc57e9 Bug 874158 - Crash in GetNativeForGlobal. r=bholley 2013-07-16 15:04:28 +02:00
Boris Zbarsky
8c66d8be6a Bug 881087. Skip unnecessary work resetting visited state on links if the base URI only changes its fragment identifier. r=smaug 2013-07-16 01:31:43 -04:00
Boris Zbarsky
145e2ef11a Bug 838146 part 9. Make Xrays play nice with WebIDL resolve hooks. r=bholley 2013-07-16 01:31:03 -04:00
Mina Almasry
529857dfeb Bug 713564 - Add an API to declare a stylesheet obsolete. r=bz 2013-07-15 17:28:33 -04:00
David Anderson
0f90d00ec4 Implement CPOW support in MessageManager (bug 870180, r=smaug,billm). 2013-07-10 15:05:39 -07:00
Ryan VanderMeulen
48411f99e3 Merge m-c to inbound. 2013-07-12 09:29:59 -04:00
Olli Pettay
4549fd3374 Bug 892582 - crash in nsContentSink::WillParseImpl , r=bz
--HG--
extra : rebase_source : 23cba75e0470c0170ea48e7deb44f24f191dee38
2013-07-11 22:39:06 -04:00
Boris Zbarsky
cea78a3062 Bug 883889 followup: nsChildContentList is not an nsINode subclass. r=orange 2013-07-11 12:59:53 -04:00
Boris Zbarsky
45006a7480 Bug 883889. Call SetIsDOMBinding() in the nsINode constructor, and remove it from all the subclasses. r=peterv
This patch leaves the call in the Attr constructor, because we plan to make Attr not inherit from nsINode.
2013-07-11 11:58:29 -04:00
Yuan Xulei
4f5e53c28d Bug 890580 - Add test cases for nsIDocumentEncoder.OutputNonTextContentAsPlaceholder. r=hsivonen 2013-07-11 11:48:59 -04:00
Yuan Xulei
264bbe04fb Bug 890580 - Enable plaintext serializer to output non-text content as placeholder. r=hsivonen 2013-07-11 11:48:43 -04:00
J. Ryan Stinnett
a08a5efb58 Bug 282097 - Part 2: Rename field from nsNativeKeyEvent. r=masayuki 2013-07-09 22:45:10 -05:00
Ed Morley
881a35e05a Merge latest green fx-team changeset and mozilla-central 2013-07-11 10:12:37 +01:00
Tim Taubert
65cc5f15e6 Bug 891806 - part 2 - replace 'yield;' with 'yield undefined;' in content/; r=smaug 2013-07-10 23:52:14 +02:00
Ryan VanderMeulen
aaee3cf638 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Wes Kocher
5ed483fdc1 Backout 129da44ac469 (bug 870180) for breaking message manager 2013-07-10 18:22:34 -07:00
David Anderson
66c5f1450d Implement CPOW support in MessageManager (bug 870180, r=smaug,billm). 2013-07-10 15:05:39 -07:00
Scott Johnson
f6b9497b4e Bug 890309: Use GetPrimaryFrame() instead of directly accessing mPrimaryFrame in Element::FontSizeInflation() in order to prevent crashing when an element is not part of a document. [r=tn] 2013-07-10 14:47:50 -05:00
John Schoenick
4ddb403a04 Bug 889821 - Extend interface shim to allow nsIStreamListener callbacks to object/embed/applet tags to be used from script. r=bz 2013-07-10 15:15:41 -04:00
Ryan VanderMeulen
c9d5a706a1 Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures. 2013-07-10 13:51:28 -04:00
David Zbarsky
b9d239aaeb Bug 879475 - Make PBrowser manually keep track of its manager r=jlebar 2013-07-10 13:07:51 -04:00
John Schoenick
c497b9a417 Bug 788031 - For object/embed/applet tags, pass baseURI to shouldProcess if mURI is null. r=josh 2013-07-10 12:55:26 -04:00
Trevor Saunders
c3f96258c3 bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal 2013-06-25 14:29:26 -04:00
Olli Pettay
2bf2214fbe bug 789919, (snow-white) make addref/release of CCable objects faster by removing indirect refcnt increase/decrease, r=mccr8, test changes r=ehsan
--HG--
extra : rebase_source : 2a3b22425c14d6daedc91d62a652c34431acd2fb
2013-07-09 13:30:58 -04:00
Nicholas Nethercote
0d3b60738e Bug 887558 (part 3) - Use JSObject::{is,as} for JSObject itself. r=sfink.
--HG--
extra : rebase_source : 510677697603e6502c738f5460b7bea4bffd7f27
2013-07-04 00:50:50 -07:00
Trevor Saunders
82e5558b37 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
David Zbarsky
8dd45769d2 Bug 859193 - Cleanup nsRange r=smaug 2013-07-11 23:29:24 -04:00
Blake Kaplan
2a5c30ab9f Bug 890775 - Not all xbl:children elements should be treated specially. r=peterv 2013-07-11 17:52:49 -04:00
Masatoshi Kimura
e58e1a162c Bug 892460 - Add MOZ_FINAL to a bunch of node classes. r=bz 2013-07-12 06:26:54 +09:00
Nathan Froyd
f67df7c06e Bug 892511 - rewrite test_{title,window}.xul to not rely on shared setTimeout between windows; r=smaug 2013-01-11 11:28:22 -05:00
Ms2ger
db26bfced0 Bug 213324 - Remove getter_AddRefs(T*); r=ehsan 2013-07-10 11:56:21 +02:00
Peter Van der Beken
9c3bffc341 Bug 734503 - Add new DOM binding for TouchList; r=jst. 2013-07-10 11:53:53 +02:00
Blake Kaplan
ea4da60962 Bug 891088 - Rename nsXBLChildrenElement -> mozilla::dom::XBLChildrenElement. r=peterv
--HG--
rename : content/xbl/src/nsXBLChildrenElement.cpp => content/xbl/src/XBLChildrenElement.cpp
rename : content/xbl/src/nsXBLChildrenElement.h => content/xbl/src/XBLChildrenElement.h
2013-07-01 15:09:37 -07:00
Ryan VanderMeulen
75a32c409f Backed out changeset 4903ca450b3f (bug 890081) for widespread mochitest orange.
CLOSED TREE
2013-07-08 15:19:30 -04:00
Bobby Holley
aa04d7f824 Bug 890081 - Make 'document' permanent in nsIDocument::WrapObject. r=bz 2013-07-08 10:31:21 -07:00
Bobby Holley
9b3cb6faeb Bug 867486 - Remove |Components| from content sandboxes. r=gabor 2013-07-08 10:05:31 -07:00
Jacek Caban
b5e7c18341 Bug 816343 - Add querySelector* to *Element/DocumentFragment/Document.idl r=bz 2013-07-08 14:09:18 +02:00
Randy Lin
d2aff89854 Bug 803414 - Part 4: Audio Recording - Web API & Implementation. r=roc 2013-07-05 09:50:25 +08:00
Randy Lin
0b91b4cb79 Bug 803414 - Part 2: Add DOMTemporaryFileBlob and TemporaryFileInputStream. r=roc 2013-07-02 11:00:37 +08:00
Birunthan Mohanathas
074406a500 Bug 571635 - Make nsCSSStyleSheet::GetStyleRuleAt return a css::Rule*. r=dbaron 2013-07-07 16:23:13 -04:00
Cameron McCormack
27fbbd563b Bug 569722 - Implement textLength and lengthAdjust on SVG text elements. r=longsonr 2013-07-07 17:27:51 +10:00
Kartikaya Gupta
61cece35c8 Bug 803207 - Kill GetDevicePixelsPerMetaViewportPixel and use widget scaling correctly on Fennec. r=mbrubeck 2013-07-04 09:02:29 -04:00
Cameron McCormack
e761ecd940 Comment typo fix, no bug (DONTBUILD) 2013-07-04 14:00:06 +10:00
Ben Turner
bae1005969 Bug 879787 - Fix up old tests to use SpecialPowers. r=smaug, a=abillings.
--HG--
rename : content/base/test/test_bug383430.html => content/base/test/chrome/test_bug383430.html
2013-07-03 14:04:43 -07:00
Kyle Huey
49b422d01c Bug 885866: Separate deferred finalization from XPConnect so we can use it off the main thread. r=mccr8, peterv, bsmedberg, jorendorff 2013-07-09 07:28:15 -07:00
Andrea Marchesini
a022e43e0e Bug 885539 - Crash - Heap-use-after-free in nsTArray_base. r=bz 2013-07-03 09:21:30 -04:00
Bobby Holley
a36ee4c482 Bug 888682 - Inline traverse/unlink for mGlobal and simplify CC goop for nsInProcessTabChildGlobal.cpp. r=smaug 2013-07-02 23:30:36 -06:00
Matthew Gregan
bd54a22c11 Bug 855130 - Implement URL::createObjectURL overload for
MediaSources.  Add MediaSources to HostObjectProtocolHandler.  Make
 MediaSource a real interface.  r=khuey
2013-06-21 15:15:15 +12:00
John Schoenick
f60e63eca2 Bug 888834 - Java sees no-explicit-codebase as . not baseURI. r=josh 2013-07-02 16:40:40 -07:00
John Schoenick
ca8c9cb156 Bug 406541 - Add check for java file codebase security. r=bsmedberg 2013-07-02 16:40:40 -07:00
Mike Shal
37bbfefcec Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #4); r=joey 2013-07-01 11:34:30 -04:00
Scott Johnson
b741a6aa9d Bug 878931: Add a FontSizeInflation() method to Element in order to retrieve font size inflation to use during reflow-on-zoom. [r=kats,mounir]
The reflow-on-zoom behavior needs a more robust determination of the font size inflation, so
that it can adjust its behavior depending on whether font size inflation has been
enabled for a given element's text. This patch also modifies the behavior of reflow-
on-zoom such that it will zoom in to piece of text, with reflow, if the minimum
specified font size in the font size inflation preferences is greater than the
current font size, with font size inflation, of the element.
2013-07-02 09:04:27 -05:00
Phil Ringnalda
caf26c910c Backed out 5fa1f7715c19:7a300d1d1b23 (bug 855130) for Windows build failures
CLOSED TREE
2013-07-01 21:23:37 -07:00
Matthew Gregan
2c56844ced Bug 855130 - Implement URL::createObjectURL overload for MediaSources. r=khuey
---
 content/base/public/nsHostObjectProtocolHandler.h | 26 +++++++++
 content/base/src/nsHostObjectProtocolHandler.cpp  | 65 +++++++++++++++++------
 content/base/src/nsHostObjectURI.h                |  5 +-
 content/media/mediasource/MediaSource.cpp         |  1 +
 content/media/mediasource/MediaSource.h           |  7 +++
 dom/base/URL.cpp                                  | 12 +++++
 dom/base/URL.h                                    |  7 +++
 dom/webidl/URL.webidl                             |  6 +++
 layout/build/nsLayoutModule.cpp                   |  4 ++
 9 files changed, 116 insertions(+), 17 deletions(-)
2013-07-02 15:46:49 +12:00
Garrett Robinson
28b1f24a9f Bug 885433 - CSP should not block inline scripts or eval unless script-src or default-src are included (r=imelven) 2013-07-01 17:46:21 -07:00
Jim Mathies
a669aed386 Bug 810399 - Add new css selectors and media queries for windows os versions. r=bz 2013-07-01 11:02:29 -05:00
David Rajchenbach-Teller
1dec8aa24d Bug 887288 - Make nsDOMMemoryFileDataOwnerMemoryReporter thread-safe. r=khuey 2013-07-01 09:55:04 -04:00
Alexandre Poirot
f1e658ee40 Bug 887781 - Send message-manager-disconnect notification event when any message manager get disconnected. r=smaug 2013-07-01 09:46:53 -04:00
Ryan VanderMeulen
1a472aefb6 Merge inbound and m-c. 2013-07-01 08:12:24 -04:00
Ms2ger
9a38df8e56 Bug 888321 - Pass CSSIntPoint to ScrollToCSSPixels; f=kats r=roc 2013-07-01 09:14:36 +02:00
Bobby Holley
988b00b6eb Bug 865745 - Remove nsFrameScriptExecutor::DestroyCx. r=smaug 2013-06-30 09:00:20 -06:00
Bobby Holley
1206d0898d Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug 2013-06-30 09:00:20 -06:00
Bobby Holley
1a4e55b7ac Bug 865745 - Return the safe JSContext for Tab Children in GetJSContextForEventHandlers. r=smaug 2013-06-30 09:00:19 -06:00
Bobby Holley
541f6a00f9 Bug 865745 - Check mGlobal instead of mCx to see if we're in a functional state. r=smaug
Their lifetimes should be the same, and the latter is going away.
2013-06-30 09:00:19 -06:00
Bobby Holley
d337596c9c Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug 2013-06-30 09:00:19 -06:00
Bobby Holley
9a64b0af07 Bug 865745 - Remove redundant cx push. r=smaug
AutoSafeJSContext will always push.
2013-06-30 09:00:18 -06:00
Bobby Holley
a7e12a1fed Bug 865745 - Use an AutoSafeJSContext in nsFrameMessageManager::ReceiveMessage. r=smaug
This function proceeds to push its cx and enters a compartment, so it can't be
depending on any compartment or callstack state of the cx it's using. The only
potential issue would then be reporting the error to the correct DOM window, but
this stuff is used only for chrome, where that doesn't matter. The safe JSContext
uses the same error reporter as JSMs and such, which is probably fine.
2013-06-30 09:00:18 -06:00
Bobby Holley
e29b19b08f Bug 865745 - Hold a strong ref to the global for the duration that each nsFrameScriptCx is on the stack. r=smaug
These things currently do a complicated refcounting dance to avoid destroying the
cx until all the consumers of it are gone. That stuff can mostly go away now that
we're just using the SafeJSContext, but DestroyCx also nulls out the global, so
we should make sure to keep that alive for anyone that might be using it.
2013-06-30 09:00:18 -06:00