Commit Graph

731 Commits

Author SHA1 Message Date
Serge Gautherie
f320f33a7b 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
d6bfad0407 Merge mozilla-central and mozilla-inbound 2012-03-23 16:06:54 -07:00
Bobby Holley
2672787670 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
a0c99babc6 merge backout 2012-03-23 16:58:48 +01:00
Dão Gottwald
370316e0da Backed out changeset bf13c2253055 2012-03-23 16:58:27 +01:00
Bobby Holley
31beccabec Bug 667388 - Tests. r=mrbkap 2012-03-23 15:00:22 -07:00
Paul O’Shannessy
2e876cdd8f Bug 714911 - Stop persisting sizemode=fullscreen [r=enn]
--HG--
extra : rebase_source : d94bb978f3d35c90659fca78df83d9bbca1795a6
2012-03-20 16:21:14 -07:00
Aryeh Gregor
94d5ff735b 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
5732e6baa8 Bug 737307 - Part 1: Fix scriptaculous test. 2012-03-21 09:53:40 -04:00
Mounir Lamouri
9b6e615f47 Merging mozilla-inbound into mozilla-central. 2012-03-21 11:29:28 +01:00
Serge Gautherie
ef919fea29 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
5f93695680 Bug 728103 part.2 Fix new test failures r=smaug 2012-03-16 15:29:15 +09:00
Ms2ger
4d950a4670 Bug 649599 - Make getAttributeNS return null for absent attributes; r=peterv 2012-03-11 09:48:16 +01:00
Bobby Holley
3e075ab3e5 Bug 729589 - Fix frameElement wrapping test. r=Ms2ger 2012-03-08 12:55:57 -08:00
Justin Lebar
3720ec0244 Bug 729940 - Part 0a: Fix test error messages in localstorage/sessionstorage tests. r=honzab 2012-03-04 15:57:35 -05:00
Justin Lebar
2449f55f11 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
d9f6936c11 Bug 729940 - Part 0a: Fix test error messages in localstorage/sessionstorage tests. r=honzab 2012-03-04 13:49:41 -05:00
Justin Lebar
3e68e04f09 Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz 2012-03-04 11:02:00 -05:00
Matheus Kerschbaum
d2337ba1de Bug 687579 part 2: Nuke globalStorage tests. r=jst 2011-10-09 22:15:00 -04:00
Matheus Kerschbaum
51254c73d0 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
0e2b8d1355 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
2609178889 Merge last green changeset from inbound to mozilla-central 2012-02-29 10:47:38 -08:00
Serge Gautherie
287a977acc 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
859c2636bb 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
0583b874bd Backout 92c25caf3990 (bug 691707) for m-oth failures 2012-02-24 20:05:44 +01:00
Peter Van der Beken
3e4dff7ac7 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
2cde588c6f Merge last green PGO from inbound to central 2012-02-24 11:22:53 +01:00
Serge Gautherie
8cdaaba282 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
422a01729e Bug 495337 - Make sessionStorage use principals instead of string domains, r=bz+bclary 2012-02-23 18:41:25 +01:00
Masatoshi Kimura
d99288b6cc Bug 720208 - Implement DOM4 DOMException types and codes. r=smaug,ms2ger 2012-02-23 01:34:14 +01:00
Neil Deakin
c20b50f24e 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
66ed388f0c Bug 728538. (Av1) browser_ConsoleStorageAPITests.js: Improve code a little. r=gavin.sharp. 2012-02-19 06:21:57 +01:00
Neil Deakin
a104105bd5 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
98a0ede326 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
5f0154ca20 Bug 394769. Remove the additional lateness argument for timeouts and intervals. r=jst 2012-02-07 15:28:08 -05:00
Jason Orendorff
17cd06a094 Bug 699565 - Part 4 - for-of loops on array-like DOM object. r=bz. 2012-02-07 12:57:17 -06:00
Gavin Sharp
93f574f547 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
14dbcc2bc2 Backout 0e6b1dfaa99c (bug 720208) for M1 orange 2012-02-01 12:58:07 +00:00
Masatoshi Kimura
7d692e41fd Bug 720208 - Implement DOM4 DOMException types and codes. r=ms2ger,smaug 2012-02-01 11:36:42 +01:00
Felipe Gomes
913d59cbcb 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
eff9052a37 Bug 719459 - Add onmozbrowsertitlechange event. r=smaug
--HG--
extra : rebase_source : b5e8ee64c85e0090a38a849bf077a68055ff56b9
2012-01-26 18:03:22 -05:00
Blake Kaplan
a74425472f 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
2d51bac031 Merge m-c to m-i. 2012-01-25 11:06:40 +01:00
Dão Gottwald
e1d8649025 No bug - fix some browser chrome tests that pollute the global scope 2012-01-24 23:08:42 +01:00
Josh Matthews
1f8fcec1f3 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
3ca05ac15f Bug 718334 - Fix some tests to make them work with Skia. r=roc 2012-01-23 14:08:17 +13:00
Justin Lebar
e6de49c6d0 Bug 720157 - Don't crash when OnLocationChange sends a null URI. r=smaug 2012-01-22 15:46:55 -05:00
Justin Lebar
0726882a1a Bug 720069 - Fix intermittent oranges in test_browserFrame{1,2,3}.html. r=philor 2012-01-21 01:44:19 -05:00
Phil Ringnalda
4dc0ee3ba9 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
ca4b8800fa 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
3735d96789 Backed out changeset 2059cef905c4 (bug 719841) 2012-01-21 11:26:35 +13:00
Bobby Holley
f531f67ad9 Bug 719841 - Tests. r=jorendorff 2012-01-20 13:32:44 -08:00
Justin Lebar
235e524f0e 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
ff743fa577 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
d3614f2082 Bug 715555 - Fix "unusued" spelling. r=gavin 2012-01-19 15:54:35 +01:00
Matt Woodrow
4749771972 Backout 0190782907ea because of failed tests 2012-01-19 19:37:02 +13:00
Matt Woodrow
4499e2be71 Bug 718334 - Fix some tests to make them work with Skia. r=roc 2012-01-19 17:48:35 +13:00
Ehsan Akhgari
f91de14389 Some debug information for bug 717243, r=me 2012-01-11 14:14:05 -05:00
Justin Lebar
78570190e0 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
e79f17be95 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
18ebb800f7 Bug 716127 - Test for overlapping geolocation provider shutdown and unfulfilled request. r=dougt 2012-01-09 15:27:43 -05:00
Bobby Holley
f9cb714b69 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
4b6add2c77 Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Robert O'Callahan
d961c63703 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
d824b10c2e 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
ea4e716244 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
90f2a086a4 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
2bc49734cd 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
1511fb7d91 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
8e0d79be44 Backout 80831e4a10de (bug 706672) for build failures on a CLOSED TREE 2011-12-15 22:09:55 +00:00
Chris Pearce
17d1a329d9 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
84241e428f Bug 679966, part 2: Add mozVibrator() for "playing" a vibration pattern. r=bz 2011-11-10 16:26:36 -05:00
Christian Legnitto
72fefb3b42 Backout 223d4f4bd252 (bug 463491) due to a regression (bug 679961). a=LegNeato 2011-10-31 16:39:32 -07:00
Phil Ringnalda
a52645da48 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
da8a7c8dca Bug 705845 - Add telemetry for size of values stored in localStorage; r=honzab 2011-12-01 19:19:56 -05:00
Geoff Lankow
2a4388fd47 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
29afb43ad2 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
3e51b8fc49 Bug 92264 - Implement outerHTML. Part of the patch by Ms2ger. r=smaug. 2011-11-10 14:02:22 +02:00
Henri Sivonen
59ec018765 Back out changeset 0fb81504b0aa due to Windows build breaking. 2011-11-10 14:49:54 +02:00
Henri Sivonen
00241c62cd Bug 92264 - Implement outerHTML. Part of the patch by Ms2ger. r=smaug. 2011-11-10 14:02:22 +02:00
Ed Morley
7bc582f20f 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
92c7bd7f02 merge m-c to fx-team 2011-11-05 10:11:34 -03:00
Rafael Ávila de Espíndola
7dc8a30f17 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
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Boris Zbarsky
7c9b5321a5 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
0aa08286eb 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
ac31d9b666 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
861af8c44e 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
e4fe236060 Bug 698061 - document.importNode's deep attribute should be optional, r=sicking 2011-10-30 23:17:53 +02:00
Tim Taubert
82d54b90d0 merge the last green changeset on m-c to fx-team 2011-10-27 15:48:08 +02:00
Olli Pettay
940611c04c Bug 291653, make window level listeners work consistently with other listeners, r=jst 2011-10-26 14:49:37 +03:00
Panos Astithas
8a10876705 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
86513cf220 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
7994f114f3 Bug 693154 - Remove Document.xmlStandalone; r=sicking 2011-10-15 09:28:44 +02:00
Rob Campbell
be3a0f87ce merge m-c to fx-team, last green r 9a72a10e8bb5 2011-10-11 10:01:15 -03:00
Rob Campbell
f2b975797f merge m-c to fx-team 2011-10-08 01:58:32 -03:00
David Chan
73a93cf5db Bug 692550 - console.log("%s", null); should log "null"; r=msucan 2011-10-07 09:29:33 -03:00
Ms2ger
14316d1d35 Bug 687318 - Allow createProcessingInstruction in HTML; r=smaug 2011-10-01 18:14:40 +02:00
Ms2ger
bd3d754000 Bug 687426 - Remove Document.xmlEncoding; r=sicking 2011-10-01 18:14:40 +02:00
Matt Brubeck
4a976aab61 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