Commit Graph

574 Commits

Author SHA1 Message Date
Boris Zbarsky
da463ff9c2 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
9023fab06f Bug 489127. Fix and reenable tests. 2010-05-13 12:56:10 +12:00
Mayank Gupta
416d9d2f3d Bug 548828. Implement HTMLDocument.head. Mochitest-testcase r=bzbarsky 2010-05-11 00:14:20 +05:30
Boris Zbarsky
69e0aca09c 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
e9bd55387a 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
66819e5352 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
254a9adbb8 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
3f23238231 Bug 559839 - "Failures in ajax test suites aren't counted" [r=sayrer] 2010-04-16 08:12:00 -04:00
Ms2ger
b2855bf44c 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
6cc1ff2e53 Bug 492925. Make array access on medialists actually work. r=jst 2010-04-23 13:37:02 -04:00
Neil Deakin
70871b5dcb 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
b627649b3d 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
d8113fb425 b544277 patch for window_focus.xul 2010-04-21 22:14:35 +09:00
Jonas Sicking
45559fc2d9 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
1c3ccf529f Temporarily disable test_nodesFromRect due to failures 2010-04-07 22:06:34 -04:00
Felipe Gomes
79fe2b6925 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
7a857e9b5a 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
00fbecd8b0 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
3ea1a5bd7d 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
3732c25789 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
d0207d99c6 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
4a7a64bc2e 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
7ccf14e42b 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
524f6b5d6e 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
6b6e9978a3 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
8f587383c4 Backout changes to .jar files missed from previous backout of bug 544097 2010-03-10 09:51:28 +00:00
Brad Lassey
96319c4535 backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
1c8d232df2 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
a7c3948d0a Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
694ec71da0 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
5b4513c7e9 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
3cd691129e 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
0b0c073a41 Fix bug 541530. r=jst sr=brendan 2010-03-04 13:44:42 -08:00
Henri Sivonen
8f0087320b 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
ed1e395771 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
44f75ebc87 Bug 461199 (Part 29) - Fix dom tests.
r=sicking
2010-02-24 08:37:03 -08:00
Doug Turner
328a598fc9 Backed out Bug 489813 / changeset 0542680c6f74 2010-02-23 23:11:18 -08:00
Doug Turner
d2afc943c8 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
5e32a6cffc 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
480c23b0b2 Bug 513146. Address review comment about adding a comment. r=gavin 2010-02-22 23:02:00 -05:00
Boris Zbarsky
39118207dc 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
b5496e6ae8 Backed out changeset 5607b8b76949 2010-02-18 09:44:28 -08:00
Shawn Wilsher
5f070953b1 Bug 461199 (Part 29) - Fix dom tests.
r=sicking
2010-02-17 14:04:34 -08:00
Justin Lebar
2fc408988c Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Masayuki Nakano
e2bb092515 Bug 534420: Fix intermittent failure in browser_focus_steal_from_chrome.js r=enndeakin 2010-01-30 08:05:42 -05:00
Daniel Holbert
585d440f02 Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar
731c252671 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Honza Bambas
3f72ce86df Bug 501423 - StorageEvent implementation does not match the spec, r=jst 2010-01-28 15:53:53 +01:00
Justin Lebar
46de8dd77f Bug 515190 - Hashchange event should be dispatched synchronously. r=smaug 2009-11-26 21:01:43 -08:00
Peter Van der Beken
a5b6707a12 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
cc6d54b61e 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
80ae9b3620 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Olli Pettay
f5357928ad bug 531176, r=sicking, sr=jst 2009-12-18 21:27:57 +02:00
Masayuki Nakano
7f5db327e8 bug 534420 debug code for the test 2009-12-16 01:49:17 +09:00
Dão Gottwald
39a4c6336e browser_focus_steal_from_chrome.js cleanup 2009-12-14 11:07:36 +01:00
Peter Van der Beken
8c116924af Fix error in test. 2009-12-13 21:48:20 -08:00
Peter Van der Beken
a2a9c0be64 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
00b87e5ee3 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
c367212e49 browser_focus_steal_from_chrome.js cleanup
--HG--
extra : rebase_source : 96a43eac3e3eddead6dfc2f10335561d7104f2e7
2009-12-13 21:46:38 +01:00
Dão Gottwald
c58eedf77c improve browser_354894.js output
--HG--
extra : rebase_source : 0091d4b16fae7732d4dd382f2cfab8c1bc404c43
2009-12-13 21:46:15 +01:00
Masayuki Nakano
73f9a129d8 Bug 125282 Webpage-JS can steal focus from URLbar / chrome r=enndeakin 2009-12-12 14:17:40 +09:00
enndeakin@gmail.com
263703657b 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
a9216f9202 Back out fix for bug 428229 (Unable to override addEventListener). 2009-11-15 17:03:03 +01:00
Peter Van der Beken
be7f33599f Fix for bug 428229 (Unable to override addEventListener). r=bz. 2009-11-09 14:54:18 +01:00
Doug Turner
14f6137b3a Bug 526316 - ClearWatch should not throw when given bad input. Fixing test. 2009-11-13 11:30:39 -08:00
Boris Zbarsky
ea9fca3a01 Bug 528259. Fixing broken test that was checked in as part of bug 493615. 2009-11-12 15:03:47 -05:00
Doug Turner
172e2f77f5 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
823e77a429 Bug 510234 - localStorage.clear() doesn't actually delete its properties, r+sr=jst 2009-11-11 21:39:34 +01:00
Nochum Sossonko
8fb73579d9 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
da24f0dedd 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
a13534936f 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
e759e740d7 Bug 511503 - Need events for window focus / activation. r=Enn 2009-10-29 12:11:00 -07:00
Gijs Kruitbosch
c888c1980e 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
ac45fe56aa 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
56e12b01bd 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
1d0897eeec Bug 367373 - DOM storage quota should exclude offline-app allowed domains, r+sr=jst 2009-10-21 12:18:08 +02:00
Honza Bambas
9397b47404 Bug 399526 - let the offline-app permission apply to subdomains, r+sr=jst 2009-10-16 16:48:19 +02:00
Jesse Ruderman
4acd3fd89e Fix bug number (in a mochitest) 2009-10-14 17:25:46 -07:00
Johnny Stenback
4c40ecf75e Adding missing files from my previous commit. 2009-10-06 17:25:56 -07:00
Johnny Stenback
0f5b5ba5ba 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
0f06193730 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
5e40529700 Bug 507592, don't allow refocusing an element during a blur, r=smaug 2009-09-28 10:17:04 -04:00
Neil Deakin
dc9b8b8573 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
c673342285 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
2f68128a63 Bug 498799, use waitForFocus for test_focus.xul in various places 2009-09-18 13:02:44 -04:00
Neil Deakin
8609abaa76 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
bb69736d00 Disabling test that makes bogus assumptions about DOM behavior 2009-09-02 13:38:49 -04:00
Johnny Stenback
7dfc767546 Backed out changeset 105d89f1a33b due to test failures. 2009-08-31 15:03:53 -07:00
Johnny Stenback
abda1a2206 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
0beee44e9d 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
db744c27ce 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
81408b9968 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
802f7617ed Bug 482260 Bustage Fix r=ctalbert 2009-08-14 16:34:40 -07:00
Clint Talbert
c030f1404e Bug 482260, Add more comprehensive tests, patch=dougt, r=mfinkle,jmaher,ctalbert 2009-08-14 16:12:09 -07:00
Brad Lassey
e480b0ea50 Backed out changeset 08f71a710ae3 due to orange unit tests r=dougt 2009-08-12 19:26:03 -07:00
Doug Turner
4f5320f9e8 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
66a6a134a0 Bug 344850, shift+tab from input with tabindex set fails, r=smaug 2009-08-04 14:03:39 -04:00
Clint Talbert
3e8f0eb31f Bug 484994 bustage, possible orange fix for jquery [orange] 2009-08-03 17:27:20 -07:00
Robert O'Callahan
c3c28a472b Bug 507755. Add a test that will fail if anyone adds any enumerable chrome-only properties to 'window'. r=jst 2009-08-04 09:42:03 +12:00
Robert O'Callahan
dda041efb9 Bug 507755. Move the chrome-only property screenPixelsPerCSSPixel out of 'window' to nsIDOMWindowUtils. r=jst 2009-08-04 09:41:36 +12:00
Robert O'Callahan
e9f662e5fb Bug 486200. Add window.mozInnerScreenX/Y APIs to return usable screen coordinate APIs (as opposed to window.screenX/Y which return window frame coordinates and are unusable). Also adds window.mozScreenPixelsPerCSSPixel which chrome-prileged code can use to convert CSS pixels to actual screen pixels. r=dbaron,sr=jst
--HG--
extra : rebase_source : 30f4c953f3e3866da042b935953ba239ac0a93c4
2009-07-30 15:16:44 +12:00
Michael Kohler
b7a3a2a751 Bug 106386 - Correct misspellings in source code (old); Patch 1; r=timeless 2009-07-27 10:46:59 +02:00
Justin Lebar
7e5c8ef585 Bug 504220: document.body and window should contain onhashchange attribute r=mrbkap, sr=mrbkap 2009-07-15 15:46:14 -07:00
Neil Deakin
ee561fd8cf Bug 503047, element.select() should fire select event, r=bz 2009-07-13 07:55:56 -04:00
Doug Turner
bebf1f7d95 Bug 484488 - MakeFullWindow support for windows mobile. r=olli.pettay, sr=vlad 2009-07-08 09:13:13 -07:00
Doug Turner
a423b771c1 Backing about 484488. 2009-07-05 22:24:56 -07:00
Doug Turner
012833ad3c Bug 484488/501801 - fixed mochitest fail. r=blassey, sr=vlad 2009-07-01 21:39:20 -07:00
Doug Turner
d210ca62c4 Bug 484488 - MakeFullWindow support for windows mobile. r=olli.pettay, sr=vlad 2009-07-01 12:01:11 -07:00
Neil Deakin
650d2e664b Bug 499912, one more fix needed for the test on linux 2009-06-25 14:09:41 -04:00
Honza Bambas
6dc6d90788 Bug 477323 - WHATWG HTML5 drag and drop event handlers could not be set dynamically, new test, r=smaug 2009-06-25 16:51:32 +02:00
Neil Deakin
a296fa9d99 Bug 499912, fix test failure on linux 2009-06-25 10:31:47 -04:00
Neil Deakin
29905dad37 Bug 499912, crash activating window with no root element, r+sr=smaug 2009-06-24 13:12:37 -04:00
Neil Deakin
b00127e6ac Bug 497633, add tests 2009-06-22 16:09:58 -04:00
Neil Deakin
9d375e91f7 Bug 497633, 497878, fix two crashes with similar tests that remove frames during blur, r+sr=smaug 2009-06-22 15:49:10 -04:00
Neil Deakin
2adb66d220 Bug 498609 and 498643, clear focused element when not in document, sr=smaug (missed this file) 2009-06-20 20:12:31 -04:00
Neil Deakin
444dc5a9aa Bug 498609 and 498643, clear focused element when not in document, sr=smaug 2009-06-20 20:04:04 -04:00
Daniel Brooks
0f7914bc13 Backed out changeset 3ed492a26551 2009-06-19 11:57:54 -05:00
Daniel Brooks
9306ebacac Bug 486200 - Need API to compute screen coordinates of DOM elements
r=roc,dbaron, sr=roc,jst
2009-06-19 02:24:34 -05:00
Phil Ringnalda
3419957800 Bug 495023 - No need to ender dom/tests ifndef ENABLE_TESTS, r+sr=jst 2009-06-13 11:53:38 -07:00
Clint Talbert
48b8f1a620 Bug 497053 geolocation/test_timeoutWatch fails intermittently patch by jmaher r=ctalbert 2009-06-12 08:34:14 -07:00
Doug Turner
a282e85375 Bug 488862 - crash while geolocation is retrieving data [@ nsGeolocation::RemoveRequest]. r=dbaron, sr=smaug, r=ctalbert on tests 2009-06-11 17:46:46 -07:00
Neil Deakin
15df29db77 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Joel Maher
75b52fe065 Bug 489817 - migrate existing geolocation tests from mochitest to browser-chrome; r=(ctalbert + doug.turner) 2009-06-08 21:50:04 +02:00
honzab.moz@firemni.cz
fd28064ebc Fixing bug 495112. Partially revert the fix for bug 455070 to fix session storage regressions. r+sr=jst@mozilla.org 2009-05-28 16:15:26 -07:00
Zack Weinberg
05ccc0ab01 Bug 495219: nsGlobalWindow::GetInner* report zero when there is no prescontext, to restore old behavior for display:none. r+sr=bzbarsky 2009-05-28 15:19:08 -04:00
Shawn Wilsher
32267a5e4d Tests for bug 494453 and bug 485396
r=bz
sr=bz
2009-05-22 19:08:32 -04:00
Johnny Stenback
c250d485f0 Fixing orange from bug 455070. Fix case mistake in paths. 2009-05-20 18:05:57 -07:00
Honza Bambas
398af60e56 Bug 455070 - Make sessionStorage object conform the WHATWG spec, r+sr=jst 2009-05-21 00:27:31 +02:00
Honza Bambas
962ff4d62d Backed out changeset b2e48c0aa965 2009-05-20 22:30:21 +02:00
Honza Bambas
450643be76 Bug 455070 - Make sessionStorage object conform the WHATWG spec, r+sr=jst 2009-05-20 20:19:38 +02:00
Honza Bambas
bcfd364ba5 Backed out changeset ef25b4175b78 2009-05-20 10:37:31 +02:00
Honza Bambas
4fd6964f28 Bug 455070 - Make sessionStorage object conform the WHATWG spec, r+sr=jst 2009-05-20 10:23:41 +02:00
Honza Bambas
19967018da Bug 487695 - Decide on localStorage behavior in session-only cookies or private-browsing mode, test bustage fix 2009-05-18 12:50:43 +02:00
Honza Bambas
7c8df0e8e5 Bug 487695 - Decide on localStorage behavior in session-only cookies or private-browsing mode, r+sr=jst
--HG--
rename : dom/src/storage/nsDOMStorageDB.cpp => dom/src/storage/nsDOMStoragePersistentDB.cpp
rename : dom/src/storage/nsDOMStorageDB.h => dom/src/storage/nsDOMStoragePersistentDB.h
2009-05-18 10:12:14 +02:00
Honza Bambas
2cc8843616 Bug 492219 - localStorage's constructor should be Storage, r+sr=jst 2009-05-16 15:59:30 +02:00
Josh Aas
ea0539e764 Spelling fix to kick off more builds. CLOSED TREE a=me 2009-05-08 17:17:04 -04:00
Olli Pettay
4ade0eee29 Bug 484775 - DocumentFragments and Attribute nodes should expose nsIDOMEventTarget to JS, r+sr=peterv
--HG--
extra : rebase_source : 7bce078904782a5a907eebbbff7b74a905cfa8c1
2009-05-07 16:59:51 +03:00
Olli Pettay
1af385d3f5 backout bug484775 2009-05-07 10:19:06 +03:00
Olli Pettay
115a0d7046 Bug 484775 - DocumentFragments and Attribute nodes should expose nsIDOMEventTarget to JS, r+sr=peterv
--HG--
extra : rebase_source : 9c6f8f9d3cd1283adb7b69b93440f7da01924326
2009-05-07 09:31:04 +03:00
L. David Baron
f0c43ecb3d Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Dave Townsend
51ec924c58 Bug 427744: List plugin file version number under about:plugins. r=josh, sr=jst 2009-04-22 12:13:10 -07:00
Blake Kaplan
b29c6d06fb Bug 484180 - Don't call the class getter (especially not the scriptable helper!) for functions. r+sr=jst
--HG--
extra : rebase_source : 15e927e3a4281a0d5ffd54b528c9c90c76b7c6ee
2009-04-17 16:52:10 -07:00
Doug Turner
441451be3c Bug 487467. Support for a Network Geolocation Provider.
Browser bits for sanitizing.  r=gavin
Mochitest. r=ctalbert
Dom bits. r/sr=jst
Provider component. r=gavin, sr=jst
2009-04-14 09:10:20 -07:00
Honza Bambas
46346d0e7a Bug 486654 - implement localStorage for 1.9.1, security review comments addressing, r=jst, sr=dveditz 2009-04-14 16:11:47 +02:00
Serge Gautherie
6275922234 Bug 485175 - [SeaMonkey] Some Mochitest geolocation tests time out now (test_allowCurrent.html, test_allowWatch.html); (Dv1a) Fix test_timeoutWatch.html errorCallback(); r=doug.turner 2009-04-10 12:30:33 +02:00
Jeff Walden
a29f180b01 Fix thinko to make a test actually test what it was supposed to test, no bug 2009-04-06 14:14:10 -07:00
Neil Rashbrook
278399992f Bug 485175 Make geolocation tests even more reliable r=dougt 2009-04-01 17:43:34 +01:00
Neil Rashbrook
f0bdafd474 Bug 485175 Make geolocation tests more reliable r=dougt 2009-03-31 17:35:55 +01:00
Gavin Sharp
4f47062f0c Bug 483634: add scrollX/scrollY getter on nsIDOMWindowUtils that allows avoiding a layout flush, r+sr=roc 2009-03-30 08:19:06 -04:00
Gavin Sharp
fd37776bae merge backout 2009-03-19 00:56:31 -04:00
Gavin Sharp
a7342c1886 Back out changeset 699fc684188c from bug 483634 due to unit test failures 2009-03-19 00:56:19 -04:00
Doug Turner
53c5b02134 bug 484122. geolocation timeout due to string change. r=bent 2009-03-18 18:55:32 -07:00
Gavin Sharp
17594536b7 Bug 483634: add a way to get document scroll position without flushing layout to nsIDOMWindowUtils, r+sr=roc 2009-03-18 20:22:17 -04:00
Honza Bambas
57c667fe6b Bug 422526 - implement localStorage, p=Honza Bambas+Dave Camp, r=jst+dcamp+bz 2009-03-19 00:43:45 +01:00
Serge Gautherie
d1221025c1 Bug 451949 - Mochitest <geolocation/test_manyWindows.html> fails intermittently, when some previous tests failed (!?); (Av1) Add missing |SimpleTest.waitForExplicitFinish();|; r=doug.turner 2009-03-17 15:22:54 +01:00
Doug Turner
abaad654ab Bug 478911. better geolocation mochitests. r=ctalbert/jmaher 2009-03-14 21:03:21 -07:00
Dave Camp
e4f5aff20e Bug 482370 - after noupdate documents are associated with the wrong application cache. r+sr=jst 2009-03-10 14:58:00 -07:00
Ginn Chen
901a2c1371 Bug 480506 test_offsets.xul failed with some GNOME themes r=roc 2009-03-06 14:42:12 +08:00
Dave Camp
1b6032dca5 Bug 471227 - rework offline update scheduling a bit to avoid losing/misscheduling updates. r+sr=bz 2009-03-04 13:37:29 -08:00
Honza Bambas
11f0c0a158 Bug 460335 - disallow redirects when updating an application cache, r=dcamp, sr=cbiesinger 2009-02-27 15:09:06 +01:00
Dave Camp
462ee8fcf0 More logging for bug 471227. 2009-02-25 21:57:28 -08:00
Dave Camp
ee324a0550 Fix up some error reporting in ajax_test.js to help track down bug 471227. 2009-02-23 15:36:08 -08:00
Dave Camp
19961382d3 Bug 477748 - app cache chooses namespaces in the wrong order. r=honzab, sr=bz 2009-02-22 11:09:10 -08:00
Dave Camp
1f553a232a Bug 477747 - appcache 'noupdate' event fired too early for master entries. r+sr=jst 2009-02-22 11:09:10 -08:00
Ehsan Akhgari
136d949dfa Bug 463000 - Handle DOM Storage in Private Browsing Mode; r=campd sr=jst 2009-02-19 09:31:00 +03:30
Ben Turner
10a314b286 Bug 479143 - Fix crash from bug 340345. r+sr=jst, a=blocking1.9.1+ 2009-02-18 19:02:50 -08:00
Honza Bambas
323f086e5a Bug 474696 - Process fallbacks on out-of-domain redirects, r=dcamp 2009-02-18 14:31:32 +01:00
Honza Bambas
c1a5d911a2 Bug 468442 - Change tests dep on PUT/DELETE support to use SJS states, r=dcamp 2009-02-18 14:31:30 +01:00
Doug Turner
faa66c98d5 Bug 466493 - Remove unneeded test file. 2009-02-17 09:41:42 -08:00
Dave Camp
b21cbe7c23 Bug 477666: namespaces broken after an appcache update. r=honzab, sr=bz 2009-02-09 22:40:40 -08:00
Dave Camp
fa06c787d2 Bug 477692: applicationCache sending obsolete on new cache groups. r+sr=jst 2009-02-09 22:40:40 -08:00
Dave Camp
39c2dd6d73 Bug 477667: manifest attribute not handled in xhtml. r+sr=jst 2009-02-09 22:40:40 -08:00
Honza Bambas
ac2f869fe0 Bug 466314 - updatingImplicit.html \(used by test_offlineMode.html and test_updatingManifest.html\) crashes SeaMonkey, r=dcamp, sr=jst 2009-01-29 16:22:53 +01:00
Honza Bambas
d17488dda2 Backing out bug 466314 changeset b82c1c2d061e 2009-01-28 17:52:10 +01:00
Honza Bambas
75a83656c3 Bug 466314 - updatingImplicit.html (used by test_offlineMode.html and test_updatingManifest.html) crashes SeaMonkey, r=dcamp, sr=jst 2009-01-28 16:07:23 +01:00
Dave Camp
30bd0608c5 Bug 475116: prefix some methods removed from the application cache spec with 'moz'. r/sr/b1.9.1=jst 2009-01-25 22:50:44 -08:00
Daniel Holbert
63355ba2aa Bug 458167 - Fix bad usage of "it's" in comments: patch for dom folder. r+sr=jst 2009-01-23 01:04:21 -08:00
Boris Zbarsky
7d939aed25 Bug 346659 tests 2009-01-22 22:39:50 -05:00
Clint Talbert
e46983861b Bug 424814: Update prototype test suite to 1.6.0.2, patch by harthur, r=sdwilsh 2009-01-14 11:19:07 -06:00
Jeremy Lea
ce80f69254 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Dave Camp
a80443658d Bug 458091: Don't store an mURI in nsDOMStorage. r=bz 2009-01-12 21:52:00 -08:00
Doug Turner
38f73da727 Bug 469715 - Geolocation Coordinates interface. r/sr=jst 2009-01-07 09:44:44 -08:00
Doug Turner
ce7c0e132e Bug 469091 - Removes an unused method from the geolocation provider api. r/sr=jst 2009-01-07 09:42:57 -08:00
Justin Dolske
dcbaa5986c Disabled failing test -- Bug 471139 - mochitest failure in test_HTMLDocument12.html 2008-12-25 12:29:50 -08:00
Justin Dolske
b15524fc02 Try reenabling dom-level2-html tests to see if they're still problematic (bug 427878) 2008-12-24 21:13:50 -08:00
Neil Deakin
f2dec5a72d Bug 453649, globalStorage should be static, r+sr=jst 2008-12-10 07:19:17 -08:00
Daniel Holbert
2a93aa2b0d Backed out changeset 416fbf4fdef3 on suspicion of causing test failures in test_multiple_visits_around_sync.js and head_sync.js on moz2-linux-slave07 2008-12-05 10:07:05 -08:00
Neil Deakin
5c889f92e4 Bug 453649, globalStorage should be static, r+sr=jst 2008-12-05 11:37:30 -05:00
Doug Turner
f91cee129b Bug 466493 Implement PositionOptions::maximumAge. r/sr=jst
Bug 466494 Make geolocation mochitest use PositionError named values. r/sr=jst
2008-12-05 08:29:43 -08:00
Boris Zbarsky
5912bebf7c Bug 465263. When setting location.hash to empty string, treat that as identical to '#' for compat with IE. r+sr=jst, a=beltzner 2008-11-26 16:52:54 -05:00
Serge Gautherie
ebd70d9360 Bug 466314 - updatingImplicit.html (used by test_offlineMode.html and test_updatingManifest.html) crashes SeaMonkey; (Av1) Disable tests
(to CLOSED TREE: bustage fix for changeset 2fa341c1330b)
2008-11-22 20:22:22 +01:00
Honza Bambas
e427632c32 Bug 463804 - Tests missing in Makefile.in; r=dcamp a191b2=beltzner
(to CLOSED TREE)
2008-11-21 20:02:25 +01:00
Boris Zbarsky
e71c3a4fc9 Fixing typo 2008-11-20 12:33:58 -05:00
Boris Zbarsky
84895b9569 Bug 465752. Fix Equals() to work right on javascript: URIs. r=dcamp, sr=jst, a=mconnor 2008-11-20 11:49:12 -05:00
Boris Zbarsky
26dc399303 Adding test for bug 132255 2008-11-19 18:05:54 -05:00
Boris Zbarsky
1464ba706d Test for bug 49312 2008-11-19 18:05:52 -05:00
Doug Turner
04974134fc merge to tip 2008-11-13 11:59:20 -08:00
Doug Turner
34bbecf1af Bug 460063 - Test case fixes for Geolocation prompt should not appear if there are no providers installed 2008-11-12 14:52:56 -08:00
Dave Camp
291f135e52 Bug 464567: test_obsolete.html breaking future offline tests. r+sr+a=vlad 2008-11-12 14:09:09 -08:00
Doug Turner
d0fd5133b9 Test case for bug 463039. r/sr=jst 2008-11-12 12:25:31 -08:00
Doug Turner
36f37d3a56 Bug 463039 - validate values that get passed to clearWatch. r/sr=jst 2008-11-12 08:01:40 -08:00
Honza Bambas
7576a12436 Bug 460328: Make online whitelist entries match by prefix. r=dcamp, sr=biesi 2008-11-05 16:01:08 -08:00
Honza Bambas
29b8953456 Bug 461325: Cache implicit entries when the manifest is not changed. r=dcamp, sr=biesi 2008-11-05 16:01:08 -08:00
Honza Bambas
c16599cc1d Bug 460353: app caches should be per iframe, not per toplevel browsing context. r=dcamp, r+sr=jst 2008-11-05 16:01:07 -08:00
Dave Camp
19d2223559 Bug 462549: Verify that an appcache manifest hasn't changed at the end of an update. r+sr=biesi 2008-11-05 16:01:07 -08:00
Honza Bambas
c27c345970 Bug 443017: Application cache tests. r=dcamp, sr=jst 2008-11-05 16:01:06 -08:00
Gavin Sharp
f71102d4a3 Bug 461803: add elementFromPoint method on nsIDOMWindowUtils which optionally ignores root scroll frame and lets callers avoid flushing layout, r+sr=bzbarsky 2008-11-04 22:58:22 -05:00
Dave Camp
e91a91b422 Bug 461569: Add applicationCache.items. r=honzab, sr=bz 2008-11-04 10:59:13 -08:00
Dave Camp
0c0880f78f Bug 461071: Allow application caches to be obsoleted. r=honzab, r+sr=bz 2008-11-04 10:59:12 -08:00
Dave Camp
b63345b178 Bug 443023: Associate documents with their caches after an initial update. r=honzab, r+sr=biesi 2008-11-04 02:20:27 -08:00
Dave Camp
dea763c065 Bug 445544: Navigating away from an offline app fails. r=honzab, r+sr=bz 2008-11-04 02:20:27 -08:00
Doug Turner
93396e0a56 Bug 461929 - Position.speed attribute name change. r=olli, sr=bz 2008-10-30 10:23:21 -07:00
Doug Turner
cecbacbb84 Bug 459893. Geolocation prompt stops working if initializer window is closed. r=smaug/gavin. relanding with leak in tests fixed 2008-10-24 09:06:27 -07:00
Doug Turner
1e1e7f6c2b this might have caused a leak. backing out to check.
Backed out changeset 3b47c0e2f6d9
2008-10-23 15:17:01 -07:00
Doug Turner
78a64b41b9 Bug 459893. Geolocation prompt stops working if initializer window is closed. r=olli+gavin 2008-10-23 11:01:32 -07:00
Doug Turner
57817fe1c1 Bug 455327 - geolocation - support timeout position option. r=Olli.Pettay sr=bzbarsky 2008-10-20 12:37:10 -07:00
Olli Pettay
9cf97b9a46 Bug 459848 - backout bug 346984 r+sr=bz 2008-10-17 01:35:45 +03:00
Olli Pettay
be6e2ff3ec bug 302775 - extractContents doesn't work if start and end node of a Range object is an attribute node, r=peterv, sr=sicking 2008-10-15 12:41:54 +03:00
sharparrow1@yahoo.com
372e46d47d Bug 42976, cloneNode() HTML Document nodes, r=smaug,sr=jst 2008-09-18 14:15:47 +03:00
Ted Mielczarek
ff7706a544 bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Doug Turner
51b32a8ed4 Bug 445180. More geolocation mochitests. Patch by harthur@cmu.edu, r=dougt@meer.net 2008-09-04 16:31:09 -07:00
Olli Pettay
1d9d57172d Bug 452566, navigator.geolocation optional parameters on getCurrentPosition and watchPosition are not optional, r=dougt, sr=jst 2008-08-29 10:26:34 +03:00
Dave Camp
43a0d08dee Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz
* * *
2008-08-26 16:09:02 -07:00
Robert O'Callahan
8936855455 Bug 379616. Fix offset tests to not assume getComputedStyle()['width'/'height'] works on SVG elements 2008-08-25 21:20:22 +12:00
Dave Camp
0cabe03883 Backed out changeset ebafb9df6ce0 (bug 442806) 2008-08-24 23:11:31 -07:00
Dave Camp
2f08e458a6 Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-24 21:51:19 -07:00
Dave Camp
8e9da90c59 Backed out changeset ea551e6f0f40 (bug 442806) 2008-08-19 22:53:20 -07:00
Dave Camp
6280e84411 Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-19 19:30:44 -07:00
Neil Deakin
a5b3401c6d Bug 111034, add clientXXX, scrollXXX properties, attempt 2, r+sr=roc, attempt 2 with microformat fix 2008-08-15 18:26:37 -04:00
Ted Mielczarek
1fef5b8148 Backed out changeset 2e8dfe209f09 due to unit test bustage 2008-08-15 12:59:30 -04:00
Neil Deakin
944e99b67e Add clientXXX and scrollXXX properties to XUL elements, also add width/height properties to ClientRect, r+sr=roc 2008-08-15 11:17:17 -04:00
Clint Talbert
acaec6e316 Bug 450009, patch by Harthur, r=ted" 2008-08-14 10:26:45 -07:00
Doug Turner
5f450f8e67 bug 449508. update geolocation code to editor's draft. r+sr=jst 2008-08-14 09:35:49 -07:00
Clint Talbert
452fdfe51f Bug 424813, Jquery test suite update, patch by harthur, r=sdwilsh 2008-08-07 16:18:37 -07:00
Ben Newman
198f21c6c3 Bug 437361. Propagate exceptions from showModalDialog's guts to script as needed instead of dropping them on the floor. r+sr=bzbarsky 2008-07-28 22:52:53 -07:00
Doug Turner
0bc426ad4b Inital geolocation implementation. bug=437948, r/sr=jst 2008-07-15 16:37:48 -07:00
Doug Turner
923155fea4 Backed out changeset 27942c109154
unit test seg fault at shutdown.
2008-07-11 22:25:02 -07:00
Doug Turner
8654151fdb Initial implementation of Gelocation. Bug 437948. Relanded after fixing memory leaks 2008-07-11 18:35:03 -07:00
Doug Turner
27665b6320 it seems we are leaking on the RLk test.
Backed out changeset ebfc2ad982f4
2008-07-10 23:38:35 -07:00
Doug Turner
2c9aa5ab5a Relanding 437948. Geolocation. Fixed memory leak. r=jst. 2008-07-10 22:48:16 -07:00
Benjamin Smedberg
e19bc972ce Backed out changeset e5014dc700ad - appears to cause unit test failures in test_419731.js (windows) or focus issues (mac) but that could just be test wonkiness, but this appeared right after this commit and was mostly green before. 2008-07-10 09:36:24 -04:00
Doug Turner
0c9d49d4cc bug 437948. inital implementation of gelocation. roughly following http://dev.w3.org/geo/api/spec-source.html. r+sr=jst 2008-07-09 20:43:38 -07:00
Dave Camp
b55cdee42a Bug 422264: retrieving iterator of applicationCache throws NS_ERROR_DOM_INVALID_STATE_ERR. r+sr=jst 2008-06-27 17:22:16 -07:00
Johnny Stenback
f54ec1f786 Fixing bug 440572. Make child frames whose names conflict with properties defined in IDL be accessable through XOWs again. r+sr=mrbkap@gmail.com 2008-06-25 17:07:22 -07:00
Johnny Stenback
e432e55df3 Fixing bug 440572. Make child frames whose names conflict with properties defined in IDL be accessable through XOWs again. r+sr=mrbkap@gmail.com 2008-06-25 17:06:38 -07:00
Robert O'Callahan
0b435e84a4 Remove DOM testcase from exclusions now that it passes 2008-06-14 22:33:54 +12:00
gavin@gavinsharp.com
182fad9240 Bug 431986: ApplicationCache doesn't implement EventTarget, patch by dcamp@mozilla.com, r+sr=jst, a=schrep 2008-05-08 17:10:49 -07:00
gavin@gavinsharp.com
ab44c36fa4 Bug 432055: applicationCache.status is 0 through the update process, patch by dcamp@mozilla.com, r+sr=jst, a=schrep 2008-05-08 17:09:26 -07:00
gavin@gavinsharp.com
82b02d7d01 Re-enable these tests now that there's another xserve collecting core dumps (bug 432471) 2008-05-08 15:00:36 -07:00
gavin@gavinsharp.com
441fde1d13 Disable these again to try and work around the crashes (bug 432729) 2008-05-07 18:06:32 -07:00