Commit Graph

492 Commits

Author SHA1 Message Date
Jim Blandy
b6b202b6bb Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Wes Kocher
94dec8fe7d merge m-c to inbound on a CLOSED TREE 2014-06-20 14:02:54 -07:00
Ed Morley
6b50337161 Merge latest green inbound changeset and mozilla-central; a=merge 2014-06-20 17:42:16 +01:00
Ghislain 'Aus' Lacroix
ff678301d0 bug 983747 - Follow-up. Correct bad commit. r=kanru (from original patch, which had the correct code.) 2014-06-20 03:17:34 -07:00
Kyle Huey
c46bed2510 Bug 737976: Remove nsINodeInfo. r=smaug
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Yuan Xulei
a63c12f189 Bug 1020726 - Do not store the active input iframe in a global variable. r=fabrice 2014-06-20 09:48:49 -07:00
Armen Zambrano Gasparnian
74c8fc1b52 Bug 989583 - Install all tests (even disabled) from manifests. r=jmaher 2014-06-16 14:51:22 -04:00
"Kan-Ru Chen (陳侃如)"
dc42453d34 Bug 1009351 - Add link text to mozbrowser context menu data. r=smaug 2014-06-14 15:16:26 +08:00
Olli Pettay
9233bc118d Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz 2014-06-11 22:38:55 +03:00
Ryan VanderMeulen
5b864913bc Backed out changeset ec353cd772b1 (bug 989583) for B2G emulator mochitest mass-fail. 2014-06-11 13:55:44 -04:00
Armen Zambrano Gasparnian
ceece18474 Bug 989583 - Include all tests upon build time (even disabled ones) & only run enabled ones during run time. r=jmaher 2014-06-11 12:16:10 -04:00
"Kan-Ru Chen (陳侃如)"
7df84372ff Bug 879475 - Part 006. Fix http auth prompts for nested content processes r=honzab
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:36 +08:00
Ghislain 'Aus' Lacroix
2089611bd1 bug 983747 - Add 'download' method to Browser API r=kanru,paolo 2014-06-09 10:51:25 -07:00
Ghislain 'Aus' Lacroix
f76b6a71a1 Backed out changeset ceb784b90138 2014-06-09 08:51:16 -07:00
Ghislain 'Aus' Lacroix
6ff9f6b846 bug 983747 - Add 'download' method to Browser API r=kanru,paolo 2014-06-09 08:34:54 -07:00
Bobby Holley
241bf43e3e Bug 1021244 - Switch the browser-element API to Cu.exportFunction. r=baku 2014-06-05 22:32:37 -07:00
Gijs Kruitbosch
fa84bb7fa8 Bug 1019643 - use Cu.cloneInto for browser elements instead of manually looping through objects and exposing them, r=bholley
--HG--
extra : transplant_source : %D4%CDG%19-%27F%C4%93%D5LF%2CE%0B%F7%2A6%94%E9
2014-06-04 13:21:08 +01:00
Gabriele Svelto
95b58a5e16 Bug 1011493 - Assign the correct priority to the keyboard app. r=khuey 2014-05-30 15:29:43 +02:00
Trevor Saunders
876b806f62 bug 966059 - add nsIDocShell::GetWindow and GetDocument r=smaug 2014-01-09 21:03:47 -05:00
Tim Chien
a69d36b4d6 Bug 983490 - Better progress control for setInputMethodActive() test. r=yxl 2014-05-23 03:14:00 +02:00
Ryan VanderMeulen
ae91b0cd6a Backed out changeset aa71426c4514 (bug 983490) for intermittent failures. 2014-05-22 13:24:50 -04:00
Tim Chien
b3e208f11d Bug 983490 - Better progress control for setInputMethodActive() test. r=yxl 2014-05-22 01:14:00 +02:00
Yuan Xulei
c2aed37763 Bug 993394 - Wait until BrowserElement child ready before calling SetInputMethodActive. r=fabrice 2014-05-19 17:34:55 +08:00
Junior Hsu
ed51aecaa3 Bug 970777 - Remove redundant |numLoaded| checks in dom/browser-element/mochitests/*.js. r=smaug
1. Make the test more solid
2. Postpone the second |takeScreenshot| right after the |iframe1| is onload again
3. Remove redundant |numLoaded| by assigning |iframe1.src| first.
2014-05-09 01:52:00 +02:00
Ryan VanderMeulen
150ab7617e Merge b2g-inbound to m-c. 2014-05-08 15:52:48 -04:00
Ryan VanderMeulen
54deef767b Bug 983490 - Disable test_browserElement_inproc_SetInputMethodActive.html and test_browserElement_oop_SetInputMethodActive.html for frequent failures. 2014-05-08 10:26:04 -04:00
Dave Huseby
718be9d317 Bug 972075 - Add profile markers from browser element event synthesis. r=BenWa, r=vingtetun 2014-05-05 16:41:00 -04:00
Fabrice Desré
63c5a84412 Bug 1003836 - Don't use createEvent("TouchEvent") to check if TouchEvents are supported r=smaug 2014-05-02 14:56:18 -07:00
Gabriele Svelto
12544ee594 Bug 999327 - Consider the wake-locks held by the main process when computing priorities. r=fabrice 2014-05-01 15:47:26 +02:00
Ehsan Akhgari
76968a69ed Bug 998734 - Remove nsIAsyncScrollEventDetail; r=bzbarsky 2014-04-26 20:07:50 -04:00
Patrick Wang (Chih-Kai Wang)
b91de9e100 Bug 994560: Compute CPU priority based on priority that is going to be set r=gsvelto 2014-04-18 14:28:14 +08:00
Marco Castelluccio
9b8bd037cb Bug 993326 - Automatically restore apps launchable value. r=fabrice 2014-04-17 16:43:04 -04:00
Monica Chew
1b724bad01 Bug 991177: Disallow overrides for SEC_ERROR_CA_CERT_INVALID (r=keeler) 2014-04-15 15:35:41 -07:00
Botond Ballo
857b2811ce Bug 976605 - Disable active element handling in BEP.js if APZ is enabled. r=kats,vingtetun
--HG--
extra : source : 2a6f99faedb8317b87b99a81953fa0ddd759ddaa
2014-04-09 13:39:36 -04:00
Ed Morley
9e1dd10843 Backed out changeset 7d8d52db13a6 (bug 976605) 2014-04-15 17:45:13 +01:00
Botond Ballo
3d60647ed5 Bug 976605 - Disable active element handling in BEP.js if APZ is enabled. r=kats,vingtetun
--HG--
extra : source : 62f6bbf910b470d8e423811dd036fe13b2c8c47b
2014-04-09 13:39:36 -04:00
Vivien Nicolas
062ed28a41 Bug 986752 - CSS :active states get stuck with multiple on-screen touches. r=botond 2014-04-09 14:47:30 +02:00
Jan Jongboom
12bc0f9699 Bug 987549 - Wait until BrowserElement child scripts have been loaded before dispatching inputMethod setActive request. r=yxl 2014-04-02 08:51:46 -04:00
Richard Newman
660ed70e27 Bug 989580 - Lazy load BrowserElementParent.jsm in BrowserElementParent.js. r=jst 2014-03-31 14:04:38 -07:00
Boris Zbarsky
9553dba3d6 Bug 987112. Remove the redundant and somewhat annoying parentObject argument to dictionary ToObject() methods. r=bholley 2014-03-29 01:45:10 -04:00
Ryan VanderMeulen
d9d827e562 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Fabrice Desré
c1daa445bf Bug 982491 - Group apps in activities chains in the same process r=cervantes,gene 2014-03-25 21:56:35 -07:00
Cervantes Yu
2497e33577 Bug 968604: Temporarily disable test case test_Preallocated.html in mochitest-2 suite before the Shutdown hang is fixed. r=fabrice
--HG--
extra : rebase_source : d31f86a4f5d7ed90beb2540871c39b5c63ae0900
2014-03-26 14:46:05 +08:00
Cervantes Yu
1bfe0b1b6e Bug 968604 Part 2: Test case fix: clean up the preallocated process in an async manner. r=khuey
--HG--
extra : rebase_source : 234d60d32283caed23f3729b205a6271edb0aa1e
2014-03-03 18:52:39 +08:00
Cervantes Yu
b22bcfe208 Bug 959966: prevent the preallocated process from being killed by the lowmem killer by rasing its priority. r=khuey,gsvelto 2014-03-13 15:24:42 +08:00
Wes Kocher
da76467f53 Merge m-c to b2g-inbound 2014-03-18 14:59:25 -07:00
Vivien Nicolas
c558cd7946 Bug 984845 - BrowserElementParent.getScreenshot should return more accurate screenshots. r=fabrice 2014-03-18 18:44:24 +01:00
Masayuki Nakano
b7a8d4a392 Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
Bill McCloskey
d960718b48 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
62d61f05a8 Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00