Commit Graph

1716 Commits

Author SHA1 Message Date
Garvan Keeley
7eec706904 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
b3a9b29482 Bug 1033927 - Drop support for custom [object XrayWrapper [object ClassName]] stringification. r=peterv 2014-07-07 13:11:24 -07:00
Robert Longson
12ed1fc6c6 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
a65706b80e Bug 1034731 - Better logging for manifest content-type errors. r=fabrice 2014-07-06 18:47:28 +02:00
Tim Taubert
9f6f5e6bb2 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
e375b0aae7 Bug 1031051: Part 6 - Migrate PopStateEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:02 -07:00
Kyle Huey
ee70914a12 Bug 1031051: Part 4 - Remove ReplaceElementEvent. r=khuey,wchen 2014-06-30 16:01:11 -07:00
Kyle Huey
726d8c16de Bug 1031051: Part 2 - Migrate HashChangeEvent to the WebIDL code generator. r=smaug 2014-06-30 16:00:31 -07:00
William Chen
035e5c185f Bug 1022869 - Reparent template contents owner document. r=peterv 2014-06-25 17:33:24 -07:00
John Schoenick
badcffe5d8 Bug 870022 - Add test for dom.image.picture.enabled. r=bz 2014-06-25 11:47:51 -07:00
John Schoenick
46c4e670a5 Bug 870022 - Part 5.1 - Add HTMLPictureElement & atom. r=jst, sr=jst 2014-06-25 11:47:48 -07:00
Carsten "Tomcat" Book
c036601e2f merge b2g-inbound to mozilla-central a=merge 2014-06-25 15:38:40 +02:00
Vicamo Yang
eaed27ae2f Bug 958782 - 3/3: fix test cases. r=gene,khuey 2014-06-25 11:57:19 +08:00
Rik Cabanier
cfa3ff39f9 Bug 1018497 - Implementation of DOMMatrix. r=roc,bz 2014-06-24 20:15:00 +02:00
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
Marco Castelluccio
f7ddab0391 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
16b8eda20a Backed out changeset e5e0bb1653b5 (bug 922187) for mochitest-4 bustage on a CLOSED TREE 2014-06-23 16:49:12 -07:00
Marco Castelluccio
71fc9416a3 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
2c14065f80 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
94dec8fe7d merge m-c to inbound on a CLOSED TREE 2014-06-20 14:02:54 -07:00
Mike Conley
c3ca359821 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
4ce981bc56 Bug 981519 - number and name presentation - part 3 - DOM & IPC code. r=smaug 2014-04-10 14:25:42 +08:00
Sean Lin
c2a9645571 Bug 901114 - Convert Alarm API to WebIDL. r=nsm, sr=jst 2014-06-13 14:19:11 +08:00
Masayuki Nakano
65d9bd13fa 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
8e47f02ae0 Bug 987163 - Test fixups. r=gabor 2014-06-17 10:16:08 -07:00
Hsin-Yi Tsai
3b17696a28 Backed out changeset 598098217e1f (bug 981519) for causing regression bug 1026081 2014-06-17 15:37:31 +08:00
Doug Turner
9030269f06 Bug 1019071 - Backout 9ccdc477061e. r=me 2014-06-13 11:04:34 -07:00
Ed Morley
4caee3dea0 Merge mozilla-central and inbound 2014-06-12 16:02:42 +01:00
Ed Morley
90d46cf7ae Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-06-12 15:52:13 +01:00
Jan Varga
31546e1e24 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
5d2c11b904 Bug 1019071 - Skip Geolocation tests on OSX. r=dougt
CLOSED TREE
2014-06-11 19:53:45 -04:00
Xidorn Quan
b5700aeb25 Bug 966166 - Part 1: Parse @counter-style rule. r=dbaron, r=bz 2014-06-11 21:10:00 -04:00
Hsin-Yi Tsai
a12253a38c Bug 981519 - number and name presentation - part 3 - DOM & IPC code. r=smaug 2014-04-10 14:25:42 +08:00
William Chen
0eff3949f3 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
420f7458b0 Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 20:14:07 +02:00
Ryan VanderMeulen
a399b90ef2 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
702810d5f0 Bug 1020581 - Notification resend test feedback improvement and less strict on timestamp. r=mhenretty 2014-06-05 03:00:00 -04:00
Honza Bambas
6a323418e1 Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 18:27:38 +02:00
William Chen
8ddf869770 Bug 1011831 - Support <template> element in XHTML parser. r=hsivonen 2014-06-04 15:21:23 -07:00
William Chen
cbf53ad0d6 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
2903e0bb47 Backed out changeset c15e59678a60 (bug 1017896) for reftest failures 2014-06-04 08:55:59 +02:00
William Chen
3cff255f24 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
c7bda4ec38 Bug 870021 - Followup, fix currentSrc visibility when pref'd off. r=bz 2014-06-03 15:12:38 -07:00
Wes Kocher
2ccc48b0e6 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
72e905223a Bug 1011831 - Support <template> element in XHTML parser. r=hsivonen 2014-05-30 16:11:02 -07:00
Ehsan Akhgari
b96aea912a Bug 1017820 - Remove the classinfo for DOMWindowUtils; r=bzbarsky 2014-05-29 22:45:47 -04:00
Vincent Chang
8fb5dc9b5e 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
b01cb5d079 merge b2g-inbound to mozilla-central 2014-05-28 14:33:48 +02:00
Ryan VanderMeulen
98a0f2622a Merge m-c to b2g-inbound. 2014-05-27 16:24:25 -04:00
Ryan VanderMeulen
466e829323 Merge inbound to m-c on a CLOSED TREE. 2014-05-27 16:23:41 -04:00