Commit Graph

385 Commits

Author SHA1 Message Date
Neil Deakin
5be95f4ad7 Bug 527099, use waitForFocus to wait for the frameset window 2010-05-17 09:21:11 -04:00
Neil Deakin
e47ae5d46e Add some debugging to help debug 527099 2010-05-16 13:22:55 -04:00
Boris Zbarsky
a491cefc6d Bug 484710. Add a notification for when a window's scope stops being usable. r=jst 2010-05-14 17:17:52 -04:00
Felipe Gomes
4f32310a9c Bug 489127. Fix and reenable tests. 2010-05-13 12:56:10 +12:00
Mayank Gupta
85f4893096 Bug 548828. Implement HTMLDocument.head. Mochitest-testcase r=bzbarsky 2010-05-11 00:14:20 +05:30
Boris Zbarsky
326e6cd9f3 Bug 534149. Give each nsGlobalWindow a unique ID and expose the IDs on nsIDOMWindowUtils. r=jst 2010-05-10 21:12:35 -04:00
Boris Zbarsky
3c3a1ca782 Bug 563487. removeEventListener on a Window shouldn't throw if there's not listener manager yet; just do nothing. r=smaug 2010-05-05 14:18:04 -04:00
Peter Van der Beken
6fe7a598df Fix for bug 558973 ("ASSERTION: Nodes that are not documents, document fragments or elements can't be parents!"). r=jst.
--HG--
extra : rebase_source : 6d9f76e94457823bb425f546053f4d24e80aec5c
2010-04-15 10:28:57 +02:00
Ms2ger
09e869f910 Bug 559839 - "Failures in ajax test suites aren't counted" [r=sayrer]
Removing the unused copies
2010-04-16 08:14:00 -04:00
Ms2ger
7e9c7f46d6 Bug 559839 - "Failures in ajax test suites aren't counted" [r=sayrer] 2010-04-16 08:12:00 -04:00
Ms2ger
908a189f0e Bug 486256 - Mochitest test_Scriptaculous.html (all but 2) results fail to be actually logged. r=sayrer 2010-04-26 21:04:27 +02:00
Boris Zbarsky
e3c85bbb77 Bug 492925. Make array access on medialists actually work. r=jst 2010-04-23 13:37:02 -04:00
Neil Deakin
438ca72bb6 Bug 418521, adjust test to avoid problems on Mac, filed bug 560898 on a real fix 2010-04-21 13:37:13 -04:00
Neil Deakin
ceb1712f98 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Neil Deakin
d57ebf49ba b544277 patch for window_focus.xul 2010-04-21 22:14:35 +09:00
Jonas Sicking
1a83956b1c Bug 518110: Kill HTMLBaseFontElement interface and HTMLHeadElement.profile. Also merge nsHTMLHeadElement and nsHTMLHtmlElement into nsHTMLSharedElement. r=jst
--HG--
extra : rebase_source : 651aeed4f884405ffd980b3b74a0dbb21f931156
2010-04-19 12:06:00 -07:00
Mark Finkle
f5b78b41ee Temporarily disable test_nodesFromRect due to failures 2010-04-07 22:06:34 -04:00
Felipe Gomes
5acd9af9e3 Bug 489127 - nodesFromRect required for better usability on mobile devices (part 5) [r=roc] 2010-04-07 20:31:26 -04:00
L. David Baron
c6cfc1d0a4 Fix existing tests to deal with getComputedStyle lying about :link vs. :visited. (Bug 147777) r=sdwilsh 2010-04-02 18:58:25 -07:00
Markus Stange
5fb3e948bb Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Neil Deakin
8f3acb3041 Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil 2010-03-19 14:32:13 -04:00
Peter Van der Beken
3e3654ffca Fix for bug 540848 (Add appendChild/insertBefore/replaceChild/removeChild on nsINode). r=bz.
--HG--
extra : rebase_source : 4550ff196ab5fd1acbc72e7c94b7a31d073ae5dd
2010-03-17 16:06:19 +01:00
Markus Stange
4a997d3554 Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures. 2010-03-17 20:03:53 +01:00
Markus Stange
f1f3037861 Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Henri Sivonen
bfd32240d1 Bug 545403 - Change test_hc_documentgetdoctype.html to accept both upper case and lower case doctype names. r=bnewman.
--HG--
extra : rebase_source : a8eec6469678e6c47e9fb85d1a1b77ddf25a0cf9
2010-02-22 14:17:31 +02:00
Mats Palmgren
47a33305b5 Remove the inner declaration of startOffset, it shadows the outer one we use. b=549909 r=enndeakin 2010-03-14 14:46:11 +01:00
Joel Maher
d050afae06 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
Mark Banner
1fa876e743 Backout changes to .jar files missed from previous backout of bug 544097 2010-03-10 09:51:28 +00:00
Brad Lassey
bb55fe310f backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Kyle Huey
1d0289c601 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Clint Talbert
7ffd9496bc Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher
ef6c5fda3d Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Blake Kaplan
5f9a4782f7 Fix bug 541530. r=jst sr=brendan 2010-03-04 13:44:42 -08:00
Henri Sivonen
cb3f5d69ed Bug 545402 - Make test_bug42976.html run from onload and make HTML5 createContextualFragment work on DOMs that do not have a docshell. r=Olli.Pettay.
--HG--
extra : rebase_source : 74002d7f9936045065406e412477df9b740ee766
2010-02-22 14:17:31 +02:00
Henri Sivonen
f7cc870630 Bug 545404 - Remove parsing-dependent isindex tests from the DOM Level 2 HTML test suite. r=jonas.
--HG--
extra : rebase_source : 2c955c2b9005925d5c21a1dd5950c4c8b7f147ed
2010-02-22 14:17:31 +02:00
Shawn Wilsher
376df21743 Bug 461199 (Part 29) - Fix dom tests.
r=sicking
2010-02-24 08:37:03 -08:00
Doug Turner
99bbb9251a Backed out Bug 489813 / changeset 0542680c6f74 2010-02-23 23:11:18 -08:00
Doug Turner
8191486eee Bug 489813 - fire geolocation timeout error if the provider fails to response after initial response. r=olli
--HG--
extra : rebase_source : 03c08ca4f017302e8ae2e63cdb844c62f01c234e
2010-02-23 20:27:27 -08:00
Neil Deakin
78ed0e9792 Bug 544146, when focusing at the caret position, if the caret is not set or at the root, don't look for a node to focus, r=smaug 2010-02-23 13:16:19 -05:00
Boris Zbarsky
09f6e100c7 Bug 513146. Address review comment about adding a comment. r=gavin 2010-02-22 23:02:00 -05:00
Boris Zbarsky
8b813d19e1 Bug 513146. Since this test assumes things about the positioning of things on the page but doesn't flush layout before running, we need to make sure to either run it when pageload is done or make it flush layout up front. Do the former. Will get gavin's review. 2010-02-19 23:04:09 -05:00
Shawn Wilsher
40f009e687 Backed out changeset 5607b8b76949 2010-02-18 09:44:28 -08:00
Shawn Wilsher
5af603aed6 Bug 461199 (Part 29) - Fix dom tests.
r=sicking
2010-02-17 14:04:34 -08:00
Justin Lebar
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Masayuki Nakano
87066daf06 Bug 534420: Fix intermittent failure in browser_focus_steal_from_chrome.js r=enndeakin 2010-01-30 08:05:42 -05:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar
a827ba17fc Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Honza Bambas
e1a5b71c19 Bug 501423 - StorageEvent implementation does not match the spec, r=jst 2010-01-28 15:53:53 +01:00
Justin Lebar
a090ac8577 Bug 515190 - Hashchange event should be dispatched synchronously. r=smaug 2009-11-26 21:01:43 -08:00
Peter Van der Beken
7d8645e4ca Fix for bug 428229 (Unable to override addEventListener), remove custom addEventListener code. r=bz.
--HG--
extra : rebase_source : 4e679da2100075a1e3c4ad557b92a3c86a5cf7be
2010-01-13 14:50:01 +01:00
Robert O'Callahan
68f4784a75 Bug 526394. Part 36: Store the overflow area explicitly whenever it's not exactly equal to the border-box; if they're both empty but with different dimensions or position, we should still store the explicit overflow area. Also fix test_offsets to compute the expected scrolled area correctly. r=mats 2010-01-12 10:45:21 +13:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Olli Pettay
19c06de19d bug 531176, r=sicking, sr=jst 2009-12-18 21:27:57 +02:00
Masayuki Nakano
a7fc50d23b bug 534420 debug code for the test 2009-12-16 01:49:17 +09:00
Dão Gottwald
3a259a727a browser_focus_steal_from_chrome.js cleanup 2009-12-14 11:07:36 +01:00
Peter Van der Beken
7608b7052e Fix error in test. 2009-12-13 21:48:20 -08:00
Peter Van der Beken
b169f2dccb Fix for bug 531542 ("ASSERTION: DOM_MIN_TIMEOUT_VALUE lies" with negative setTimeout). r=jst. 2009-11-30 10:58:32 +01:00
Peter Van der Beken
110cb44583 Fix for bug 534362 (Allow modifications to Location.prototype). r=mrbkap.
--HG--
extra : rebase_source : c860de457e25114244c86ff8063ca6c1390e33ae
2009-12-13 16:57:08 -08:00
Dão Gottwald
a07f4625e9 browser_focus_steal_from_chrome.js cleanup
--HG--
extra : rebase_source : 96a43eac3e3eddead6dfc2f10335561d7104f2e7
2009-12-13 21:46:38 +01:00
Dão Gottwald
65d95048a7 improve browser_354894.js output
--HG--
extra : rebase_source : 0091d4b16fae7732d4dd382f2cfab8c1bc404c43
2009-12-13 21:46:15 +01:00
Masayuki Nakano
cb4ed98fcc Bug 125282 Webpage-JS can steal focus from URLbar / chrome r=enndeakin 2009-12-12 14:17:40 +09:00
enndeakin@gmail.com
aa1e6dfe50 Bug 525856 - White-space in source code affects how link receive focus from keyboard (tab key), r=smaug, sr=roc 2009-11-20 14:09:33 +02:00
Peter Van der Beken
7e0a012c40 Back out fix for bug 428229 (Unable to override addEventListener). 2009-11-15 17:03:03 +01:00
Peter Van der Beken
aae3f7089b Fix for bug 428229 (Unable to override addEventListener). r=bz. 2009-11-09 14:54:18 +01:00
Doug Turner
fcdbd8c8b0 Bug 526316 - ClearWatch should not throw when given bad input. Fixing test. 2009-11-13 11:30:39 -08:00
Boris Zbarsky
8431b4515a Bug 528259. Fixing broken test that was checked in as part of bug 493615. 2009-11-12 15:03:47 -05:00
Doug Turner
2af0681054 Bug 493615 - Allow Addons to use the DOM Geolocation API. r=smaug
--HG--
extra : rebase_source : a48f85c5940252a87bfef879663b2d50daed5686
2009-11-12 07:14:45 -08:00
Honza Bambas
25cfd349ac Bug 510234 - localStorage.clear() doesn't actually delete its properties, r+sr=jst 2009-11-11 21:39:34 +01:00
Nochum Sossonko
b71c54fd4a Bug 524128 - sporadic timeout in /tests/dom/tests/mochitest/general/test_497898.html followed by focus issues. r=enn 2009-11-06 11:31:07 +01:00
Serge Gautherie
df6abf6b7c Add |ok(true, ...);|.
Bug 483624 - Mochitest bugs/test_bug479143.html runs fine but needs to check/report success; (Av1).
r+sr=jst
2009-11-05 01:46:38 +01:00
Ben Newman
19cb564817 Bug 260264 - Popups from a Site that is in the "Allowed List" (whitelist) are blocked, starting with the n-th popup (dom.popup_maximum). r+sr=jst 2009-09-16 11:46:05 -07:00
Paul O’Shannessy
920e2ef755 Bug 511503 - Need events for window focus / activation. r=Enn 2009-10-29 12:11:00 -07:00
Gijs Kruitbosch
41ba1acfa5 Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Johnny Stenback
039b7eb41d Part 2 of fix for bug 459452 (Add support for optional arg count for IDL methods): use [optional_argc] for DOM methods. r=peterv.
--HG--
extra : rebase_source : c0bc25842b2645fe9f42c9ed5d57567f8e6b5279
2009-08-10 16:41:12 +02:00
L. David Baron
670f0e6149 Work around bug 524037 by sending a mouse up event in addition to the mouse down event so that we don't leak and the tree goes green again. 2009-10-23 07:43:24 -04:00
Honza Bambas
ad4fd319b0 Bug 367373 - DOM storage quota should exclude offline-app allowed domains, r+sr=jst 2009-10-21 12:18:08 +02:00
Honza Bambas
d3ffeeaee1 Bug 399526 - let the offline-app permission apply to subdomains, r+sr=jst 2009-10-16 16:48:19 +02:00
Jesse Ruderman
e0c6e775cb Fix bug number (in a mochitest) 2009-10-14 17:25:46 -07:00
Johnny Stenback
9d74609659 Adding missing files from my previous commit. 2009-10-06 17:25:56 -07:00
Johnny Stenback
123b209635 Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2009-10-06 17:09:16 -07:00
Neil Deakin
492e487e7d Bug 513299, add a flag to focus events to indicate that a window was raised, fixes issue where text in a field is selected when a window is raised, r=smaug.sr=neil 2009-10-01 14:53:10 -03:00
Neil Deakin
d5f240a54b Bug 507592, don't allow refocusing an element during a blur, r=smaug 2009-09-28 10:17:04 -04:00
Neil Deakin
22715396a4 Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug 2009-09-21 13:39:44 -04:00
Masayuki Nakano
7a8364995b Bug 517787 Clicking a partially off-screen link shouldn't scroll the page (again) r=enndeakin 2009-09-22 00:58:16 +09:00
Neil Deakin
f0c1f6396a Bug 498799, use waitForFocus for test_focus.xul in various places 2009-09-18 13:02:44 -04:00
Neil Deakin
d4ae4f35be Bug 514230, fix up to not refer to elements by id but by reference, also fixes the case when full keyboard access is used because tabs are now focusable, r=smaug 2009-09-08 07:24:20 -04:00
Boris Zbarsky
4f2bc6392e Disabling test that makes bogus assumptions about DOM behavior 2009-09-02 13:38:49 -04:00
Johnny Stenback
8127d8695e Backed out changeset 105d89f1a33b due to test failures. 2009-08-31 15:03:53 -07:00
Johnny Stenback
29b20051c6 Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2009-08-31 14:35:58 -07:00
Neil Deakin
5814a5694d Bug 508477, add a flag to distinguish key focus navigation from other types of focus navigation, allows initial focused textboxes in a dialog to be selected by default, r=smaug 2009-08-26 09:19:41 -07:00
Doug Turner
710cbd9853 Bug 482260 - Turnning on the new geolocation tests that caused the tree to go orange. The thought here is that the orange was a different check in. 2009-08-17 09:04:00 -07:00
Clint Talbert
5d8711f53b Bug 482260 Turning off the new geolocation tests causing the orange in dougt's patch 2009-08-14 18:32:20 -07:00
Clint Talbert
167390af0a Bug 482260 Bustage Fix r=ctalbert 2009-08-14 16:34:40 -07:00
Clint Talbert
7de978af0c Bug 482260, Add more comprehensive tests, patch=dougt, r=mfinkle,jmaher,ctalbert 2009-08-14 16:12:09 -07:00
Brad Lassey
c4cb180942 Backed out changeset 08f71a710ae3 due to orange unit tests r=dougt 2009-08-12 19:26:03 -07:00
Doug Turner
5c3eea7d6f Bug 482260. Add more tests cases for geolocation. Also fixes max age not being able to be set to zero. r=mfinkle,jmaher. 2009-08-12 12:17:33 -07:00
Neil Deakin
653c684b5b Bug 344850, shift+tab from input with tabindex set fails, r=smaug 2009-08-04 14:03:39 -04:00
Clint Talbert
99c2687239 Bug 484994 bustage, possible orange fix for jquery [orange] 2009-08-03 17:27:20 -07:00