Commit Graph

1716 Commits

Author SHA1 Message Date
Garvan Keeley
93447c88fb 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
7ee918bfb2 Bug 1033927 - Drop support for custom [object XrayWrapper [object ClassName]] stringification. r=peterv 2014-07-07 13:11:24 -07:00
Robert Longson
a1b5aaeb64 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
e8e1264391 Bug 1034731 - Better logging for manifest content-type errors. r=fabrice 2014-07-06 18:47:28 +02:00
Tim Taubert
f9ee2d3eba 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
1658cc0c55 Bug 1031051: Part 6 - Migrate PopStateEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:02 -07:00
Kyle Huey
6121a4eee2 Bug 1031051: Part 4 - Remove ReplaceElementEvent. r=khuey,wchen 2014-06-30 16:01:11 -07:00
Kyle Huey
bca9965bb0 Bug 1031051: Part 2 - Migrate HashChangeEvent to the WebIDL code generator. r=smaug 2014-06-30 16:00:31 -07:00
William Chen
16db9ebd74 Bug 1022869 - Reparent template contents owner document. r=peterv 2014-06-25 17:33:24 -07:00
John Schoenick
5414ff1aad Bug 870022 - Add test for dom.image.picture.enabled. r=bz 2014-06-25 11:47:51 -07:00
John Schoenick
0f66e36c1f Bug 870022 - Part 5.1 - Add HTMLPictureElement & atom. r=jst, sr=jst 2014-06-25 11:47:48 -07:00
Carsten "Tomcat" Book
a2cf6bb6f1 merge b2g-inbound to mozilla-central a=merge 2014-06-25 15:38:40 +02:00
Vicamo Yang
15f27d65a8 Bug 958782 - 3/3: fix test cases. r=gene,khuey 2014-06-25 11:57:19 +08:00
Rik Cabanier
5d9f208b1b Bug 1018497 - Implementation of DOMMatrix. r=roc,bz 2014-06-24 20:15:00 +02:00
Jim Blandy
4d6a633bba 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
33609a5a86 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
ebad1ff4e2 Backed out changeset e5e0bb1653b5 (bug 922187) for mochitest-4 bustage on a CLOSED TREE 2014-06-23 16:49:12 -07:00
Marco Castelluccio
39c9265e2a 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
58ffd8ea68 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
04a521faea merge m-c to inbound on a CLOSED TREE 2014-06-20 14:02:54 -07:00
Mike Conley
25fedcf315 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
520e1d455a Bug 981519 - number and name presentation - part 3 - DOM & IPC code. r=smaug 2014-04-10 14:25:42 +08:00
Sean Lin
42019dadf9 Bug 901114 - Convert Alarm API to WebIDL. r=nsm, sr=jst 2014-06-13 14:19:11 +08:00
Masayuki Nakano
312e8b4d23 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
b37ba556eb Bug 987163 - Test fixups. r=gabor 2014-06-17 10:16:08 -07:00
Hsin-Yi Tsai
3b9d73c70e Backed out changeset 598098217e1f (bug 981519) for causing regression bug 1026081 2014-06-17 15:37:31 +08:00
Doug Turner
06a3d4db92 Bug 1019071 - Backout 9ccdc477061e. r=me 2014-06-13 11:04:34 -07:00
Ed Morley
98415c851d Merge mozilla-central and inbound 2014-06-12 16:02:42 +01:00
Ed Morley
27364e5d30 Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-06-12 15:52:13 +01:00
Jan Varga
8131e31c43 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
e8402d078e Bug 1019071 - Skip Geolocation tests on OSX. r=dougt
CLOSED TREE
2014-06-11 19:53:45 -04:00
Xidorn Quan
ab361e10f1 Bug 966166 - Part 1: Parse @counter-style rule. r=dbaron, r=bz 2014-06-11 21:10:00 -04:00
Hsin-Yi Tsai
1e45a201a6 Bug 981519 - number and name presentation - part 3 - DOM & IPC code. r=smaug 2014-04-10 14:25:42 +08:00
William Chen
9809c3f60f 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
4f2a59d172 Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 20:14:07 +02:00
Ryan VanderMeulen
d4516e53a4 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
97e8bbf548 Bug 1020581 - Notification resend test feedback improvement and less strict on timestamp. r=mhenretty 2014-06-05 03:00:00 -04:00
Honza Bambas
b1feb7e13a Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 18:27:38 +02:00
William Chen
632bee4079 Bug 1011831 - Support <template> element in XHTML parser. r=hsivonen 2014-06-04 15:21:23 -07:00
William Chen
bc45cb7598 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
f2dd9cf6c6 Backed out changeset c15e59678a60 (bug 1017896) for reftest failures 2014-06-04 08:55:59 +02:00
William Chen
7680954aa6 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
bb010177ac Bug 870021 - Followup, fix currentSrc visibility when pref'd off. r=bz 2014-06-03 15:12:38 -07:00
Wes Kocher
ec0e7fc262 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
6559966b58 Bug 1011831 - Support <template> element in XHTML parser. r=hsivonen 2014-05-30 16:11:02 -07:00
Ehsan Akhgari
fce1dc6e84 Bug 1017820 - Remove the classinfo for DOMWindowUtils; r=bzbarsky 2014-05-29 22:45:47 -04:00
Vincent Chang
c481388ef8 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
9c73951370 merge b2g-inbound to mozilla-central 2014-05-28 14:33:48 +02:00
Ryan VanderMeulen
f573309ab7 Merge m-c to b2g-inbound. 2014-05-27 16:24:25 -04:00
Ryan VanderMeulen
f2349a07bd Merge inbound to m-c on a CLOSED TREE. 2014-05-27 16:23:41 -04:00