Commit Graph

1802 Commits

Author SHA1 Message Date
Kyle Huey
f4f09309a4 Bug 1031051: Part 2 - Migrate HashChangeEvent to the WebIDL code generator. r=smaug 2014-06-30 16:00:31 -07:00
Marco Castelluccio
7b14b18339 Bug 967302 - Fix leak caused by the XUL alert shown at the end of an installation by mocking the alerts service. r=myk 2014-07-12 02:59:51 +02:00
Boris Zbarsky
618671a12c Bug 832014 part 8. Switch Location to WebIDL bindings. r=peterv,bholley 2014-07-11 19:32:46 -04: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
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
James Graham
54a81fe8c7 Bug 1011458 - Buy back a few characters for Windows paths by renaming tests staging directory. r=ted 2014-05-16 04:55:00 +02:00
Peter Van der Beken
55c17927f1 Bug 1010955 - Fix tests so they'll work with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/ipc/test/test_ipc.html => content/media/webspeech/synth/ipc/test/file_ipc.html
2014-02-15 22:12:35 +01:00
Carsten "Tomcat" Book
f291e63285 Backed out changeset 46c16792274f (bug 1010955) for suspicion of causing memory leaks on a CLOSED TREE 2014-05-19 15:02:58 +02:00
Peter Van der Beken
0932413f11 Bug 1010955 - Fix tests so they'll work with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/ipc/test/test_ipc.html => content/media/webspeech/synth/ipc/test/file_ipc.html
extra : rebase_source : c7dc7fc44717ad6bf5381ecb8a537bf698ee962e
2014-02-15 22:12:35 +01: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
Peter Van der Beken
034f5ffcab Bug 789261 - Enable WebIDL bindings for Window. r=bz.
--HG--
extra : rebase_source : 4ee28872adf9d03d9dc28880426383224359fd78
2014-04-08 20:48:37 +02:00
Ms2ger
7d5dc0457f Bug 874212 - Move document.all to WebIDL; r=bz
The static jsids in nsDOMClassInfo are newly unused, except for sEnumerate_id,
which was unused before.

This also removes the test_nondomexception.html test, which relied on an
obscure detail of the exception being thrown from document.all; I haven't
found another API which does something equally silly.
2014-05-20 21:52:21 +02:00
Blair McBride
0e3ff19f35 Bug 926712 - Use WebIDL to expose InstallTrigger, r=Mossop,bholley 2013-12-12 02:08:00 +00:00
Nikhil Marathe
9785376d60 Bug 930348 - window.navigator stubs for ServiceWorker. r=ehsan,bent
--HG--
extra : rebase_source : ac9bc321c679cbf7045c9d32d1001c5d87d68c69
2013-11-19 15:14:07 -08:00
Ryan VanderMeulen
82d24eb10c Backed out changeset c189d09ec942 (bug 930348) for B2G desktop bustage.
CLOSED TREE
2014-05-13 15:33:58 -04:00
Nikhil Marathe
b7f44d85a7 Bug 930348 - window.navigator stubs for ServiceWorker. r=ehsan,bent
--HG--
extra : rebase_source : 291219bb284967790bdbbc1f456b88d5f6baacc1
2013-11-19 15:14:07 -08:00
Andrew McCreight
4f600d1b82 Bug 958353, part 3 - Finish any IGC in progress when manually triggering an ICC slice. r=smaug 2014-05-13 11:58:39 -07:00
Carsten "Tomcat" Book
cd8f4f685a Merge mozilla-central to mozilla-inbound 2014-05-13 12:45:41 +02:00
Edgar Chen
adca7effae Bug 898445 - Part 2: DOM changes for MobileConnection webidl. r=smaug 2014-05-05 14:36:20 +08:00
Steven Michaud
750833b597 Bug 996848 - Change expectAssertion() in tests because of removed assertion. r=spohl 2014-05-10 11:58:09 -05:00
Valentin Gosu
b7db64f8c7 Bug 936813 - Implement onresourcetimingbufferfull callback (part 2) r=bz 2014-05-10 05:12:06 +03:00
Alexandre Lissy
945a46f5a9 Bug 967475 - Implement mozChromeNotifications API. r=mhenretty,bent 2014-05-08 23:16:00 +02:00
Wes Kocher
54f2dadcee Backed out changeset 21d743a319c6 (bug 967475) for apparently introducing two hazards to the build 2014-05-08 16:06:40 -07:00
Alexandre Lissy
8bf8be15f1 Bug 967475 - Implement mozChromeNotifications API. r=mhenretty, r=bent
--HG--
extra : rebase_source : 595b53c85f031784bd77591d4e0593e60b39ccfd
2014-05-08 10:07:00 -04:00
Andrew McCreight
56f52aa681 Bug 958353 - Disable test using fuzzing hooks due to bad interaction with IGC. r=bustage 2014-05-06 18:53:03 -07:00
Brian Birtles
497bd0ee3d Bug 998246 part 2.5 - Add AnimationTimeline to list of interfaces; r=bz 2014-05-13 16:22:12 +09:00
Andrew McCreight
b89c24ee20 Bug 958353 - Add finishCC() and ccSlice() methods for testing incremental cycle collection. r=smaug 2014-05-06 17:25:26 -07:00
Andrea Marchesini
c143c01f4a Bug 1004814 - console.time/timeEnd work in workers, r=bz 2014-05-06 10:50:12 +01:00
Ryan VanderMeulen
ce9afeb7a6 Merge fx-team to m-c. 2014-05-02 16:41:26 -04:00
Andrew Osmond
9349cde661 Bug 999464 - Standardize on DOMPoint and thus eliminate need for CameraPoint. r=bz, r=mikeh 2014-05-01 15:09:00 -04:00
Ted Mielczarek
1dc00c5f8c bug 852935 - Add Android gamepad backend. r=snorp, rs=smaug 2014-04-22 10:53:48 -04:00
Ryan VanderMeulen
8c0abf70fd Merge m-c to b2g-inbound. 2014-04-29 23:59:41 -04:00
Edgar Chen
13db67d14b Bug 929701 - Part 2: Implement DOMMMIError by C++. r=smaug 2014-04-23 13:59:47 +08:00
Hsin-Yi Tsai
a38ebd258c Bug 1000670 - part 3 - DOM: create and dispatch clirmodechange event. r=smaug 2014-04-24 14:37:49 +08:00
Masayuki Nakano
c51b2b1842 Bug 998188 part.5 Fix orange and improve EventUtils.js and ChromeUtils.js r=smaug 2014-04-26 08:52:13 +09:00
Nathan Froyd
673c634324 Bug 1000894 - fix browser-chrome tests in dom/tests/browser/ to not replace the original tab; r=ehsan 2014-04-24 21:02:59 -04:00
Gavin Sharp
1b20b99c0a Bug 896711: remove BrowserChromeTests.runWhenReady because it's being abused, r=dao/ttaubert/vporof 2013-07-27 17:32:40 -07:00
Bill McCloskey
ca1496e470 Bug 994291 - Avoid calling SimpleTest.finish more than once. r=dougt 2014-04-15 11:35:00 -04:00
Ehsan Akhgari
7262b1ae70 Bug 998738 - Kill nsIDOMXPathNamespace (and window.XPathNamespace); r=smaug 2014-04-24 12:07:44 -04:00
Marco Castelluccio
dea9c853b9 Bug 999653 - Don't manually set allAppsLaunchable but use SpecialPowers.setAllAppsLaunchable. r=fabrice 2014-04-24 04:06:00 +02:00
Ehsan Akhgari
d79849e81d Bug 991600 - Make sure that registering the content policy doesn't race with the call to sendBeacon; r=rbarnes 2014-04-22 14:31:55 -04:00
Adrian Lungu
864ffca9e7 Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst 2013-10-15 18:35:44 -07:00
Ehsan Akhgari
41724a80a8 Backed out changeset 9f9e83390b46 (debugging patch for bug 991600) because the problem with the test was identified 2014-04-19 21:33:50 -04:00
Anuj Agarwal
8360610c1d Bug 897359 - Remove unimplemented popChallengeResponse, random, and disableRightClick methods. r=bz 2014-04-18 09:32:52 -04:00
Marco Castelluccio
1629623676 Bug 993326 - Use SpecialPowers.autoConfirmAppInstall to confirm app installation and stop using the browser.mozApps.installer.dry_run pref. r=fabrice 2014-04-17 16:43:04 -04:00