Commit Graph

1057 Commits

Author SHA1 Message Date
Boris Zbarsky
88f3d72148 Bug 778128. Make putImageData and createImageData on non-Azure canvas work with Xrays. r=peterv 2012-07-31 11:35:25 -04:00
Mike Habicher
9e245cc9a4 Bug 740997 - ICS camera support, r=jst,gal,roc 2012-07-30 17:59:05 -04:00
Andrea Marchesini
2d1d1f8904 Bug 772434 - Blob support for Zip file contents, r=jst 2012-07-27 17:21:34 -07:00
Doug Turner
da01a118d6 Bug 777594 - Use mozSettings to turn on/off Geolocation. r=jdm 2012-07-26 20:19:01 -07:00
Mounir Lamouri
d1caa102c7 Bug 775817 - Update [most] tests to use the new permission manager api. r=sicking 2012-07-23 11:08:07 -07:00
Jonas Sicking
abf244acdd Bug 774585: Fix browser code and tests to be aware of app principals. r=mounir 2012-07-21 00:29:40 -07:00
Peter Van der Beken
a64f14f7ef Fix for bug 774775 (XRayWrapper does not handle new bindings constants). r=bz.
--HG--
extra : rebase_source : fef985d0417c394ae5997b4450c7076005bdf870
2012-07-17 22:54:25 +02:00
Ms2ger
42a55f1a28 Bug 772829 - Use MOCHITEST_BROWSER_FILES in dom/tests/browser/Makefile.in; r=froydnj 2012-07-18 12:36:08 +02:00
Honza Bambas
80a6cafcbf Bug 765203 - Support mode 'unknown' when parsing cache manifest, r=jduell 2012-07-14 11:52:35 +02:00
Ms2ger
2feddcb841 Backout 977ee9208065, a405768bd32a, 69a1fb2ddca3, 58d5f1d1443e for Moth orange. 2012-07-14 11:38:56 +02:00
Felipe Gomes
9551e979b8 Bug 771294. Use window id for webapp installation. r=gavin
Test by Myk Melez
2012-07-14 01:09:32 -07:00
Benoit Girard
47ccfd49b3 Bug 772665 - Add console.profile to test_consoleAPI.html. r=gavin 2012-07-12 17:27:10 -04:00
Fabrice Desré
dab5886051 Bug 772363 - Followup to fix test failures [r=fabrice] 2012-07-11 10:02:58 -07:00
Michal Novotny
e60a0256bf Bug 737615 - Remove use of synchronous cache API from unit tests - dom tests, r=honzab 2012-07-11 11:18:38 +02:00
Nathan Froyd
bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Gene Lian
2500ccecd6 Bug 749551 - Alarm API (Idl and dummy Dom). r=mounir sr=jonas 2012-06-22 15:37:49 +08:00
Myk Melez
f6f1de5f16 remove observer added by test to resolve test bustage caused by fix for bug 765063 (fa750527a43b) 2012-07-05 14:54:11 -07:00
Myk Melez
556dd19911 bug 765063 - save installURL for later use; r=fabrice
--HG--
extra : rebase_source : 7360e295a4549d29d2667a0c8e38708959df7f40
2012-07-05 11:12:55 -07:00
Mounir Lamouri
1aae6d606d Bug 769571 - Unprefix Battery API. r=sicking sr=smaug
--HG--
rename : dom/battery/nsIDOMNavigatorBattery.idl => dom/battery/nsINavigatorBattery.idl
2012-07-05 12:05:09 +02:00
Mounir Lamouri
81ac65313f Bug 769571 - Unprefix Vibrator API. r=jlebar sr=smaug 2012-07-05 12:04:45 +02:00
Gregor Wagner
96c377da98 Bug 769245 - Contacts API: Add ContactEmail Type. r=sicking 2012-07-03 11:00:53 -07:00
Felipe Gomes
89a5d1ba37 Bug 768276. Part 5 - Set allAppsLaunchable = true on API tests that skip native installation. r=ctalbert 2012-06-29 13:46:21 -07:00
Felipe Gomes
93866335fc Bug 768276. Part 3 - Implement mozApps.getNotInstalled. r=jst 2012-06-29 13:46:21 -07:00
Bobby Holley
5fd32a8647 Bug 754202 - Fix content->chrome postMessage mochitest. r=bz This isn't something we actually support, and were using enablePrivilege to do it before. When we switch this to SpecialPowers wrapping, the sender origin becomes a chrome URL (not very interesting) and the source window becomes null (which we do explicitly in nsGlobalWindow for chrome callers). So those tests stop being useful. 2012-06-28 23:47:55 +02:00
Doug Turner
2055147352 Bug 767894 - Device Storage - Move test from dom/tests/mochitest/devicestorage to dom/devicestorage. rs=bent
--HG--
rename : dom/tests/mochitest/devicestorage/Makefile.in => dom/devicestorage/test/Makefile.in
rename : dom/tests/mochitest/devicestorage/devicestorage_common.js => dom/devicestorage/test/devicestorage_common.js
rename : dom/tests/mochitest/devicestorage/test_basic.html => dom/devicestorage/test/test_basic.html
rename : dom/tests/mochitest/devicestorage/test_dotdot.html => dom/devicestorage/test/test_dotdot.html
rename : dom/tests/mochitest/devicestorage/test_enumerate.html => dom/devicestorage/test/test_enumerate.html
rename : dom/tests/mochitest/devicestorage/test_enumerateMultipleContinue.html => dom/devicestorage/test/test_enumerateMultipleContinue.html
rename : dom/tests/mochitest/devicestorage/test_enumerateNoParam.html => dom/devicestorage/test/test_enumerateNoParam.html
rename : dom/tests/mochitest/devicestorage/test_enumerateOptions.html => dom/devicestorage/test/test_enumerateOptions.html
rename : dom/tests/mochitest/devicestorage/test_lastModificationFilter.html => dom/devicestorage/test/test_lastModificationFilter.html
rename : dom/tests/mochitest/devicestorage/test_overwrite.html => dom/devicestorage/test/test_overwrite.html
rename : dom/tests/mochitest/devicestorage/test_sanity.html => dom/devicestorage/test/test_sanity.html
2012-06-27 13:47:36 -07:00
Ehsan Akhgari
f4b598bf08 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Ed Morley
76683b3f56 Backout c707e4f15fd4 (bug 767905), cad3e0609835 (bug 767894) for various devicestorage test failures 2012-06-26 16:21:37 +01:00
Doug Turner
6b6125f473 Bug 767894 - Device Storage - move test from dom/tests/mochitest/devicestorage to dom/devicestorage. rs=bent
--HG--
rename : dom/tests/mochitest/devicestorage/Makefile.in => dom/devicestorage/test/Makefile.in
rename : dom/tests/mochitest/devicestorage/devicestorage_common.js => dom/devicestorage/test/devicestorage_common.js
rename : dom/tests/mochitest/devicestorage/test_basic.html => dom/devicestorage/test/test_basic.html
rename : dom/tests/mochitest/devicestorage/test_dotdot.html => dom/devicestorage/test/test_dotdot.html
rename : dom/tests/mochitest/devicestorage/test_enumerate.html => dom/devicestorage/test/test_enumerate.html
rename : dom/tests/mochitest/devicestorage/test_enumerateMultipleContinue.html => dom/devicestorage/test/test_enumerateMultipleContinue.html
rename : dom/tests/mochitest/devicestorage/test_enumerateNoParam.html => dom/devicestorage/test/test_enumerateNoParam.html
rename : dom/tests/mochitest/devicestorage/test_enumerateOptions.html => dom/devicestorage/test/test_enumerateOptions.html
rename : dom/tests/mochitest/devicestorage/test_lastModificationFilter.html => dom/devicestorage/test/test_lastModificationFilter.html
rename : dom/tests/mochitest/devicestorage/test_overwrite.html => dom/devicestorage/test/test_overwrite.html
rename : dom/tests/mochitest/devicestorage/test_sanity.html => dom/devicestorage/test/test_sanity.html
2012-06-26 05:51:24 -07:00
Olli Pettay
f7476f652d Bug 766694 - Add a test to check existence of each interface in the window scope, r=bz
--HG--
extra : rebase_source : 02e03c441c2c4ed3cbd1ce2981c84cfb350c70a1
2012-06-23 15:42:32 +03:00
Kartikaya Gupta
e3e8c3d4e0 Bug 755971 - Switch to using the padding rect size for scrollWidth and scrollHeight, and update tests to continue passing. r=bz, gavin 2012-06-21 09:36:57 -04:00
Myk Melez
bf7a5fe54b bug 766382 - make mozApps mochitests stop modifying API call results; r=felipe 2012-06-20 09:53:30 -07:00
Peter Van der Beken
68c6e44c87 Fix for bug 762657 (Fix canvas tests and drop support for fake ImageData in putImageData to comply with spec). r=Ms2ger. 2012-05-25 16:27:18 +02:00
Ian Bicking
7d88988978 bug 739330 - call error handler with NOT_INSTALLED when page tries to uninstall webapp that is not installed; r=fabrice
--HG--
extra : rebase_source : 5ea5510c43d336a23245ad12b7cddbf8a438b164
2012-06-18 12:57:16 -07:00
Ian Bicking
cff2d86dfe bug 734294 - when installing an app the InstallTime is returning undefined; r=fabrice
--HG--
extra : rebase_source : 91e5a5d467826927f6c6df4c97ab5cecab73b26f
2012-06-18 12:49:35 -07:00
Bobby Holley
8ef983bbf7 Bug 761982 - remove mozprefs.js. r=jmaher 2012-06-18 15:43:00 +02:00
Doug Turner
d29ef60478 Bug 758273 - Device Storage - enumeration option to filter based on last modification date. r=smaug 2012-06-10 22:50:44 -07:00
L. David Baron
ca009b979f Backout bug 754202 (all patches, rather than just patches 3-7). 2012-06-10 17:22:31 -07:00
Ryan VanderMeulen
5f2a19ee6e Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Doug Turner
fc28fe58ff Backed out changeset 401edab3831f - Bug 758273.
--HG--
extra : rebase_source : 8ce201cd3fe6a2d6405be2548927f65dab5cbb39
2012-06-08 21:33:16 -07:00
Doug Turner
6a10675539 Bug 758273 - Device Storage - enumeration option to filter based on last modification date. r=smaug 2012-06-08 20:15:04 -07:00
Ed Morley
9be1268e1c Merge mozilla-central to mozilla-inbound 2012-06-07 15:56:37 +01:00
Justin Lebar
a8b9e291d0 Bug 758297 - Move <iframe mozbrowser> code to dom/browser-element. r=mounir
--HG--
rename : dom/base/BrowserElementChild.js => dom/browser-element/BrowserElementChild.js
rename : dom/base/BrowserElementParent.js => dom/browser-element/BrowserElementParent.js
rename : dom/base/BrowserElementParent.manifest => dom/browser-element/BrowserElementParent.manifest
rename : dom/base/BrowserElementPromptService.jsm => dom/browser-element/BrowserElementPromptService.jsm
rename : dom/tests/mochitest/browser-frame/Makefile.in => dom/browser-element/mochitest/Makefile.in
rename : dom/tests/mochitest/browser-frame/browserFrameHelpers.js => dom/browser-element/mochitest/browserFrameHelpers.js
rename : dom/tests/mochitest/browser-frame/file_empty.html => dom/browser-element/mochitest/file_empty.html
rename : dom/tests/mochitest/browser-frame/file_focus.html => dom/browser-element/mochitest/file_focus.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame1.html => dom/browser-element/mochitest/test_browserFrame1.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame10.html => dom/browser-element/mochitest/test_browserFrame10.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame2.html => dom/browser-element/mochitest/test_browserFrame2.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame3.html => dom/browser-element/mochitest/test_browserFrame3.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame4.html => dom/browser-element/mochitest/test_browserFrame4.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame5.html => dom/browser-element/mochitest/test_browserFrame5.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame6.html => dom/browser-element/mochitest/test_browserFrame6.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame7.html => dom/browser-element/mochitest/test_browserFrame7.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame8.html => dom/browser-element/mochitest/test_browserFrame8.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame9.html => dom/browser-element/mochitest/test_browserFrame9.html
rename : dom/tests/mochitest/browser-frame/test_browserFrameAlert.html => dom/browser-element/mochitest/test_browserFrameAlert.html
rename : dom/tests/mochitest/browser-frame/test_browserFramePromptCheck.html => dom/browser-element/mochitest/test_browserFramePromptCheck.html
rename : dom/tests/mochitest/browser-frame/test_browserFramePromptConfirm.html => dom/browser-element/mochitest/test_browserFramePromptConfirm.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame_keyEvents.html => dom/browser-element/mochitest/test_browserFrame_keyEvents.html
2012-06-07 10:49:48 -04:00
Justin Lebar
bd487a1a22 Bug 741587 - Part 2: Tests for alert/prompt/confirm in <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : 5c4e2666a27b48e882c256deeeefde137596a733
2012-06-07 10:43:23 -04:00
Bobby Holley
96f9194428 Bug 754202 - Fix content->chrome postMessage mochitest. r=bz
This isn't something we actually support, and were using enablePrivilege to do it before.
When we switch this to SpecialPowers wrapping, the sender origin becomes a chrome URL (not
very interesting) and the source window becomes null (which we do explicitly in
nsGlobalWindow for chrome callers). So those tests stop being useful.
2012-06-07 14:28:21 +02:00
Olli Pettay
161f46fe5b Bug 762007 - mozIDOMApplication* interfaces shouldn't inherit builtinclass interfaces, r=fabrice
--HG--
extra : rebase_source : 8d5a71cde92635ee84ec022f3edddc19156f6bc8
2012-06-06 19:42:54 +03:00
Honza Bambas
3dcdd47a8e Bug 744719 - Change offline cache update to load files in parallel, r=michal.novotny 2012-06-04 16:12:23 +02:00
Mihai Sucan
da9958af0a Bug 722685 - Console logging is slow; r=rcampbell 2012-06-02 13:45:32 +03:00
Mounir Lamouri
fc47f0cc23 Bug 759017 - Fix test that wasn't correctly checking keyCode in the whitelist. r=jlebar 2012-05-31 16:39:35 +02:00
Dale Harvey
c94fac4cc2 Bug 756844 - Change test strategy for screenshot API. r=jlebar
We originally made assumptions about the state of the painted
window after the mozafterpainted event, now we simple wait
until we receive a screenshot we are happy with (with max retries)

--HG--
extra : rebase_source : 82464dbcfbfc7af5d95a21d058ecc45a38cc5bf6
2012-05-30 22:15:12 -04:00
Gervase Markham
68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Dale Harvey
9ee8f3bf61 Bug 759044 - Cleanup visibility message reciever on test completion. r=jlebar 2012-05-28 13:55:48 -04:00
Dale Harvey
8ecaf182b5 Bug 702880 - Add setVisible api to mozbrowser. r=jlebar 2012-05-27 08:39:04 -04:00
Bobby Holley
5ec42ef343 Bug 553102 - Fix open web apps. r=fabrice 2012-05-24 13:04:57 +02:00
Bobby Holley
34d5ddf2a2 Bug 553102 - Fix mock prompt service. r=ted 2012-05-24 13:04:57 +02:00
Dale Harvey
f118eef8bf Bug 756844 - Fix randomorange in test_browserFrame9.html. r=jlebar
Previous test expected a screenshot taken after loadend event to
capture the updated content, which wasnt always true. New test only
tests that subsequent screenshots of content that we know has
been changed, will differ
2012-05-23 23:57:26 -04:00
Mounir Lamouri
5d6b02c511 Bug 757486 - Allow browser frames to bubble some whitelisted key events. r=jlebar
--HG--
extra : rebase_source : 5d8e8c2a4899f37bd01f4eab69238f48b0a2ddeb
2012-05-23 16:15:31 +02:00
Justin Lebar
7be4d1c875 Bug 754997 - For <iframe mozbrowser>, override window.{top,parent,frameElement} in C++. r=bz
--HG--
extra : rebase_source : 66d2ef018234eaa71e49d927eefdd3a8aa01bb41
2012-05-23 11:27:10 -04:00
Ed Morley
7343dce6df Backout baee7c540118 (bug 757486) for M3 orange 2012-05-23 10:16:32 +01:00
Mounir Lamouri
72cb8a16b2 Bug 757486 - Allow browser frames to bubble some whitelisted key events. r=jlebar 2012-05-23 01:43:37 +02:00
Doug Turner
236a04a91a Bug 717103 - Implement Device Storage. r=sicking 2012-05-21 09:18:30 -07:00
Chris Pearce
64f68cedd4 Bug 753323 - Wait until actually in fullscreen before starting screenClientXPConst pointer lock test. r=orange-fix 2012-05-22 12:05:55 +12:00
Chris Pearce
e4638cb898 Bug 745047 - Cache window.screen{X,Y} before testing them, since they can change during a JS execution context... r=orange-fix 2012-05-22 10:01:41 +12:00
Chris Pearce
a18c7823bb Bug 745047 - Wait until actually in fullscreen before starting mozMovement pointer lock test. r=smaug 2012-05-22 08:43:35 +12:00
Ed Morley
273380866f Backout 027ed1748c81 (bug 740485) for M3 orange 2012-05-21 19:36:43 +01:00
Doug Turner
f8a704e7d4 Bug 740485 - Implement Device Storage. r=sicking 2012-05-21 09:18:30 -07:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Dale Harvey
d28624050a Bug 753595 - Add a getScreenshot call to mozbrowser. r=jlebar 2012-05-18 20:47:20 -04:00
Ms2ger
4034b10ed1 Bug 752319 - Use testharness.js for the cross-origin localStorage tests; r=mayhemer 2012-05-18 10:29:38 +02:00
Ms2ger
44bc3e4bcd No bug - Remove windows line endings from dom/tests/mochitest/localstorage/test_{keySync,storageConstructor}.html. 2012-05-18 10:29:38 +02:00
Neil Deakin
65c16f8e8d Bug 665677, remove frequently failing test as what it is testing is already done within the main focus test, f=masayuki 2012-05-16 19:55:08 -04:00
Justin Lebar
4f408adf68 Bug 755320 - Make <iframe remote=true> work (the remote part should be ignored; it's just a normal iframe). r=smaug 2012-05-16 01:28:57 -04:00
Justin Lebar
fca632eb0a Bug 755001 - Allow <iframe mozbrowser> to be explicitly in- or out-of-process. r=smaug 2012-05-16 01:28:56 -04:00
Ed Morley
6fd4153fd7 Backout f177646e2aa2 (bug 755320), 1bae327de007 (bug 755001) for test_browserFrame7.html M3 failures 2012-05-15 18:38:50 +01:00
Justin Lebar
1ace306807 Bug 755320 - Make <iframe remote=true> work (the remote part should be ignored; it's just a normal iframe). r=smaug 2012-05-15 12:36:43 -04:00
Felipe Gomes
596278e88b Bug 741549. follow-up: remove unnecessary UniversalXPConnect usage left over on this test. r=me 2012-05-10 01:02:24 -07:00
Robert O'Callahan
f8e0bb41da Bug 681192. Part 15: Fix test now that scrollbox scrollWidth/Heights isn't special. r=matspal
--HG--
extra : rebase_source : d77548c8b7b2c62a66070a4cd8414cdf1f7819e6
2012-05-10 17:24:20 +12:00
Dale Harvey
f9fade7f61 Bug 719461: Added iconchange event to mozbrowser contained frames. r=jlebar 2012-05-09 09:34:16 -07:00
Chris Pearce
32dd55e67c Bug 746885 part 3 - Change pointer lock tests to always run on a domain with fullscreen-approved permissions. r=smaug 2012-05-09 09:48:27 +12:00
Chris Pearce
bbf77515e9 Bug 716107 part 7 - Update fullscreen keys tests. r=smaug 2012-05-09 09:47:19 +12:00
Chris Pearce
adcfed167d Bug 716107 part 4 - Dispatch MozEnteredDomFullscreen to document which requests fullscreen. r=smaug 2012-05-09 09:47:19 +12:00
Justin Lebar
b54abd8d84 Bug 749018 - Make OOP <iframe mozbrowser> pass current browser frame tests. r=smaug,cjones
--HG--
extra : rebase_source : f15018bf2c9427a0d6e8d44da348d8d7d1693219
2012-05-08 09:20:35 -07:00
David Clarke
e3692abef8 Bug 741549. Implement mochitests for the navigator.mozApps API. r=felipe 2012-04-24 20:05:01 -07:00
Gijs Kruitbosch
b53f9caf5b Bug 749894 - fix intermittent test_performance_now failures, r=bz
--HG--
extra : rebase_source : 0d5696d909848a907fa02d390189e62366797725
2012-05-07 17:44:26 +02:00
Matt Brubeck
9f46038aeb Bug 750051 - Disable window.find in Fennec because it breaks and/or crashes [r=jst] 2012-05-03 09:15:38 -07:00
Peter Van der Beken
31c0322ee9 Fix for bug 741267 (UserScript's XMLHttpRequest is undefined in 20120401 nightly).
Pass two objects when creating a DOM interface object, the global used to cache
the DOM interface objects and a receiver object on which the named property is
that points to the DOM interface object.

--HG--
extra : rebase_source : b462393e7376fdb68f3b279ccd08b3ab25ac154a
2012-04-23 16:10:56 +02:00
Gijs Kruitbosch
b2fd1edcc9 Bug 539095 - Expose high-res timers to web content (performance.now()). r=bz, sr=smaug
--HG--
extra : transplant_source : o%9F%061%D4%B5%7D%5C%FB%95%5D%16%27%DEKU%EC%21%3AR
2012-04-27 09:22:06 +02:00
Masatoshi Kimura
473d12ee2a Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Justin Lebar
a6a97184a8 Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug 2012-04-25 12:35:58 -04:00
Ed Morley
8fa462d93e Backout 949cb1977ef9 (bug 714861) for build bustage 2012-04-25 16:51:31 +01:00
Justin Lebar
bdcf3134ed Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug 2012-04-25 11:29:28 -04:00
Honza Bambas
a7ad7b4c35 Bug 746272 - Add missing key caching in localStorage.removeItem, r=bz 2012-04-25 14:50:21 +02:00
Bobby Holley
4a6146adee Bug 743615 - Tests. r=bent, a=blassey 2012-04-24 12:58:18 +02:00
Boris Zbarsky
b311ae345d Bug 740811. Make SVGElement.prototype be Element.prototype again. r=peterv, a=akeybl 2012-04-20 21:44:35 -04:00
Ms2ger
4dc2f2248c Bug 742938 - Move W3C-imported testharness.js tests to make the path shorter; r=jhammel
--HG--
rename : dom/tests/mochitest/w3c/Makefile.in => dom/imported-tests/Makefile.in
rename : dom/tests/mochitest/w3c/README => dom/imported-tests/README
rename : dom/tests/mochitest/w3c/WebIDLParser.js => dom/imported-tests/WebIDLParser.js
rename : dom/tests/mochitest/w3c/failures.txt => dom/imported-tests/failures.txt
rename : dom/tests/mochitest/w3c/html.json => dom/imported-tests/html.json
rename : dom/tests/mochitest/w3c/html.mk => dom/imported-tests/html.mk
rename : dom/tests/mochitest/w3c/html.txt => dom/imported-tests/html.txt
rename : dom/tests/mochitest/w3c/html/tests/submission/Mozilla/Makefile.in => dom/imported-tests/html/tests/submission/Mozilla/Makefile.in
rename : dom/tests/mochitest/w3c/html/tests/submission/Mozilla/nested-document-write-external.js => dom/imported-tests/html/tests/submission/Mozilla/nested-document-write-external.js
rename : dom/tests/mochitest/w3c/html/tests/submission/Mozilla/test_body-onload.html => dom/imported-tests/html/tests/submission/Mozilla/test_body-onload.html
rename : dom/tests/mochitest/w3c/html/tests/submission/Mozilla/test_pageload-image.html => dom/imported-tests/html/tests/submission/Mozilla/test_pageload-image.html
rename : dom/tests/mochitest/w3c/html/tests/submission/Mozilla/test_pageload-video.html => dom/imported-tests/html/tests/submission/Mozilla/test_pageload-video.html
rename : dom/tests/mochitest/w3c/html/tests/submission/Mozilla/test_script-for-onload.html => dom/imported-tests/html/tests/submission/Mozilla/test_script-for-onload.html
rename : dom/tests/mochitest/w3c/html/tests/submission/Mozilla/test_window-onerror-parse-error.html => dom/imported-tests/html/tests/submission/Mozilla/test_window-onerror-parse-error.html
rename : dom/tests/mochitest/w3c/html/tests/submission/Mozilla/test_window-onerror-runtime-error-throw.html => dom/imported-tests/html/tests/submission/Mozilla/test_window-onerror-runtime-error-throw.html
rename : dom/tests/mochitest/w3c/html/tests/submission/Mozilla/test_window-onerror-runtime-error.html => dom/imported-tests/html/tests/submission/Mozilla/test_window-onerror-runtime-error.html
rename : dom/tests/mochitest/w3c/idlharness.js => dom/imported-tests/idlharness.js
rename : dom/tests/mochitest/w3c/importTestsuite.py => dom/imported-tests/importTestsuite.py
rename : dom/tests/mochitest/w3c/parseManifest.py => dom/imported-tests/parseManifest.py
rename : dom/tests/mochitest/w3c/testharness.css => dom/imported-tests/testharness.css
rename : dom/tests/mochitest/w3c/testharness.js => dom/imported-tests/testharness.js
rename : dom/tests/mochitest/w3c/testharnessreport.js.in => dom/imported-tests/testharnessreport.js.in
rename : dom/tests/mochitest/w3c/updateTestharness.py => dom/imported-tests/updateTestharness.py
rename : dom/tests/mochitest/w3c/webapps.json => dom/imported-tests/webapps.json
rename : dom/tests/mochitest/w3c/webapps.mk => dom/imported-tests/webapps.mk
rename : dom/tests/mochitest/w3c/webapps.txt => dom/imported-tests/webapps.txt
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/Makefile.in => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/Makefile.in
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-01.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-01.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-02.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-02.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-03.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-03.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-04.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-04.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-05.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-05.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-06.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-06.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-07.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-07.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-08.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-08.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-09.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-09.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-10.xml => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-10.xml
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-11.xml => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-11.xml
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-12.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-12.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-13.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-13.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-14.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-14.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-15.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-15.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-16.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-16.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-17.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-17.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-18.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-18.htm
rename : dom/tests/mochitest/w3c/writeReporter.py => dom/imported-tests/writeReporter.py
2012-04-14 15:05:48 +02:00
Ms2ger
03dac80635 No bug - Fix a few issues in importTestsuite.py and update generated Makefiles; r=me 2012-04-14 15:05:33 +02:00
Ms2ger
77ca860259 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
7e69ccb73e Bug 742938 - Move W3C-imported testharness.js tests to make the path shorter; r=jhammel
--HG--
rename : dom/tests/mochitest/w3c/Makefile.in => dom/imported-tests/Makefile.in
rename : dom/tests/mochitest/w3c/README => dom/imported-tests/README
rename : dom/tests/mochitest/w3c/WebIDLParser.js => dom/imported-tests/WebIDLParser.js
rename : dom/tests/mochitest/w3c/failures.txt => dom/imported-tests/failures.txt
rename : dom/tests/mochitest/w3c/html.json => dom/imported-tests/html.json
rename : dom/tests/mochitest/w3c/html.mk => dom/imported-tests/html.mk
rename : dom/tests/mochitest/w3c/html.txt => dom/imported-tests/html.txt
rename : dom/tests/mochitest/w3c/html/tests/submission/Mozilla/Makefile.in => dom/imported-tests/html/tests/submission/Mozilla/Makefile.in
rename : dom/tests/mochitest/w3c/html/tests/submission/Mozilla/nested-document-write-external.js => dom/imported-tests/html/tests/submission/Mozilla/nested-document-write-external.js
rename : dom/tests/mochitest/w3c/html/tests/submission/Mozilla/test_body-onload.html => dom/imported-tests/html/tests/submission/Mozilla/test_body-onload.html
rename : dom/tests/mochitest/w3c/html/tests/submission/Mozilla/test_pageload-image.html => dom/imported-tests/html/tests/submission/Mozilla/test_pageload-image.html
rename : dom/tests/mochitest/w3c/html/tests/submission/Mozilla/test_pageload-video.html => dom/imported-tests/html/tests/submission/Mozilla/test_pageload-video.html
rename : dom/tests/mochitest/w3c/html/tests/submission/Mozilla/test_script-for-onload.html => dom/imported-tests/html/tests/submission/Mozilla/test_script-for-onload.html
rename : dom/tests/mochitest/w3c/html/tests/submission/Mozilla/test_window-onerror-parse-error.html => dom/imported-tests/html/tests/submission/Mozilla/test_window-onerror-parse-error.html
rename : dom/tests/mochitest/w3c/html/tests/submission/Mozilla/test_window-onerror-runtime-error-throw.html => dom/imported-tests/html/tests/submission/Mozilla/test_window-onerror-runtime-error-throw.html
rename : dom/tests/mochitest/w3c/html/tests/submission/Mozilla/test_window-onerror-runtime-error.html => dom/imported-tests/html/tests/submission/Mozilla/test_window-onerror-runtime-error.html
rename : dom/tests/mochitest/w3c/idlharness.js => dom/imported-tests/idlharness.js
rename : dom/tests/mochitest/w3c/importTestsuite.py => dom/imported-tests/importTestsuite.py
rename : dom/tests/mochitest/w3c/parseManifest.py => dom/imported-tests/parseManifest.py
rename : dom/tests/mochitest/w3c/testharness.css => dom/imported-tests/testharness.css
rename : dom/tests/mochitest/w3c/testharness.js => dom/imported-tests/testharness.js
rename : dom/tests/mochitest/w3c/testharnessreport.js.in => dom/imported-tests/testharnessreport.js.in
rename : dom/tests/mochitest/w3c/updateTestharness.py => dom/imported-tests/updateTestharness.py
rename : dom/tests/mochitest/w3c/webapps.json => dom/imported-tests/webapps.json
rename : dom/tests/mochitest/w3c/webapps.mk => dom/imported-tests/webapps.mk
rename : dom/tests/mochitest/w3c/webapps.txt => dom/imported-tests/webapps.txt
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/Makefile.in => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/Makefile.in
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-01.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-01.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-02.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-02.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-03.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-03.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-04.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-04.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-05.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-05.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-06.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-06.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-07.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-07.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-08.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-08.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-09.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-09.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-10.xml => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-10.xml
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-11.xml => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-11.xml
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-12.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-12.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-13.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-13.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-14.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-14.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-15.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-15.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-16.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-16.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-17.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-17.htm
rename : dom/tests/mochitest/w3c/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-18.htm => dom/imported-tests/webapps/DOMCore/tests/submissions/Opera/test_getElementsByClassName-18.htm
rename : dom/tests/mochitest/w3c/writeReporter.py => dom/imported-tests/writeReporter.py
2012-04-14 15:05:48 +02:00
Ms2ger
5a7bc1e8d2 No bug - Fix a few issues in importTestsuite.py and update generated Makefiles; r=me 2012-04-14 15:05:33 +02:00
Matt Brubeck
07b516463a Bug 739038 (followup) - tests for dom.disable_window_showModalDialog and disable_window_print [r=jst] 2012-04-13 15:27:39 -07:00
Masatoshi Kimura
51238f18b9 Bug 743049 - Part 2: Use the new API from NS_ScriptErrorReporter to get an error type name. r=jst 2012-04-11 17:55:22 -04:00
David Humphrey (:humph)
e40fc0740c Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Gabor Krizsanits
0ac891d865 Bug 733035 - postMessage support for sandboxes. r=khuey 2012-04-05 18:33:20 -04:00
Boris Zbarsky
949747f4f6 Bug 742222. Make sure to JS_WrapValue values being returned for callback types and 'any' types. r=peterv 2012-04-05 13:14:54 -04:00
Justin Lebar
ac31484323 Bug 742448 - Don't return xray-waived objects in BrowserElementAPI, and don't use the parent window's content-overridable top property for implementing window.top. r=bholley
--HG--
extra : rebase_source : 0c81c1f605aaf73f01b47077be11345ee64955e1
2012-04-04 20:32:39 -04:00
Ms2ger
aed7d318eb Bug 532062 - localStorage/sessionStorage should return undefined (not null) for undefined keys through property access; r=mayhemer 2012-04-03 09:25:39 +02:00
Ms2ger
662e9e4a31 Bug 740771 - Stringify null for Storage.getItem/setItem/removeItem; r=mayhemer 2012-04-03 09:25:39 +02:00
Ms2ger
3ca758f544 Bug 737122 - Attr nodes shouldn't have children; r=sicking 2012-04-03 09:25:39 +02:00
Serge Gautherie
94773c89ac Bug 739927. (Av2) dom-level*-*/DOMTestCase.js: Fix SimpleTest._logResult() override + testFails() + markTodos(), Fake a missing warn() function in checkInitialization(), Add missing early returns to assertSize() and assertURIEquals(). r=jmaher. 2012-04-02 17:11:19 +02:00
Tim Taubert
e1620400a3 merge m-c to fx-team 2012-04-01 18:52:12 +02:00
Kyle Huey
dd25cdbd10 Merge to pick up an orange fix from m-c. 2012-03-31 09:14:19 -07:00
Kyle Huey
386200c036 No bug: Followups to my previous two commits. 2012-03-31 07:54:12 -07:00
Ed Morley
a53f040854 Merge mozilla-central to mozilla-inbound 2012-03-31 15:28:55 +01:00
Kyle Huey
fbaf1d309b Bug 740626: Disable failing tests. 2012-03-31 07:26:57 -07:00
Peter Van der Beken
ed510d3506 Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Tim Taubert
83735914fb Bug 727446 - follow up, test fix #2; r=bustage 2012-03-30 22:40:00 +02:00
Tim Taubert
8692f33f44 Bug 727446 - follow up, test fix r=bustage 2012-03-30 22:37:35 +02:00
Tim Taubert
122a604242 Bug 727446 - Let the window owning a storage dispatch an event when the storage changes; r=smaug 2012-03-30 19:31:16 +02:00
Marco Bonardo
932988efc9 Merge central to inbound 2012-03-30 12:27:55 +02:00
Ms2ger
070823abf4 Bug 738647 - DOMStorageImpl::GetKey shouldn't throw; r=honzab 2012-03-29 23:09:09 +02:00
Ms2ger
b088f0c68b Bug 647323 - Part e: Import Opera's getElementsByClassName tests from the WebApps WG repository; r=jhammel 2012-03-29 23:09:02 +02:00
Ms2ger
fbf4b3314a Bug 647323 - Part d: Import tests Mozilla contributed to the HTML WG test suite; r=jhammel 2012-03-29 23:09:00 +02:00
Ms2ger
5d79d56306 Bug 647323 - Part c: Implement test importing code; r=jhammel 2012-03-29 23:08:58 +02:00
Ms2ger
956f92aedd Bug 647323 - Part b: Implement test harness reporting code and import testharness code from the upstream repository; r=jhammel+ted 2012-03-29 23:08:43 +02:00
Ms2ger
8a6c8b0598 Bug 647323 - Part a: Document the setup; r=jhammel 2012-03-29 23:08:43 +02:00
Peter Van der Beken
0c7d3df11e Fix for bug 740397 (Make tests that try to get XHR.channel use SpecialPowers). r=bholley.
--HG--
extra : rebase_source : 0bd78094debfea9d179f17396626c3802a6b5a21
2012-03-29 11:15:09 -07:00
Phil Ringnalda
9b1872fcc9 Back out 0cb85ff0f764 (bug 738568), 9949bb092303 (bug 730209), 095fd525afa7 (bug 729924), dcf8929a8115 (bug 633602) because of widely scattered and unclear bustage on a CLOSED TREE 2012-03-28 22:37:46 -07:00
David Humphrey
012b498c6b Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc, smaug 2012-03-28 21:00:14 -04:00
Ed Morley
c5ef5abdc0 Merge mozilla-central to mozilla-inbound 2012-03-28 23:23:32 +01:00
Ed Morley
fc1f4a88cb Backout 273173a592dc (bug 483992) for causing bug 739927 2012-03-28 22:52:17 +01:00
Phil Ringnalda
6ca3d29401 Merge m-c to m-i 2012-03-27 21:21:11 -07:00
Justin Lebar
cad9c02c19 Back out changesets 6a2c57fa8edf, 34526f45d863 (bug 737307) due to web-facing regressions (e.g. bug 739478). r=bz
--HG--
extra : rebase_source : 4b595ee4ef7ab60a1d831bf50f1c973161e3187c
2012-03-26 17:10:07 -07:00
Justin Lebar
f502189450 Bug 736688 - Part 3: Make browser frame tests run faster by loading empty pages instead of example.com/example.org (which is the huge, root mochitest file). r=smaug
--HG--
extra : rebase_source : fcb9fbaaa45fc92098c66a20826fe3bb7f15b62c
2012-03-28 11:36:03 -07:00
Justin Lebar
e8fc260ad9 Bug 736688 - Part 2: Move browser frame tests to their own directory. r=smaug
--HG--
extra : rebase_source : b8c03a5cc74b528fce8b4bb7ff77f9a25ab85800
2012-03-28 11:36:03 -07:00
Justin Lebar
b4be644555 Bug 736688 - Part 1: Fix up browser frame tests. r=smaug
--HG--
extra : rebase_source : 393c45bdb8d1eaa55be46dc5a6428b20d44cb013
2012-03-28 11:36:01 -07:00
Serge Gautherie
1c5a117548 Bug 483992. (Av1) dom-level*-*/DOMTestCase.js: Remove sayrer's override of SimpleTest._logResult(). r=rcampbell. 2012-03-27 22:13:25 +02:00
Matt Brubeck
37f7c950f8 Merge mozilla-central and mozilla-inbound 2012-03-23 16:06:54 -07:00
Bobby Holley
7039a94106 Bug 733984 - Explicitly disallow shadowing on location wrappers. r=mrbkap
This was taken care of in other ways before, but we need to be more explicit about it now that we're doing more Xray stuff with Location wrappers.
2012-03-23 15:58:18 -07:00
Dão Gottwald
2fcd4be7f3 merge backout 2012-03-23 16:58:48 +01:00
Dão Gottwald
4307ddde22 Backed out changeset bf13c2253055 2012-03-23 16:58:27 +01:00
Bobby Holley
0729071e9e Bug 667388 - Tests. r=mrbkap 2012-03-23 15:00:22 -07:00
Paul O’Shannessy
47968af569 Bug 714911 - Stop persisting sizemode=fullscreen [r=enn]
--HG--
extra : rebase_source : d94bb978f3d35c90659fca78df83d9bbca1795a6
2012-03-20 16:21:14 -07:00
Aryeh Gregor
18007ca69a Bug 735805 part 1 - Fix DOM and layout mochitests that run no tests; r=bz 2012-03-16 16:07:09 -04:00
Justin Lebar
cccf33684d Bug 737307 - Part 1: Fix scriptaculous test. 2012-03-21 09:53:40 -04:00
Mounir Lamouri
e541c5972c Merging mozilla-inbound into mozilla-central. 2012-03-21 11:29:28 +01:00
Serge Gautherie
7d7ec34bcd Bug 483992. (Bv1) dom-level*-*/*: Work around tests that report no SimpleTest checks. r=bzbarsky. 2012-03-21 05:30:18 +01:00
Masayuki Nakano
0c78a26029 Bug 728103 part.2 Fix new test failures r=smaug 2012-03-16 15:29:15 +09:00
Ms2ger
450abff7b6 Bug 649599 - Make getAttributeNS return null for absent attributes; r=peterv 2012-03-11 09:48:16 +01:00
Bobby Holley
b2e1f08373 Bug 729589 - Fix frameElement wrapping test. r=Ms2ger 2012-03-08 12:55:57 -08:00
Justin Lebar
ce89fa9b58 Bug 729940 - Part 0a: Fix test error messages in localstorage/sessionstorage tests. r=honzab 2012-03-04 15:57:35 -05:00
Justin Lebar
e2b30b7a56 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
7c3462b4ad Bug 729940 - Part 0a: Fix test error messages in localstorage/sessionstorage tests. r=honzab 2012-03-04 13:49:41 -05:00
Justin Lebar
fd4cfccc63 Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz 2012-03-04 11:02:00 -05:00
Matheus Kerschbaum
3766ccd739 Bug 687579 part 2: Nuke globalStorage tests. r=jst 2011-10-09 22:15:00 -04:00
Matheus Kerschbaum
71d2922dd0 Bug 687579 part 1: Remove globalStorage implementation. r=jst
Bug 687579 part 1: Remove globalStorage implementation. r=jst
2011-10-09 22:14:00 -04:00
Justin Lebar
7dde72371d Bug 729940 - Part 0: Fix {local,session}Storage tests which rely on hashtable iteration order. r=honzab 2012-03-02 18:43:50 -05:00
Matt Brubeck
c52c92d647 Merge last green changeset from inbound to mozilla-central 2012-02-29 10:47:38 -08:00
Serge Gautherie
c198089eb7 Bug 725015. (Av3) Add missing 'return', Set needed preference, Make todo() message more explicit. r=mounir. 2012-02-28 20:21:27 +01:00
Peter Van der Beken
f318a67971 Fix for bug 691707 (Enumerating new proxy-based DOM bindings should enumerate the prototype too). r=mrbkap.
--HG--
extra : rebase_source : 788c2b3f9666ca654fab67047f6309937360f725
2012-02-07 20:55:37 +01:00
Marco Bonardo
1723509063 Backout 92c25caf3990 (bug 691707) for m-oth failures 2012-02-24 20:05:44 +01:00
Peter Van der Beken
9fba77fc68 Fix for bug 691707 (Enumerating new proxy-based DOM bindings should enumerate the prototype too). r=mrbkap.
--HG--
extra : rebase_source : 2877f225f60750d27005fccc0225e5c0482fb441
2012-02-07 20:55:37 +01:00
Marco Bonardo
c76aee5341 Merge last green PGO from inbound to central 2012-02-24 11:22:53 +01:00
Serge Gautherie
b06e0b3e57 Bug 728538. (Bv2) browser_ConsoleStorageAPITests.js: Set "browser.tabs.max_tabs_undo" preference, Document code. r=gavin.sharp. 2012-02-24 07:04:55 +01:00
Honza Bambas
199e57e8b9 Bug 495337 - Make sessionStorage use principals instead of string domains, r=bz+bclary 2012-02-23 18:41:25 +01:00
Masatoshi Kimura
d7e66cef1d Bug 720208 - Implement DOM4 DOMException types and codes. r=smaug,ms2ger 2012-02-23 01:34:14 +01:00
Neil Deakin
463ad224a7 Bug 653230, add panels with focusable elements into the document tab navigation order, r=smaug 2012-02-23 16:02:33 -05:00
Serge Gautherie
a4ac4954c0 Bug 728538. (Av1) browser_ConsoleStorageAPITests.js: Improve code a little. r=gavin.sharp. 2012-02-19 06:21:57 +01:00
Neil Deakin
56733ed31b Bug 670317, add a focus manager flag to restrict tab navigation to the same frame, r=smaug 2012-02-13 14:24:28 -05:00
Peter Van der Beken
34f61797c8 Fix for bug 637099 (Remove JS_ClearScope calls on windows). r=mrbkap.
--HG--
extra : rebase_source : 8bdadc72a0b28c78e21758fab8f1035ee1dd9f3d
2011-03-15 12:06:39 +01:00
Saint Wesonga
6ba339c937 Bug 394769. Remove the additional lateness argument for timeouts and intervals. r=jst 2012-02-07 15:28:08 -05:00
Jason Orendorff
2ee2e8f0d9 Bug 699565 - Part 4 - for-of loops on array-like DOM object. r=bz. 2012-02-07 12:57:17 -06:00
Gavin Sharp
355b10c4c9 Bug 723808: don't allow loads in type=content docshells to inherit the system principal, r=bz
--HG--
extra : transplant_source : %E6%25%A7%C1.%DA%02%CC%BF%DA%ED%BEZ%E8%FB%CD%28%0A%FE8
2012-01-30 18:29:44 -08:00
Ed Morley
0ce8f75531 Backout 0e6b1dfaa99c (bug 720208) for M1 orange 2012-02-01 12:58:07 +00:00
Masatoshi Kimura
c70d70f634 Bug 720208 - Implement DOM4 DOMException types and codes. r=ms2ger,smaug 2012-02-01 11:36:42 +01:00
Felipe Gomes
09943f80b9 Bug 714276. NodesFromRect should be a chrome-only API. r=smaug
--HG--
rename : dom/tests/mochitest/general/489127.html => dom/tests/mochitest/chrome/489127.html
rename : dom/tests/mochitest/general/test_nodesFromRect.html => dom/tests/mochitest/chrome/test_nodesFromRect.html
2012-01-27 16:54:03 -08:00
Justin Lebar
da0cb52496 Bug 719459 - Add onmozbrowsertitlechange event. r=smaug
--HG--
extra : rebase_source : b5e8ee64c85e0090a38a849bf077a68055ff56b9
2012-01-26 18:03:22 -05:00
Blake Kaplan
2dcf64b0c3 Bug 664737 - Make GetNext use a belt as well as its braces. r=bzbarsky
--HG--
extra : rebase_source : 46d034b32d4bcff1e5e4c82430091b9180c741fa
2012-01-26 12:54:23 +01:00
Ms2ger
97967af56e Merge m-c to m-i. 2012-01-25 11:06:40 +01:00
Dão Gottwald
09e6731932 No bug - fix some browser chrome tests that pollute the global scope 2012-01-24 23:08:42 +01:00
Josh Matthews
8b683a9a32 Bug 717243 - Handle multiple geolocation callbacks that can occur before a clearWatch call. r=dougt 2012-01-25 02:58:43 -05:00
Matt Woodrow
db33b0ef0e Bug 718334 - Fix some tests to make them work with Skia. r=roc 2012-01-23 14:08:17 +13:00
Justin Lebar
bd7a4c393c Bug 720157 - Don't crash when OnLocationChange sends a null URI. r=smaug 2012-01-22 15:46:55 -05:00
Justin Lebar
3fc976b0b4 Bug 720069 - Fix intermittent oranges in test_browserFrame{1,2,3}.html. r=philor 2012-01-21 01:44:19 -05:00
Phil Ringnalda
f1c873d778 Back out ca4e2ab3717c (bug 720069) because I clearly didn't even think about it, much less test it 2012-01-20 21:51:41 -08:00
Phil Ringnalda
d09323c48f Bug 720069 - define the script that the iframe onload calls before the iframe, to avoid orange when iframeLoad is not defined, r=jlebar
--HG--
extra : rebase_source : 9d73255bdca519fe7459c646a84dd37a9f2b519e
2012-01-20 20:48:04 -08:00
Geoff Lankow
524d279bd1 Backed out changeset 2059cef905c4 (bug 719841) 2012-01-21 11:26:35 +13:00
Bobby Holley
d48e23472c Bug 719841 - Tests. r=jorendorff 2012-01-20 13:32:44 -08:00
Justin Lebar
f24ca507db Bug 710231 - Part 3: Add mozbrowserloadstart, mozbrowserloadend, mozbrowserlocationchange events to <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : 01d82c02f56afd6aebf94443f223bc537536cc57
2012-01-20 12:02:48 -05:00
Justin Lebar
95259428e1 Bug 710231 - Part 1: Back out bug 708176 part 2 (rev 1bdcd84ae727). r=smaug
--HG--
extra : rebase_source : 1c5768b85524a2c7ad63901e7d1f7acdbc075dcb
2012-01-20 12:02:28 -05:00
Savita TS
66eef4fa37 Bug 715555 - Fix "unusued" spelling. r=gavin 2012-01-19 15:54:35 +01:00
Matt Woodrow
d188865651 Backout 0190782907ea because of failed tests 2012-01-19 19:37:02 +13:00
Matt Woodrow
ae4fbc05f8 Bug 718334 - Fix some tests to make them work with Skia. r=roc 2012-01-19 17:48:35 +13:00
Ehsan Akhgari
0bfb6db6b1 Some debug information for bug 717243, r=me 2012-01-11 14:14:05 -05:00
Justin Lebar
5dec878e54 Bug 717019 - Attempt to fix intermittent timeout of test_getContentState.html by switching from http://example.net (which is a live domain) to http://example.org (which is faked by mochitest). r=me 2012-01-10 19:23:31 -05:00
Justin Lebar
af97d824a1 Bug 708176 - Part 2: Add {i,}frame.queryInnerState(), which allows privileged pages to peer into an iframe's state. r=smaug
--HG--
extra : rebase_source : dfd89eb7d451bac9ae4e4eb05d090c767f42ab8e
2012-01-10 12:57:40 -05:00
Josh Matthews
bb28a949bf Bug 716127 - Test for overlapping geolocation provider shutdown and unfulfilled request. r=dougt 2012-01-09 15:27:43 -05:00
Bobby Holley
d1c1a83512 Bug 713747 - Fix funky tests. r=bz
The conversion of checks for UniversalBrowserWrite to UniversalXPConnect caused these test fail, because they acquire UniversalXPConnect and actually doesn't want the results. In particular, they pass the security check in nsWindowWatcher::CalculateChromeFlags, which causes them to fail.

The first test doesn't actually need UniversalXPConnect, so we can remove it for free. The second one needs it, so we add some SpecialPowers goop to make it possible. It's not ideal, but it can go away when the wrapper in bug 702353 lands.
2011-12-30 09:35:39 -08:00
Bobby Holley
8a890a3676 Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Robert O'Callahan
46858a7a66 Bug 591718. Make getClientRects/getBoundingClientRect take transforms into account, and not treat SVG <foreignObject> as establishing a new viewport. r=mats 2011-12-28 16:26:46 +13:00
Ehsan Akhgari
98c02f3fb5 Bug 686003 - The test for bug 507902 navigates away from the page while it's in progress; r=dougt
--HG--
rename : dom/tests/mochitest/orientation/test_bug507902.html => dom/tests/mochitest/orientation/bug507902-frame.html
2011-12-28 17:52:35 -05:00
Blake Kaplan
c62b8b8af6 Bug 707749 - For document.write move the navigator forward to the new inner window. r=jst
--HG--
extra : rebase_source : ab7684c31094af6f11ff4101999f51fca1b35179
2011-12-28 14:39:55 +01:00
Phil Ringnalda
8dffee38d0 Back out dc7c7734ec7c, f793f9cfa72c, 10ea92a6a850 (bug 591718) for Android b-c orange in mobile/chrome/tests/browser_scrollbar.js 2011-12-27 20:34:08 -08:00
Robert O'Callahan
6184e1d5ea Bug 591718. Make getClientRects/getBoundingClientRect take transforms into account, and not treat SVG <foreignObject> as establishing a new viewport. r=mats 2011-12-28 16:26:46 +13:00
Chris Pearce
7f4921dbd7 Bug 706672 - Revoke DOM full-screen when windowed plugin focused on non-MacOSX systems, and deny requests for full-screen from non-focused-tab documents. r=smaug 2011-12-16 10:42:36 +13:00
Ed Morley
d111ce910e Backout 80831e4a10de (bug 706672) for build failures on a CLOSED TREE 2011-12-15 22:09:55 +00:00
Chris Pearce
c2d7ebab5f Bug 706672 - Revoke DOM full-screen when windowed plugin focused on non-MacOSX systems, and deny requests for full-screen from non-focused-tab documents. r=smaug 2011-12-16 10:42:36 +13:00
Justin Lebar
1b4574913a Bug 679966, part 2: Add mozVibrator() for "playing" a vibration pattern. r=bz 2011-11-10 16:26:36 -05:00
Christian Legnitto
b86796df77 Backout 223d4f4bd252 (bug 463491) due to a regression (bug 679961). a=LegNeato 2011-10-31 16:39:32 -07:00
Phil Ringnalda
e460157fbc Bug 656943 - Disable test_offlineMode.html until someone cares enough to look at why it suddenly became flaky after 2.5 years, r=hsivonen 2011-12-04 22:25:54 -08:00
Nathan Froyd
71eeb0ea44 Bug 705845 - Add telemetry for size of values stored in localStorage; r=honzab 2011-12-01 19:19:56 -05:00
Geoff Lankow
8ebd020946 Bug 668710 - Move mockObjects.js in with the rest of SimpleTest; r=dao
--HG--
rename : toolkit/content/tests/browser/common/mockObjects.js => testing/mochitest/tests/SimpleTest/MockObjects.js
2011-08-05 23:55:49 +12:00
Geoff Lankow
a92e5e5471 Bug 703867 - Update /dom/tests/browser/browser_popup_blocker_save_open_panel.js to use MockFilePicker.jsm; r=jst,mounir 2011-11-25 00:17:16 +13:00
Henri Sivonen
3db3f98d07 Bug 92264 - Implement outerHTML. Part of the patch by Ms2ger. r=smaug. 2011-11-10 14:02:22 +02:00
Henri Sivonen
2c1e020e87 Back out changeset 0fb81504b0aa due to Windows build breaking. 2011-11-10 14:49:54 +02:00
Henri Sivonen
87fe96d0dc Bug 92264 - Implement outerHTML. Part of the patch by Ms2ger. r=smaug. 2011-11-10 14:02:22 +02:00
Ed Morley
7ea8e12caa Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rob Campbell
530454ffd3 merge m-c to fx-team 2011-11-05 10:11:34 -03:00
Rafael Ávila de Espíndola
7f2768e97c Bug 697989 - don't use domstorage-flush-timer test_bug624047.html. r=mak77.
Use a new domstorage-flush-force message for testing calling
FlushAndDeleteTemporaryTables with a 'true' argument. We want to add more
work to profile-before-change and that would interfere with the testing
in dom/tests/mochitest/localstorage/test_bug624047.html.

Also move the NS_DOMSTORAGE_FLUSH_TIMER_OBSERVER define to the .cpp file
since that is the only place it is used and rename it to end in _TOPIC.
2011-11-04 18:27:59 -04:00
Rail Aliiev
ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Boris Zbarsky
2c572e2413 Bug 698551. When forwarding gets to the prototype in nodelists, make sure to use the right |this|. r=waldo,peterv 2011-11-04 12:18:38 -04:00
Chris Pearce
148c5caba1 Bug 696918 - Restrict key input in DOM full-screen mode to explicit whitelist. r=smaug 2011-11-03 08:17:32 +13:00
Panos Astithas
5fe53f36e1 Bug 658368 - Expand console object with time and timeEnd methods that add a simple timer implementation; r=msucan,sdwilsh sr=gavin 2011-06-01 09:33:22 +03:00
Chris Pearce
309fcdab1e Bug 691583 - Dispatch showfullscreenwarning chrome event when restricted key pressed in DOM full-screen mode. r=smaug 2011-11-01 18:11:40 +13:00
Olli Pettay
2ba8604d78 Bug 698061 - document.importNode's deep attribute should be optional, r=sicking 2011-10-30 23:17:53 +02:00
Tim Taubert
d210082852 merge the last green changeset on m-c to fx-team 2011-10-27 15:48:08 +02:00
Olli Pettay
122b6baf78 Bug 291653, make window level listeners work consistently with other listeners, r=jst 2011-10-26 14:49:37 +03:00
Panos Astithas
177786d5f7 Bug 696288 - Regression: Processing.js Performance Tests don't work; r=ddahl,smaug 2011-10-24 11:12:24 +03:00
Peter Van der Beken
506577d2e0 Fix for bug 693258 (Fixes for test failures when turning off new list DOM bindings). r=bz/Waldo.
--HG--
extra : rebase_source : f0b6f8443cc29098ce75c114ff5a343597d9f38c
2011-10-13 15:36:09 +02:00
Ms2ger
25d2251ba7 Bug 693154 - Remove Document.xmlStandalone; r=sicking 2011-10-15 09:28:44 +02:00
Rob Campbell
95f4a1ca04 merge m-c to fx-team, last green r 9a72a10e8bb5 2011-10-11 10:01:15 -03:00
Rob Campbell
fdbd8a4716 merge m-c to fx-team 2011-10-08 01:58:32 -03:00
David Chan
ad301bfdc4 Bug 692550 - console.log("%s", null); should log "null"; r=msucan 2011-10-07 09:29:33 -03:00
Ms2ger
3225e81aff Bug 687318 - Allow createProcessingInstruction in HTML; r=smaug 2011-10-01 18:14:40 +02:00
Ms2ger
a2a1344384 Bug 687426 - Remove Document.xmlEncoding; r=sicking 2011-10-01 18:14:40 +02:00
Matt Brubeck
644a223e89 Back out 2780356be1a1 (bug 675574) and 9928fb9a32b1 (bug 690220) on suspicion of causing browser-chrome shutdown hangs 2011-09-29 14:44:36 -07:00
Mounir Lamouri
aac1c5db8b Bug 675574 - Do not allow more than one call to window.open() when we allow popups. r=jst 2011-09-28 23:23:36 +02:00
Boris Zbarsky
cfd7013695 Bug 689564. Only forward event attributes on body/frameset to the window if we also forward the corresponding on* property. r=smaug 2011-09-28 11:54:50 -04:00
Peter Van der Beken
9b6068d890 Bug 648801 (new DOM list bindings) - Bring order of getters/setters in line with WebIDL. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 70625cb118be79cf773a193262d8ad1c8db8a1ec
2011-08-20 15:53:33 +02:00
Panos Astithas
43aa7edc0f Bug 664131 - Expand console object with group methods that indent future console messages in order to create separate blocks of visually combined output; r=gavin 2011-06-14 14:38:11 +03:00
Ehsan Akhgari
a10dfe1731 Bug 685788 - Test for bug 593174 conceals its location after it's done; r=ted,jlebar 2011-09-23 15:59:22 -04:00
Boris Zbarsky
5bd5d4d6c7 Bug 660233 part 1. Fix tests that assume UniversalXPConnect in otherwise-untrusted pages will get one nodePrincipal, documentURIObject, baseURIObject properties. r=mrbkap
--HG--
rename : dom/tests/mochitest/bugs/test_bug396843.html => dom/tests/browser/browser_bug396843.js
2011-09-23 01:03:50 -04:00
Paul Biggar
ca975bca37 Change in-tree users of Array.prototype.splice to not rely on non-standard behavior of deleting all elements from |k| onward for |arr.splice(k)|. r=jwalden
--HG--
extra : rebase_source : b2f041ab27c500636598fe6213481c1a5f0989e8
2011-09-22 15:43:11 -07:00
Rob Campbell
b5b4ddd088 merge m-c to fx-team 2011-09-20 11:42:20 -03:00
Panos Astithas
caa0212d06 Bug 614586 - Implement string substitution in all console API methods; r=ddahl,Olli.Pettay 2011-09-15 11:20:22 -07:00
Justin Lebar
29d1d79b9d Bug 629535 - Add navigator.doNotTrack. r=sicking
--HG--
extra : rebase_source : 48631ff375196045de1c2865ab4ee9b9c219c736
2011-09-19 15:59:22 -04:00
Geoff Brown
189738a917 Bug 684965 - update xpcshell manifests for Android; r=jmaher 2011-09-06 22:29:00 -07:00
Masatoshi Kimura
88a6dd692d Bug 685774 - Implement document.scripts. r=bz 2011-09-09 19:18:03 +02:00
Olli Pettay
3e3400ebbc Bug 675166 - Make DocumentTypeNode to use NodeInfoManager of the document, r=sicking
--HG--
extra : rebase_source : c05867591dc394695c35de92a0c62ca5df9db1d6
2011-09-17 06:32:32 -07:00
Ehsan Akhgari
37c6776163 Merge mozilla-central and mozilla-inbound 2011-09-07 10:53:26 -04:00
Johnny Stenback
b7a702a9e4 Fixing bug 641552. Add mechanism for dynamically registering properties on the navigator object in all pages. r=peterv 2011-09-06 15:01:01 -04:00