Tom Schuster
ea78e46b17
Bug 900707 - Disable two tests. r=smaug
2013-08-22 15:52:07 -04:00
Ehsan Akhgari
f56168072d
Bug 907883 - Minimize #includes in layout/generic; r=roc
...
--HG--
extra : rebase_source : 5e87b764a12b05aff477c71547e2131be67ca93b
2013-08-22 14:32:52 -04:00
Boris Zbarsky
fcab832917
Bug 907892. Disallow setting document.domain in sandboxed iframes. r=smaug
2013-08-22 09:46:27 -04:00
Ms2ger
44a5f9403c
Merge m-c to inbound.
2013-08-22 11:25:07 +02:00
Ms2ger
1a58e5982b
Bug 904831 - Followup: clobber
2013-08-22 11:22:03 +02:00
Ms2ger
dd3ed79f0d
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
da7aa79847
No bug - Use Unix line endings in nsSandboxFlags.h.
2013-08-22 08:56:07 +02:00
Ms2ger
19f3e043e3
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
fa65b962f6
Bug 883284 - Part b: Move LIBXUL_LIBRARY into moz.build (a-c); r=joey
2013-08-22 08:55:59 +02:00
Ms2ger
5c981f7ca9
Bug 906412 - Cleanup some random parts of the build system; r=mshal
2013-08-22 08:55:59 +02:00
Ms2ger
66214743ad
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Ms2ger
4da6920eb5
Bug 907364 - Remove the unused nsContentUtils::sDOMScriptObjectFactory; r=bholley
2013-08-22 08:34:25 +02:00
Ms2ger
584215995c
Bug 903844 - Add/update include-what-you-use annotations for various files; r=ehsan+khuey
2013-08-22 08:31:21 +02:00
Ms2ger
badb581ba0
Bug 904178 - Part f: Remove some includes from nsPIDOMWindow.h; r=mounir
2013-08-22 08:30:55 +02:00
Ms2ger
047b191ace
Bug 904178 - Part e: Make it possible to include nsIDocument.h on its own; r=ehsan
2013-08-22 08:30:44 +02:00
Ms2ger
a47f57f344
Bug 905747 - Reduce includes in nsXMLHttpRequest.h; r=khuey
2013-08-22 08:29:30 +02:00
Ryan VanderMeulen
908be1856b
Merge inbound to m-c.
2013-08-21 17:14:32 -04:00
John Schoenick
bfef5ec19c
Bug 902375 - Actually use the optional parameter added explicitly for this purpose. r=bsmedberg
2013-08-21 14:47:53 -07:00
Olli Pettay
157f78e913
Bug 906301, follow the DOM specs more strictly in case of mutations, r=peterv
...
--HG--
extra : rebase_source : 775b570151782223cf69705e2225e4f1da4014e7
2013-08-21 19:08:23 +03:00
Ms2ger
4af9d89266
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ryan VanderMeulen
63ae93c3cb
Merge m-c to inbound.
2013-08-21 17:17:18 -04:00
Daniel Holbert
e176529eae
Bug 907539: Use sizeof(PRUnichar) instead of magic number 2, when converting from bytes to wide-string-length in nsCheapString constructor. r=ehsan
2013-08-21 12:31:36 -07:00
Ehsan Akhgari
2a87c95927
Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst
2013-08-21 15:28:26 -04:00
Nicholas Nethercote
b89a8ac1c0
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Hsin-Yi Tsai
2ea077b16b
Bug 772765 - part2 - Telephony DOM. r=bent
2013-07-06 18:24:55 +08:00
Bobby Holley
4e0f1d69d4
Bug 901106 - Remove nsIScriptRuntime. r=mrbkap
...
All this stuff is now for nsGlobalWindow's use only.
2013-08-19 16:24:28 -07:00
Cervantes Yu
06fc4f787a
Bug 897741 - Limit the CSP cache key size to reduce memory usage. r=fabrice
2013-08-19 09:43:44 -04:00
Phil Ringnalda
78bbb02c92
Merge m-c to m-i
2013-08-18 17:51:12 -07:00
Tanvi Vyas
3bf47f8be6
Bug 902350 - Mochitest. r=smaug
2013-08-18 12:32:09 -07:00
Phil Ringnalda
dca3d35d2b
Merge m-c to fx-team
2013-08-17 08:42:11 -07:00
Mark Capella
d531c0d7aa
Bug 864589 - Show/hide text selection handles if a selection is programatically added/removed, r=margaret, ehsan
2013-08-16 21:51:41 -04:00
Wes Kocher
26a0024de1
Backed out changeset 2404f5888de3 (bug 864589)
2013-08-16 16:09:46 -07:00
Mark Capella
0bd933ae38
Bug 864589 - Show/hide text selection handles if a selection is programatically added/removed, r=margaret, ehsan
2013-08-16 16:45:42 -04:00
Olli Pettay
b74af2cf58
Bug 887241, Use strings, not atoms, for worker events, r=khuey
...
--HG--
extra : rebase_source : 3e294b1bde05a127db0a9fa1c31c48e9a514e11d
2013-08-16 13:06:24 +03:00
Honza Bambas
5c7819fda9
Bug 892488 - Get rid of the offline application cache prompt, r=ehsan+jonas
2013-08-16 11:34:21 +02:00
Carsten "Tomcat" Book
59ec523b5e
merge fx-team to mozilla-central
2013-08-16 10:29:59 +02:00
Blake Kaplan
ca211ecbfc
Bug 851353 - Make sure the incoming node's JSObject is up to date. r=bzbarsky
2013-08-15 14:39:28 -07:00
Ehsan Akhgari
c0a07f27fe
Bug 905353 - Minimize the #includes in dom/base; r=jst
...
--HG--
extra : rebase_source : e7a1d2262bf6d8c9b78057b8eb6cdbfd98262f68
2013-08-15 14:17:48 -04:00
Christoph Kerschbaumer
6c9aabf033
Bug 802872 - Mochitest verifying that CSP restricts EventSource using the connect-src directive. r=grobinson
2013-08-12 17:22:44 -07:00
Christoph Kerschbaumer
211fabf11b
Bug 663567 - Mochitest verifying that content added by XSLT stylesheet is subject to document's CSP. r=grobinson, r=sstamm
2013-08-12 14:54:12 -07:00
Ryan VanderMeulen
c292f445e7
Merge m-c to inbound.
2013-08-14 17:11:30 -04:00
Carsten "Tomcat" Book
4a10a49030
merge mozilla-central to b2g-inbound
2013-08-14 15:02:24 +02:00
Ms2ger
3d504dcb66
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
bbe4225d9d
Bug 902901 - Give nsScriptElement.h an include guard; r=hsivonen
2013-08-14 08:57:41 +02:00
Ms2ger
0c3b97da57
Bug 901063 - Remove HB_DONT_DEFINE_STDINT defines; r=gps
...
These defines have been unnecessary since we removed mozilla/StandardInteger.h.
The upstream code will default to stdint.h typedefs without them.
2013-08-14 08:57:22 +02:00
Ms2ger
9da2f1b3f4
Bug 901320 - Stop including AutoRestore.h in nsContentUtils.h; r=jlebar
2013-08-14 08:56:25 +02:00
Ms2ger
6ec28362b3
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Ms2ger
772a9d87b7
Bug 901269 - Part b: Stop including nsContentUtils.h in Element.h; r=jlebar
2013-08-14 08:55:46 +02:00
Szu-Yu Chen [:aknow]
5819219f33
Bug 887690 - Part 2: Add emergency callback mode support (dom). r=bent
2013-08-14 08:50:22 -04:00
Ryan VanderMeulen
a9619b4c64
Merge m-c to b2g-inbound.
2013-08-13 15:38:58 -04:00
Ryan VanderMeulen
2147aecd7d
Backed out changeset 850ef8175560 (bug 663567) for B2G mochitest-1 failures.
2013-08-13 12:35:58 -04:00
Ryan VanderMeulen
9fae8ce672
Merge m-c to inbound.
2013-08-13 16:56:11 -04:00
Christoph Kerschbaumer
82c1ef44f0
Bug 663567 - Mochitest verifying that content added by XSLT stylesheet is subject to document's CSP. r=grobinson, r=sstamm
2013-08-12 14:54:12 -07:00
Mounir Lamouri
1644a00ceb
Bug 846688 - Move IsLTR() from nsHTMLInputElement.cpp to dom::Element. r=bz
2013-08-13 12:21:05 +01:00
Carsten "Tomcat" Book
4c7eb2b6bd
merge mozilla-central to b2g-inbound
2013-08-13 13:57:37 +02:00
Kyle Huey
8ef412bec4
Bug 901630: Remove support for the cc thread. r=mccr8
2013-08-13 10:45:32 -07:00
Olli Pettay
8c73469b01
Bug 904602 - Optimize tree traversing in Range, r=mats
...
--HG--
extra : rebase_source : b223d822792e95c0b5bbd40046c32f1049b068d8
2013-08-13 18:40:42 +03:00
Ryan VanderMeulen
75b9bb6d8f
Merge m-c to inbound.
2013-08-12 21:59:20 -04:00
Ryan VanderMeulen
a0d9f811c2
Backed out 4 changesets (bug 887690) for suspicion of causing frequent mochitest-2 failures.
...
Backed out changeset 106ae6eee902 (bug 887690)
Backed out changeset e2c72cb029f4 (bug 887690)
Backed out changeset 9eea090ed6f7 (bug 887690)
Backed out changeset 1defeb691f5c (bug 887690)
2013-08-12 19:13:38 -04:00
Kan-Ru Chen (陳侃如)
f186023681
Bug 845169 - Update touch region from remote frame. r=roc
2013-08-13 15:56:57 +08:00
Kyle Huey
6b38960fd8
Bug 803612 - Add deprecation warnings for mozGetAsFile. r=sicking
2013-08-12 13:26:31 -04:00
Jon Coppeard
8d0a37229f
Bug 903352 - Handlify remaining PropertyDescriptor APIs r=terrence r=bholley r=smaug
2013-08-12 12:09:14 +01:00
Gavin Sharp
befff981ed
Bug 897399: handle the inner window disappearing after beforescriptexecute without crashing, r=sicking
...
--HG--
extra : transplant_source : %90GW%01%C7%BA%FB%3E%FF%8A%F2%EFf%E7%81%C6s%F6%E9%2B
2013-08-02 10:55:50 -07:00
Ryan VanderMeulen
f7b0f7438b
Merge m-c to b2g-inbound.
2013-08-12 15:36:24 -04:00
Martijn Wargers
d82f6896da
Bug 902611 - test_bug475156.html failing on b2g mochitest with (NS_NOINTERFACE) [nsISupports.QueryInterface]. r=jduell
2013-08-12 01:48:10 +02:00
Szu-Yu Chen [:aknow]
4d6be48921
Bug 887690 - Part 2: Add emergency callback mode support (dom). r=bent
2013-08-12 08:25:09 -04:00
Ryan VanderMeulen
03b55bc71f
Backed out changeset e91392042137 (bug 892488) for mochitest-3 failures.
...
CLOSED TREE
2013-08-14 13:29:10 -04:00
Brian O'Keefe
3dadb0e396
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Honza Bambas
06d7ec69db
Bug 892488 - Get rid of the offline application cache prompt, r=ehsan+jonas
2013-08-14 17:17:00 +02:00
David Zbarsky
34dcd56bd5
[Bug 901289] Remove nsIDOMLinkStyle r=Ms2ger
2013-08-09 21:17:52 -04:00
David Zbarsky
0e2f11839b
[Bug 901656] nsIRadioGroupContainer can use HTMLInputElement r=Ms2ger
2013-08-09 21:17:51 -04:00
Ryan VanderMeulen
a199b3df6e
Merge m-c to inbound.
2013-08-09 19:29:45 -04:00
Ryan VanderMeulen
13be9bc4d0
Merge inbound to m-c.
2013-08-09 19:08:45 -04:00
Ryan VanderMeulen
c56b4e5a84
Merge b2g-inbound to m-c.
2013-08-09 17:26:14 -04:00
Ryan VanderMeulen
877a258694
Merge m-c to b2g-inbound.
2013-08-08 16:24:53 -04:00
Justin Lebar
a132de4354
Bug 902714 - Test for nsIMessageManager.addWeakMessageListener. r=smaug
...
--HG--
extra : rebase_source : 75a15479fd45f9e6a6092356ff96fb26d5f27338
2013-08-08 11:36:56 -07:00
Justin Lebar
103fd764af
Bug 902714 - Add {add,remove}WeakMessageListener to nsIMessageManager. r=smaug
...
--HG--
extra : rebase_source : 3fa06e18fce1c1338924ec940a6833f87c450106
2013-08-08 11:36:56 -07:00
Tim Taubert
e85b9095d9
Bug 888972 - part 1 - add nsIFrameScriptLoader.getDelayedFrameScripts(); r=smaug
2013-08-09 04:36:37 +02:00
Mark Hammond
f9c8c5e605
Bug 897811 - fix uses of browser.pagethumbnails.capturing_disabled to reflect the pref controls if it is *disabled* rather than enabled. r=gavin
2013-08-08 09:52:01 +10:00
Ehsan Akhgari
ddf1e43fca
Bug 901773 - Remove the duplicate _moz-type atom from nsGkAtomList; r=khuey
2013-08-09 18:08:56 -04:00
Gabor Krizsanits
89302bbfc9
Bug 877164 - nsDocument should call GetJunkScope later. r=smaug
2013-08-08 14:23:33 +02:00
Boris Zbarsky
c846cbddd8
Bug 897913 part 1. Don't assert that app id exists when asked for app status; just claim not installed if there is no app id. r=sicking
2013-08-07 17:40:00 -04:00
Simon Montagu
955967b5ff
Add a routine to clear the direction set by a textnode without resetting it. Bug 894137, r=ehsan
2013-08-08 09:54:18 +03:00
David Zbarsky
9dd8b1ad80
Bug 902732: Merge nsILink and dom::Link r=bz
2013-08-08 01:26:32 -04:00
Boris Zbarsky
adc8e860c3
Back out revision ab9642207875 (bug 897811) for browser-chrome test failures.
2013-08-08 01:13:45 -04:00
Mark Hammond
71bca9e80b
Bug 897811 - fix uses of browser.pagethumbnails.capturing_disabled to reflect the pref controls if it is *disabled* rather than enabled. r=gavin
2013-08-08 09:52:01 +10:00
Ed Morley
4d9df5ebf6
Backed out changeset 9e8edeb0539e (bug 897913)
2013-08-07 15:50:16 -07:00
Boris Zbarsky
844828826e
Bug 897913 part 1. Don't assert that app id exists when asked for app status; just claim not installed if there is no app id. r=sicking
2013-08-07 17:40:00 -04:00
David Zbarsky
eb7e83b422
Bug 901060 - Make nsGenericHTMLElement implement nsIDOMHTMLElement r=bz
2013-08-07 16:23:08 -04:00
Neil Deakin
0f0430de5b
Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan
2013-08-07 14:52:38 -04:00
David Dahl
98f42a7f2a
Bug 824652 - crypto.generateCRMFRequest bypasses CSP (allows script execution from a string, without unsafe-eval) r=bsmith r=khuey r=keeler
2013-08-06 21:46:05 -05:00
Mark Hammond
f45a45d737
Bug 897811 - remove browser.pageThumbs.enabled preference. r=gavin
2013-08-07 11:10:58 +10:00
Ehsan Akhgari
b9560fc7d9
Bug 902111 - Forward-declare nsIFrame in nsISelectionPrivate.h; r=bzbarsky
2013-08-06 16:19:11 -04:00
Arnaud Sourioux
07117795ca
Bug 900274: Mark content/base/src as FAIL_ON_WARNINGS in Makefile.in r=smaug
2013-08-06 09:51:40 -07:00
Bob Owen
7fa45b3be7
Bug 886262 - Ensure sandbox flags and, where necessary, null principal are set for child objects. r=bz
2013-08-06 11:01:23 +01:00
Yuan Xulei
a1e4446ad8
Bug 895239 - Serialize non-textual container element as placeholder if OutputNonTextContentAsPlaceholder is set. r=smaug
2013-08-06 10:40:38 -04:00
Daniel Holbert
a6d8bf4063
Bug 900260: Explicitly cast 64-bit value to size_t, to fix build warning on 32-bit platforms (which won't run this code anyway). r=froydnj
2013-08-06 07:13:59 -07:00
Nicholas Nethercote
c1d8302699
Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
...
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Daniel Holbert
879d9d11a9
Bug 901645: Mark some variables in content/base/src as DebugOnly. r=smaug
2013-08-05 21:35:08 -04:00
Boris Zbarsky
cb5a1d24f1
Bug 901682. Rev the IID for nsXMLHttpRequest. r=gavin
2013-08-05 21:28:51 -04:00
Ryan VanderMeulen
03f1e9ee4f
Merge m-c to inbound.
2013-08-05 20:00:43 -04:00
Ryan VanderMeulen
6e225374e2
Backed out changeset a4dd0dc4e354 (bug 824652) for Android M1 orange.
2013-08-05 19:21:17 -04:00
David Keeler
f6f47c149c
bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst
2013-08-02 16:23:18 -07:00
David Keeler
e02475356e
bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
...
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-08-02 15:48:37 -07:00
David Dahl
99b75a0ff8
Bug 824652 - crypto.generateCRMFRequest bypasses CSP (allows script execution from a string, without unsafe-eval) r=bsmith r=khuey r=keeler
2013-08-05 16:15:22 -05:00
Ryan VanderMeulen
e91e143e66
Backed out changesets 5f8a88c6d0c8 and 97fcb5a154d8 (bug 887052) for OSX mochitest-other orange.
...
--HG--
rename : netwerk/base/public/nsISiteSecurityService.idl => netwerk/base/public/nsIStrictTransportSecurityService.idl
rename : security/manager/boot/src/nsSiteSecurityService.cpp => security/manager/boot/src/nsStrictTransportSecurityService.cpp
rename : security/manager/boot/src/nsSiteSecurityService.h => security/manager/boot/src/nsStrictTransportSecurityService.h
2013-08-05 16:18:06 -04:00
Szu-Yu Chen [:aknow]
7c0dd8c2fa
Bug 743150 - Part 2: Add remoteheld/remoteresumed event (dom). r=bent, r=gyeh
2013-08-05 16:28:14 -04:00
Martijn Wargers
82728757f4
Bug 901385 - test_mutationobservers.html failing on b2g and Android mochitest because of the use of showModalDialog. r=smaug
2013-08-05 13:02:57 +02:00
David Keeler
a746ca39ba
bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst
2013-07-01 10:49:40 -07:00
David Keeler
503e645f01
bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
...
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-07-01 09:30:11 -07:00
Boris Zbarsky
82ba945cef
Bug 900898 part 2. Move to using Nullable<TypedArray> to represent possibly-null TypedArray structs. r=smaug
2013-08-05 13:40:01 -04:00
Daniel Holbert
7fab5e3863
Bug 901529: Declare bitmask as uint16_t, rather than implicitly as a signed short function-arg, to fix "truncation of constant value" build warning. r=jlebar
2013-08-05 12:45:50 -04:00
Jon Coppeard
da8c061053
Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug
2013-08-05 14:02:47 +01:00
Boris Zbarsky
22412e781e
Bug 707564 part 3. Give WebIDL bindings with NewResolve hooks Enumerate hooks as well, so enumerating them correctly resolves all the properties. r=smaug
2013-08-03 23:38:54 -04:00
Blake Kaplan
8c4b371602
Bug 897386 - Hack to allow adopted browsers to still have XBL bindings. r=sicking
2013-08-02 14:05:02 -07:00
Ryan VanderMeulen
3a385f459a
Merge inbound to m-c.
2013-08-02 16:36:40 -04:00
Justin Lebar
3024bbcc2d
Back out 4ff7455f6720, "Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan" on a CLOSED TREE.
2013-08-02 10:53:34 -07:00
Ed Morley
05a37c3a43
Merge mozilla-central and b2g-inbound
2013-08-02 13:51:22 +01:00
Ms2ger
21409e5d2c
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
f8a25b94f5
Bug 897945 - Use an XPCOM string for nsContentUtils::ReportToConsole's category argument; r=bholley
2013-08-02 09:09:11 +02:00
Ms2ger
d5d5885d4c
Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8
2013-08-02 09:04:01 +02:00
Mike Hommey
ca80cd82ad
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
93e89304fd
Bug 853221 - Patch 2: Distribute events from BluetoothAdapter, r=smaug, sr=mrbkap
2013-08-02 18:33:15 +08:00
Ryan VanderMeulen
501ddf3329
Merge m-c to fx-team.
2013-08-01 16:35:13 -04:00
Daniel Holbert
bb59ff0d44
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
43ee09681b
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
6c8c5a68b8
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
f2eacd8ccc
Bug 899812 - Error reporters should consistently report errors to stderr (r=bholley)
2013-07-31 17:04:49 -07:00
Neil Deakin
243c5a081d
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
8ac55e5939
Bug 884410 - Handlify JS_GetPrototype. r=terrence
2013-07-31 12:20:33 -04:00
Justin Lebar
9befee6c8d
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
0ce5f94aa5
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
77cb688076
Backed out changeset 4aeb00521c9d (bug 896890) for build bustage.
...
CLOSED TREE
2013-07-30 15:50:46 -04:00
Justin Lebar
c092dd4810
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
085494b95d
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
4b841ae8c6
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
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
David Zbarsky
f0098e9a95
Bug 898947 - Remove nsIInlineEventHandlers from nodes r=bz
2013-07-30 01:47:28 -07:00
David Zbarsky
53f3f3f4df
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
99246966e4
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
9f3d1e24f0
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
1a7436ff31
Bug 898947 - Remove nsIInlineEventHandlers from nodes r=bz
2013-07-29 16:04:09 -07:00
John Schoenick
4f47c01ab7
Bug 889614 - Followup, don't erroneously cancel other events. r=josh
2013-07-29 13:50:55 -07:00
Jon Coppeard
fd4d274d46
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
343eac0301
Bug 837242. Part 1: Convert bool parameters to flags. r=mats
2013-07-26 14:31:41 +12:00
Ryan VanderMeulen
d07905c6bc
Backed out changeset f570fc641c5f (bug 894586) for xpcshell failures on a CLOSED TREE.
2013-07-26 22:49:13 -04:00
Mook
9a443aeeaf
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
2f05ea5a46
Bug 846918: adds hsts reporting from nsDocument. r=smaug.
2013-07-26 08:37:03 -07:00
Carsten "Tomcat" Book
ac22f0d0ad
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
fed22eac4c
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00