Commit Graph

1556 Commits

Author SHA1 Message Date
Jim Blandy
7e20285e70 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
Marco Castelluccio
32f517a322 Bug 922187 - Properly catch exceptions in checkInstalled and fire the error callback on the DOM request. r=myk 2014-06-25 01:51:28 +02:00
Wes Kocher
5f0227f1b9 Backed out changeset e5e0bb1653b5 (bug 922187) for mochitest-4 bustage on a CLOSED TREE 2014-06-23 16:49:12 -07:00
Marco Castelluccio
8fba853f1e Bug 922187 - Properly catch exceptions in checkInstalled and fire the error callback on the DOM request. r=myk 2014-06-24 00:40:56 +02:00
Jason Orendorff
db7aa8370b Bug 645416, part 5 - Add the Symbol constructor and Symbol wrapper objects. r=efaust.
This exposes a new primitive type to scripts for the first time since
JavaScript first shipped in Netscape 2, over 13 years ago.

The tests focus on identity, equality, and being able to pass a symbol around
as a value. Of course the point of symbols is that they can be property keys,
but that will have to wait for a later patch in this series.

--HG--
extra : rebase_source : c22cf4b774cca8e7c9f6c757079e054a6eb0f307
2014-06-23 10:55:52 -05:00
Hsin-Yi Tsai
fd995e0e3c Bug 981519 - number and name presentation - part 3 - DOM & IPC code. r=smaug 2014-04-10 14:25:42 +08:00
Sean Lin
4dd7733b2e Bug 901114 - Convert Alarm API to WebIDL. r=nsm, sr=jst 2014-06-13 14:19:11 +08:00
Masayuki Nakano
d6f9e801a9 Bug 976673 part.3 Don't synthesize mouse events while another mouse event is being synthesized r=smaug 2014-06-18 15:13:00 +09:00
Bobby Holley
e828dcdeab Bug 987163 - Test fixups. r=gabor 2014-06-17 10:16:08 -07:00
Hsin-Yi Tsai
478c777a6c Backed out changeset 598098217e1f (bug 981519) for causing regression bug 1026081 2014-06-17 15:37:31 +08:00
Doug Turner
2d1c03aa6a Bug 1019071 - Backout 9ccdc477061e. r=me 2014-06-13 11:04:34 -07:00
Ed Morley
c19ece1e48 Merge mozilla-central and inbound 2014-06-12 16:02:42 +01:00
Ed Morley
87ffc51e01 Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-06-12 15:52:13 +01:00
Jan Varga
55b6d367ce Bug 1006485 - Part a: Rename FileHandle to MutableFile and LockedFile to FileHandle; r=bent
--HG--
rename : dom/filehandle/FileHandle.cpp => dom/filehandle/MutableFile.cpp
rename : dom/filehandle/FileHandle.h => dom/filehandle/MutableFile.h
rename : dom/filehandle/test/test_lockedfile_lifetimes.html => dom/filehandle/test/test_filehandle_lifetimes.html
rename : dom/filehandle/test/test_lockedfile_lifetimes_nested.html => dom/filehandle/test/test_filehandle_lifetimes_nested.html
rename : dom/filehandle/test/test_lockedfile_ordering.html => dom/filehandle/test/test_filehandle_ordering.html
rename : dom/filehandle/test/test_overlapping_lockedfiles.html => dom/filehandle/test/test_overlapping_filehandles.html
rename : dom/filehandle/test/test_readonly_lockedfiles.html => dom/filehandle/test/test_readonly_filehandles.html
rename : dom/indexedDB/IDBFileHandle.cpp => dom/indexedDB/IDBMutableFile.cpp
rename : dom/indexedDB/IDBFileHandle.h => dom/indexedDB/IDBMutableFile.h
rename : dom/webidl/IDBFileHandle.webidl => dom/webidl/IDBMutableFile.webidl
rename : dom/webidl/FileHandle.webidl => dom/webidl/MutableFile.webidl
2014-06-12 05:35:29 +02:00
Ryan VanderMeulen
fca92c9520 Bug 1019071 - Skip Geolocation tests on OSX. r=dougt
CLOSED TREE
2014-06-11 19:53:45 -04:00
Xidorn Quan
96a68ed4e1 Bug 966166 - Part 1: Parse @counter-style rule. r=dbaron, r=bz 2014-06-11 21:10:00 -04:00
Hsin-Yi Tsai
279886c354 Bug 981519 - number and name presentation - part 3 - DOM & IPC code. r=smaug 2014-04-10 14:25:42 +08:00
William Chen
416f36b0de Bug 992521 - Part 2: Make styles work when not in document, but contained by a ShadowRoot with a host in document. r=smaug 2014-06-07 01:42:54 -07:00
Honza Bambas
4b98e16e4c Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 20:14:07 +02:00
Ryan VanderMeulen
006487470f Backed out changeset d405928cb934 (bug 999577) and changeset 940d041073c7 (bug 938186) for xpcshell failures.
CLOSED TREE
2014-06-05 13:32:04 -04:00
Alexandre Lissy
76870a99e4 Bug 1020581 - Notification resend test feedback improvement and less strict on timestamp. r=mhenretty 2014-06-05 03:00:00 -04:00
Honza Bambas
995070a4f7 Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 18:27:38 +02:00
William Chen
b031491de9 Bug 1011831 - Support <template> element in XHTML parser. r=hsivonen 2014-06-04 15:21:23 -07:00
William Chen
667b68b711 Bug 1017896 - Ensure there is a template contents owner when creating template elements. r=bz 2014-06-04 14:47:31 -07:00
Carsten "Tomcat" Book
f13d351a57 Backed out changeset c15e59678a60 (bug 1017896) for reftest failures 2014-06-04 08:55:59 +02:00
William Chen
3d94034ff8 Bug 1017896 - Ensure there is a template contents owner when creating template elements. r=bz 2014-06-03 16:09:41 -07:00
John Schoenick
76be8c28d9 Bug 870021 - Followup, fix currentSrc visibility when pref'd off. r=bz 2014-06-03 15:12:38 -07:00
Wes Kocher
4c3d7d8799 Backed out changeset dc79f34a19f1 (bug 1011831) for OSX dt1 bustage on an otherwise CLOSED TREE 2014-05-30 17:35:30 -07:00
William Chen
a456310337 Bug 1011831 - Support <template> element in XHTML parser. r=hsivonen 2014-05-30 16:11:02 -07:00
Ehsan Akhgari
47dfe34897 Bug 1017820 - Remove the classinfo for DOMWindowUtils; r=bzbarsky 2014-05-29 22:45:47 -04:00
Vincent Chang
07345883f9 Bug 774582 - Unable to know if there is a user connected to Wifi tethering network. r=mrbkap 2014-01-22 16:37:40 +08:00
Carsten "Tomcat" Book
e096bc3ea7 merge b2g-inbound to mozilla-central 2014-05-28 14:33:48 +02:00
Ryan VanderMeulen
f826d1a97f Merge m-c to b2g-inbound. 2014-05-27 16:24:25 -04:00
Ryan VanderMeulen
4a08636d20 Merge inbound to m-c on a CLOSED TREE. 2014-05-27 16:23:41 -04:00
Reuben Morais
6b28e6ff71 Bug 952486 - Use CheckPermissions instead of Func for several interfaces. r=bz 2014-05-25 15:31:11 -03:00
Fabrice Desré
2deb233e1d Bug 952486 - backout for breaking all device and emulator builds (keeping dom reviewer to land the backout...) r=bz 2014-05-26 12:11:52 -07:00
Reuben Morais
df3026450e Bug 952486 - Use CheckPermissions instead of Func for several interfaces. r=bz 2014-05-25 15:31:11 -03:00
Eric Chou
406d422732 Bug 942104 - Add event 'BluetoothDiscoveryStateChangedEvent', r=gyeh, r=bz 2014-05-23 14:00:19 +08:00
William Chen
ccc506dc38 Bug 999271 - Implement web components getDestinationInsertionPoints() extension to Element interface. r=mrbkap 2014-05-21 23:11:53 -07:00
Ryan VanderMeulen
29d0dd7695 Merge b2g-inbound to m-c. 2014-05-21 16:17:37 -04:00
Ed Morley
2041c61716 Bug 919106 - Disable test_pointerlock-api.html since it became permaorange after a chunking change; CLOSED TREE
--HG--
extra : amend_source : 3c950b1662c2e37d915e761926d330bbe0198a58
2014-05-21 18:54:59 +01:00
Ryan VanderMeulen
81ea3fe8bc Backed out 7 changesets (bug 824717) for bustage. r=khuey because the webidl hook is dumb
Backed out changeset bd7c604de980 (bug 824717)
Backed out changeset 4c4b8b15da37 (bug 824717)
Backed out changeset fd9e72e50518 (bug 824717)
Backed out changeset d66a08988272 (bug 824717)
Backed out changeset 5eaab20bb1aa (bug 824717)
Backed out changeset c80dbc9a693a (bug 824717)
Backed out changeset 62e12031b8bc (bug 824717)
2014-05-21 08:42:54 -04:00
Carsten "Tomcat" Book
2d8613732f Merge mozilla-central to b2g-inbound 2014-05-21 14:32:08 +02:00
Chuck Lee
fb61088ddb Bug 1002314 - 0001. WebIDL Change. r=ehsan, r=mrbkap 2014-05-19 10:29:18 +08:00
Richard Barnes
513ac90185 Bug 995385 - Add WebCrypto WebIDL interfaces. r=bz, r=cviecco, r=dkeeler 2014-05-15 06:20:00 -04:00
Mounir Lamouri
9094d69df2 Bug 1014581 - Vibration API: clamp vibration lengths and array length to match platform restrictions. r=smaug 2014-05-27 21:54:03 +01:00
Mounir Lamouri
d219051569 Bug 887703 - navigator.doNotTrack returns { "0", "1", "unspecified" }. r=jlebar
--HG--
rename : dom/tests/mochitest/general/test_bug629535.html => dom/tests/mochitest/general/test_donottrack.html
2014-05-26 22:10:39 +01:00
Bevis Tseng
bf2146754d Bug 824717 - Part 1: Define DOMMobileMessageError:DOMError to hook an additional nsISupports object like nsIDOMMozSmsMessage/nsIDOMMozMmsMessage when error occurs. r=hsinyi, r=smaug 2014-04-28 11:54:07 +08:00
Bevis Tseng
d29d5f2d51 Bug 824717 - Part 1: Define DOMMobileMessageError:DOMError to hook an additional nsISupports object like nsIDOMMozSmsMessage/nsIDOMMozMmsMessage when error occurs. r=hsinyi, r=smaug 2014-04-28 11:54:07 +08:00
Richard Barnes
01fedee2de Bug 998471 - Add support for key generation to WebCrypto API. r=bz,dkeeler
* * *
Change from SetCapacity to SetLength so that strings clone properly
2014-05-26 12:05:00 +02:00