Commit Graph

1757 Commits

Author SHA1 Message Date
Garvan Keeley
297eb6f869 Bug 1018383 - Added request-level caching in NetworkGeolocationProvider.js. r=jdm
This is a cleanup of the patch used in the Tarako bug. I made it clearer that this is request-level caching, NOT position caching.
 This is specifically for preventing unnecessary requests to the server. It is unrelated to the W3C PositionOptions and their effect on position caching.
 Hopefully this detail is clearer in this patch.

Updated mochitests that were relying on old logic to succeed

The failing mochitests were relying on the provider to have a specific behaviour -behaviours that are incidental to the test case. I updated these to reflect the behaviour of the current system.
2014-07-07 07:16:00 +02:00
Bobby Holley
ec0078e10d Bug 1033927 - Drop support for custom [object XrayWrapper [object ClassName]] stringification. r=peterv 2014-07-07 13:11:24 -07:00
Robert Longson
16b8b6133e Bug 530985. Make getBoundingClientRect give more sensible results for <svg> elements. r=jwatt
--HG--
extra : rebase_source : ad54b945431510c0a3246e608cad6d93e66c088e
extra : amend_source : 841b5aa8e17c3fba01806262725228ae7c94a941
2014-07-07 00:55:43 +12:00
Marco Castelluccio
bea7575679 Bug 1034731 - Better logging for manifest content-type errors. r=fabrice 2014-07-06 18:47:28 +02:00
Tim Taubert
3f882a20a0 Bug 1026314 - Rename Key to CryptoKey in WebCrypto r=rbarnes,bz
From 9beed249a4d08ccc945bc573a0c71d295cb1b222 Mon Sep 17 00:00:00 2001

--HG--
rename : dom/crypto/Key.cpp => dom/crypto/CryptoKey.cpp
rename : dom/crypto/Key.h => dom/crypto/CryptoKey.h
rename : dom/crypto/KeyPair.cpp => dom/crypto/CryptoKeyPair.cpp
rename : dom/crypto/KeyPair.h => dom/crypto/CryptoKeyPair.h
2014-06-23 23:25:13 +02:00
Kyle Huey
2d64bf6efa Bug 1031051: Part 6 - Migrate PopStateEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:02 -07:00
Kyle Huey
1d1eb7826d Bug 1031051: Part 4 - Remove ReplaceElementEvent. r=khuey,wchen 2014-06-30 16:01:11 -07:00
Kyle Huey
f4f09309a4 Bug 1031051: Part 2 - Migrate HashChangeEvent to the WebIDL code generator. r=smaug 2014-06-30 16:00:31 -07:00
William Chen
a349dc56ec Bug 1022869 - Reparent template contents owner document. r=peterv 2014-06-25 17:33:24 -07:00
John Schoenick
09c38006e3 Bug 870022 - Add test for dom.image.picture.enabled. r=bz 2014-06-25 11:47:51 -07:00
John Schoenick
669338ae76 Bug 870022 - Part 5.1 - Add HTMLPictureElement & atom. r=jst, sr=jst 2014-06-25 11:47:48 -07:00
Carsten "Tomcat" Book
ff26ea326c merge b2g-inbound to mozilla-central a=merge 2014-06-25 15:38:40 +02:00
Vicamo Yang
abc8270f73 Bug 958782 - 3/3: fix test cases. r=gene,khuey 2014-06-25 11:57:19 +08:00
Rik Cabanier
cab684d975 Bug 1018497 - Implementation of DOMMatrix. r=roc,bz 2014-06-24 20:15:00 +02:00
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
Wes Kocher
9093cbe91b merge m-c to inbound on a CLOSED TREE 2014-06-20 14:02:54 -07:00
Mike Conley
a2d11e75a4 Bug 989501 - Part 4: Tests for window opening behaviours over browser.link.open_newwindow and browser.link.open_newwindow.restriction. rs=smaug. 2014-06-20 14:09:26 -04: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