Commit Graph

6935 Commits

Author SHA1 Message Date
Boris Zbarsky
7da23c2946 Bug 908530 part 2. Fix all the places that are bootlegging things (esp nsIURI) via xpcpublic.h. r=khuey 2013-08-23 22:42:40 -04:00
Boris Zbarsky
12e653e224 Bug 908530 part 1. Make Link::GetURI return a raw pointer so we don't have to include nsIURI.h in Link.h. r=khuey 2013-08-23 22:42:39 -04:00
Tom Schuster
66a23a207f Bug 908213 - Fix CPOWs test failure and make it more robust. r=dvander 2013-08-23 19:04:20 -04:00
David Zbarsky
31df3b590f Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h. r=mounir 2013-08-23 13:56:20 -04:00
David Zbarsky
6e2250a052 Backout c619171e0070 for windows assertion failure on a CLOSED TREE 2013-08-23 14:58:41 -04:00
David Zbarsky
f19c09b33c Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h r=mounir 2013-08-23 13:56:20 -04:00
Kyle Huey
4fd557dbb9 Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Kyle Huey
00fed9eba7 Back out Bug 887533 for test failures. 2013-08-22 23:40:32 -07:00
Kyle Huey
24e5819315 Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Kyle Huey
409764b4e6 Bug 903772: Part 6 - Remove TextDecoderBase. r=emk 2013-08-22 22:17:09 -07:00
Kyle Huey
8edf4de9ad Bug 903772: Part 4 - Harmonize main thread and worker dictionary implementations. r=peterv 2013-08-22 22:17:09 -07:00
Kyle Huey
de0ee30e74 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Tom Schuster
20ac67e151 Bug 900707 - Disable two tests. r=smaug 2013-08-22 15:52:07 -04:00
Ehsan Akhgari
80d135155d Bug 907883 - Minimize #includes in layout/generic; r=roc
--HG--
extra : rebase_source : 5e87b764a12b05aff477c71547e2131be67ca93b
2013-08-22 14:32:52 -04:00
Boris Zbarsky
77e8df1201 Bug 907892. Disallow setting document.domain in sandboxed iframes. r=smaug 2013-08-22 09:46:27 -04:00
Ms2ger
f2b45b118e Merge m-c to inbound. 2013-08-22 11:25:07 +02:00
Ms2ger
7e1f9114f0 Bug 904831 - Followup: clobber 2013-08-22 11:22:03 +02:00
Ms2ger
87ae95251c Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
e8eaf4eb07 No bug - Use Unix line endings in nsSandboxFlags.h. 2013-08-22 08:56:07 +02:00
Ms2ger
4922ccbc0a Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
2d7391b50d Bug 883284 - Part b: Move LIBXUL_LIBRARY into moz.build (a-c); r=joey 2013-08-22 08:55:59 +02:00
Ms2ger
8ccdba4aa0 Bug 906412 - Cleanup some random parts of the build system; r=mshal 2013-08-22 08:55:59 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
cd3481c94d Bug 907364 - Remove the unused nsContentUtils::sDOMScriptObjectFactory; r=bholley 2013-08-22 08:34:25 +02:00
Ms2ger
585bec8d38 Bug 903844 - Add/update include-what-you-use annotations for various files; r=ehsan+khuey 2013-08-22 08:31:21 +02:00
Ms2ger
dd5239111f Bug 904178 - Part f: Remove some includes from nsPIDOMWindow.h; r=mounir 2013-08-22 08:30:55 +02:00
Ms2ger
ce9929aa7f 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
087f1a8f14 Bug 905747 - Reduce includes in nsXMLHttpRequest.h; r=khuey 2013-08-22 08:29:30 +02:00
Ryan VanderMeulen
11b14acefd Merge inbound to m-c. 2013-08-21 17:14:32 -04:00
John Schoenick
75c88795c6 Bug 902375 - Actually use the optional parameter added explicitly for this purpose. r=bsmedberg 2013-08-21 14:47:53 -07:00
Olli Pettay
55e2f46fa1 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
8bfa279bb1 Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ryan VanderMeulen
3bace0adf9 Merge m-c to inbound. 2013-08-21 17:17:18 -04:00
Daniel Holbert
37f619058a 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
1e7ca5d13f Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst 2013-08-21 15:28:26 -04:00
Nicholas Nethercote
42ccf38dcd 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
6684f516c0 Bug 772765 - part2 - Telephony DOM. r=bent 2013-07-06 18:24:55 +08:00
Bobby Holley
684f16b450 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
ea16e610c2 Bug 897741 - Limit the CSP cache key size to reduce memory usage. r=fabrice 2013-08-19 09:43:44 -04:00
Phil Ringnalda
3a9bc1d23d Merge m-c to m-i 2013-08-18 17:51:12 -07:00
Tanvi Vyas
fbb2152434 Bug 902350 - Mochitest. r=smaug 2013-08-18 12:32:09 -07:00
Phil Ringnalda
beddb21787 Merge m-c to fx-team 2013-08-17 08:42:11 -07:00
Mark Capella
0d5545ac39 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
ad2cf0b4fb Backed out changeset 2404f5888de3 (bug 864589) 2013-08-16 16:09:46 -07:00
Mark Capella
437a43e9ca 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
ff4865eaff 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
6584db92d2 Bug 892488 - Get rid of the offline application cache prompt, r=ehsan+jonas 2013-08-16 11:34:21 +02:00
Carsten "Tomcat" Book
51ca40e611 merge fx-team to mozilla-central 2013-08-16 10:29:59 +02:00
Blake Kaplan
c09ff521ef 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
3ec2c9b451 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
224c44d3ec 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
8e853c5c0c 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
8b8be2a46a Merge m-c to inbound. 2013-08-14 17:11:30 -04:00
Carsten "Tomcat" Book
89b83199da merge mozilla-central to b2g-inbound 2013-08-14 15:02:24 +02:00
Ms2ger
a04009b5b7 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00
Ms2ger
22cd3d5e7d Bug 902901 - Give nsScriptElement.h an include guard; r=hsivonen 2013-08-14 08:57:41 +02:00
Ms2ger
20752c581e 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
5357042f30 Bug 901320 - Stop including AutoRestore.h in nsContentUtils.h; r=jlebar 2013-08-14 08:56:25 +02:00
Ms2ger
df8525f77d Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Ms2ger
f2457c6b24 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]
729be609cb Bug 887690 - Part 2: Add emergency callback mode support (dom). r=bent 2013-08-14 08:50:22 -04:00
Ryan VanderMeulen
25348fabd9 Merge m-c to b2g-inbound. 2013-08-13 15:38:58 -04:00
Ryan VanderMeulen
65882bb67b Backed out changeset 850ef8175560 (bug 663567) for B2G mochitest-1 failures. 2013-08-13 12:35:58 -04:00
Ryan VanderMeulen
5ba0b25a8d Merge m-c to inbound. 2013-08-13 16:56:11 -04:00
Christoph Kerschbaumer
b6efcb3d21 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
924122577c Bug 846688 - Move IsLTR() from nsHTMLInputElement.cpp to dom::Element. r=bz 2013-08-13 12:21:05 +01:00
Carsten "Tomcat" Book
da3e6af5c1 merge mozilla-central to b2g-inbound 2013-08-13 13:57:37 +02:00
Kyle Huey
e9e214aa0e Bug 901630: Remove support for the cc thread. r=mccr8 2013-08-13 10:45:32 -07:00
Olli Pettay
24371d7f16 Bug 904602 - Optimize tree traversing in Range, r=mats
--HG--
extra : rebase_source : b223d822792e95c0b5bbd40046c32f1049b068d8
2013-08-13 18:40:42 +03:00
Ryan VanderMeulen
df483806f5 Merge m-c to inbound. 2013-08-12 21:59:20 -04:00
Ryan VanderMeulen
1f7ca11ce8 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 (陳侃如)
e2a7b7064f Bug 845169 - Update touch region from remote frame. r=roc 2013-08-13 15:56:57 +08:00
Kyle Huey
9fe1cac069 Bug 803612 - Add deprecation warnings for mozGetAsFile. r=sicking 2013-08-12 13:26:31 -04:00
Jon Coppeard
11678aa48c Bug 903352 - Handlify remaining PropertyDescriptor APIs r=terrence r=bholley r=smaug 2013-08-12 12:09:14 +01:00
Gavin Sharp
662673d49c 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
73ebf67a95 Merge m-c to b2g-inbound. 2013-08-12 15:36:24 -04:00
Martijn Wargers
286c4907b4 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]
01d5ef3e7c Bug 887690 - Part 2: Add emergency callback mode support (dom). r=bent 2013-08-12 08:25:09 -04:00
Ryan VanderMeulen
90bda8a707 Backed out changeset e91392042137 (bug 892488) for mochitest-3 failures.
CLOSED TREE
2013-08-14 13:29:10 -04:00
Brian O'Keefe
3a92f0ae7c Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Honza Bambas
e83bbcc4cd Bug 892488 - Get rid of the offline application cache prompt, r=ehsan+jonas 2013-08-14 17:17:00 +02:00
David Zbarsky
68527f0cce [Bug 901289] Remove nsIDOMLinkStyle r=Ms2ger 2013-08-09 21:17:52 -04:00
David Zbarsky
4f8354ad9d [Bug 901656] nsIRadioGroupContainer can use HTMLInputElement r=Ms2ger 2013-08-09 21:17:51 -04:00
Ryan VanderMeulen
2cb6b07d20 Merge m-c to inbound. 2013-08-09 19:29:45 -04:00
Ryan VanderMeulen
8afe7e8fed Merge inbound to m-c. 2013-08-09 19:08:45 -04:00
Ryan VanderMeulen
1c27efb8bd Merge b2g-inbound to m-c. 2013-08-09 17:26:14 -04:00
Ryan VanderMeulen
4bdd6d2653 Merge m-c to b2g-inbound. 2013-08-08 16:24:53 -04:00
Justin Lebar
67b4356bb2 Bug 902714 - Test for nsIMessageManager.addWeakMessageListener. r=smaug
--HG--
extra : rebase_source : 75a15479fd45f9e6a6092356ff96fb26d5f27338
2013-08-08 11:36:56 -07:00
Justin Lebar
7af9d5e825 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
a3f554c40b Bug 888972 - part 1 - add nsIFrameScriptLoader.getDelayedFrameScripts(); r=smaug 2013-08-09 04:36:37 +02:00
Mark Hammond
ac7c070103 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
ad1141baba Bug 901773 - Remove the duplicate _moz-type atom from nsGkAtomList; r=khuey 2013-08-09 18:08:56 -04:00
Gabor Krizsanits
3cadbc3509 Bug 877164 - nsDocument should call GetJunkScope later. r=smaug 2013-08-08 14:23:33 +02:00
Boris Zbarsky
95be140e8b 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
f3f164aa69 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
de328bd8e8 Bug 902732: Merge nsILink and dom::Link r=bz 2013-08-08 01:26:32 -04:00
Boris Zbarsky
27c0e89dfb Back out revision ab9642207875 (bug 897811) for browser-chrome test failures. 2013-08-08 01:13:45 -04:00
Mark Hammond
00e585ad0e 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
e586dabad5 Backed out changeset 9e8edeb0539e (bug 897913) 2013-08-07 15:50:16 -07:00
Boris Zbarsky
146cff469c 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
d0e051e4b7 Bug 901060 - Make nsGenericHTMLElement implement nsIDOMHTMLElement r=bz 2013-08-07 16:23:08 -04:00
Neil Deakin
2a4b390410 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
7a1662853b 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
337fcff3ff Bug 897811 - remove browser.pageThumbs.enabled preference. r=gavin 2013-08-07 11:10:58 +10:00
Ehsan Akhgari
d8b97b0c48 Bug 902111 - Forward-declare nsIFrame in nsISelectionPrivate.h; r=bzbarsky 2013-08-06 16:19:11 -04:00
Arnaud Sourioux
d270c23205 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
d12e2d913c 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
29356f6115 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
f23929b30f 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
ba723f1034 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
7255b73424 Bug 901645: Mark some variables in content/base/src as DebugOnly. r=smaug 2013-08-05 21:35:08 -04:00
Boris Zbarsky
bc04cffaba Bug 901682. Rev the IID for nsXMLHttpRequest. r=gavin 2013-08-05 21:28:51 -04:00
Ryan VanderMeulen
8e33abb5a7 Merge m-c to inbound. 2013-08-05 20:00:43 -04:00
Ryan VanderMeulen
57186da9cf Backed out changeset a4dd0dc4e354 (bug 824652) for Android M1 orange. 2013-08-05 19:21:17 -04:00
David Keeler
f9040f2187 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
9cbdeb8d74 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
18d09d5877 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
f5e9dc8c73 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]
3481e9835d Bug 743150 - Part 2: Add remoteheld/remoteresumed event (dom). r=bent, r=gyeh 2013-08-05 16:28:14 -04:00
Martijn Wargers
f965e8b467 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
aa164754ac 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
2333ac300d 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
cad540afeb 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
8ffe2cf4f1 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
71a6b47923 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
acdf381c53 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
8a7f2a19b6 Bug 897386 - Hack to allow adopted browsers to still have XBL bindings. r=sicking 2013-08-02 14:05:02 -07:00
Ryan VanderMeulen
e44fa2bc7c Merge inbound to m-c. 2013-08-02 16:36:40 -04:00
Justin Lebar
a04662fd5d 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
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
Andrew McCreight
ccacde7823 Backed out changeset 365053e73efa for build bustage on this CLOSED TREE. 2013-08-27 09:54:01 -07:00
Andrew McCreight
f74cd40dfd Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug 2013-08-20 14:19:33 -07: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