Commit Graph

916 Commits

Author SHA1 Message Date
Masatoshi Kimura
f09712023c 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)
5f9892f336 Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Gabor Krizsanits
74922f0040 Bug 733035 - postMessage support for sandboxes. r=khuey 2012-04-05 18:33:20 -04:00
Boris Zbarsky
a555a8edf3 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
e25a776ebd 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
d5ec912ad4 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
baf72711e7 Bug 740771 - Stringify null for Storage.getItem/setItem/removeItem; r=mayhemer 2012-04-03 09:25:39 +02:00
Ms2ger
c7002d2259 Bug 737122 - Attr nodes shouldn't have children; r=sicking 2012-04-03 09:25:39 +02:00
Serge Gautherie
325c5f79cb 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
4d09e65fb8 merge m-c to fx-team 2012-04-01 18:52:12 +02:00
Kyle Huey
45ec706558 Merge to pick up an orange fix from m-c. 2012-03-31 09:14:19 -07:00
Kyle Huey
ade7c58314 No bug: Followups to my previous two commits. 2012-03-31 07:54:12 -07:00
Ed Morley
c7a3740e33 Merge mozilla-central to mozilla-inbound 2012-03-31 15:28:55 +01:00
Kyle Huey
274e954249 Bug 740626: Disable failing tests. 2012-03-31 07:26:57 -07:00
Peter Van der Beken
09128a75d3 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
567e2a49fb Bug 727446 - follow up, test fix #2; r=bustage 2012-03-30 22:40:00 +02:00
Tim Taubert
fa7e058bee Bug 727446 - follow up, test fix r=bustage 2012-03-30 22:37:35 +02:00
Tim Taubert
35c66981b6 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
d3b8a6debe Merge central to inbound 2012-03-30 12:27:55 +02:00
Ms2ger
a7ad2e10a7 Bug 738647 - DOMStorageImpl::GetKey shouldn't throw; r=honzab 2012-03-29 23:09:09 +02:00
Ms2ger
c37bb73658 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
5d6fdd311e 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
821597c580 Bug 647323 - Part c: Implement test importing code; r=jhammel 2012-03-29 23:08:58 +02:00
Ms2ger
9892fde4a2 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
f9a594844b Bug 647323 - Part a: Document the setup; r=jhammel 2012-03-29 23:08:43 +02:00
Peter Van der Beken
702fa57682 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
b4da60b42d 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
03dc4eeeee Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc, smaug 2012-03-28 21:00:14 -04:00
Ed Morley
c2463d6658 Merge mozilla-central to mozilla-inbound 2012-03-28 23:23:32 +01:00
Ed Morley
3e3ac1e8fc Backout 273173a592dc (bug 483992) for causing bug 739927 2012-03-28 22:52:17 +01:00
Phil Ringnalda
8d8cf286e2 Merge m-c to m-i 2012-03-27 21:21:11 -07:00
Justin Lebar
02941cac89 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
9e6dbca1d3 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
fb21a54315 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
4c2163b0ec 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
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
Mounir Lamouri
6c638adde5 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
095402dd70 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
418758932f 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
6635bcd31c 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
35bc55c17b 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
788803a0af 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
d8fd60d75c 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
7fe37c14f5 merge m-c to fx-team 2011-09-20 11:42:20 -03:00
Panos Astithas
a225dc2e1a Bug 614586 - Implement string substitution in all console API methods; r=ddahl,Olli.Pettay 2011-09-15 11:20:22 -07:00
Justin Lebar
dc2fd37a91 Bug 629535 - Add navigator.doNotTrack. r=sicking
--HG--
extra : rebase_source : 48631ff375196045de1c2865ab4ee9b9c219c736
2011-09-19 15:59:22 -04:00
Geoff Brown
1cafda1972 Bug 684965 - update xpcshell manifests for Android; r=jmaher 2011-09-06 22:29:00 -07:00
Masatoshi Kimura
b568eebe2a Bug 685774 - Implement document.scripts. r=bz 2011-09-09 19:18:03 +02:00
Olli Pettay
2f2d683768 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
7531e87587 Merge mozilla-central and mozilla-inbound 2011-09-07 10:53:26 -04:00
Johnny Stenback
4c29f85d38 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
Blake Kaplan
d05a66958e Bug 684115 - Test what happens when chrome takes an XHR from one origin and sticks it in another origin. r=sicking 2011-09-02 16:48:49 -07:00
Boris Zbarsky
dd3d708aa6 Bug 639720. Get rid of the Window class setter so that SETNAME on the global is faster in the browser. r=mrbkap 2011-08-31 18:10:16 -04:00
Ehsan Akhgari
936b61421b Keep changeset ee8c8daffe43 backed out on the reverted tree 2011-09-02 09:06:59 -04:00
Ehsan Akhgari
a171549936 Revert to changeset e6fc4594c22e which was the last one to get a green Win7 tp run 2011-09-02 09:03:08 -04:00
Ehsan Akhgari
2b54c2fd7c Backout changeset ee8c8daffe43 (bug 639720) on the suspicion that it might be the culprit behind the Linux Debug red 2011-09-01 21:02:56 -04:00
Boris Zbarsky
d9d5a64764 Bug 639720. Get rid of the Window class setter so that SETNAME on the global is faster in the browser. r=mrbkap 2011-08-31 18:10:16 -04:00
Boris Zbarsky
75baef868d Bug 684544. Restore missing null-check for location setter. r=mrbkap 2011-09-06 22:57:46 -04:00
Phil Ringnalda
74787fa14f Back out fc945dec50bb and de06684dabc4 (bug 642551), 64c328251a24 (bug 683952) and 9d0d13998ebb (bug 684544) for orange on a CLOSED TREE 2011-09-06 21:42:54 -07:00
Boris Zbarsky
664f361262 Bug 684544. Restore missing null-check for location setter. r=mrbkap 2011-09-06 22:57:46 -04:00
Ed Morley
243415d54c Backout 89b87e96dc17 (bug 639720), b449db7a038b (bug 679689) & ef216b965a04 (bug 679671) for Mochitest oranges, on a CLOSED TREE; a=philor 2011-09-01 00:58:00 +01:00
Boris Zbarsky
2129c4eb85 Bug 639720. Get rid of the Window class setter so that SETNAME on the global is faster in the browser. r=mrbkap 2011-08-31 18:10:16 -04:00
Ed Morley
72ed7305fc Bug 689884 - Deleted the now unused Makefiles from the tree; r=khuey 2011-10-06 17:15:07 +01:00
Ed Morley
918444551f Bug 689884 - Skip Makefiles that are no-op or else only |DIRS = a_single_subdir|; r=khuey 2011-10-06 17:15:07 +01:00
Mihai Sucan
d64c1da0cc Bug 612658 - Implement ConsoleAPIStorage - add caching for the window.console API; r=gavin.sharp,ddahl sr=bzbarsky 2011-08-24 23:34:16 +03:00
Josh Matthews
98f61bc227 Bug 674738 - Geolocation XPCShell test really slow on Windows 7 build slave. r=jdm/dougt 2011-08-24 11:36:00 -04:00
Boris Zbarsky
8bdd1a64af Bug 659350 part 5. The guts of the change to move from storing inline event handlers on the JSObject to storing them in the event listener manager directly, so we can easily set/read them via IDL.
The changes here are as follows:
1) nsIJSEventListener now stores the handler.  This is guaranteed to be already bound properly, if needed, before being set in the nsIJSEventListener.
2) The old classinfo glue to deal with on* properties is gone.
3) IDL-based methods for on* properties have been added.
2011-08-24 15:49:25 -04:00
Doug Turner
8462e926f8 Bug 677256 - Migrate to Google Location Service v2. r=stover
--HG--
extra : rebase_source : ffd978d72ce3100db4f3fb6db8c26745fe2a5eb8
2011-08-09 13:02:39 -07:00
Malini Das
960a7c7495 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
02665c9658 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Malini Das
da32b5cbd3 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Malini Das
0efd71b59a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- harness. r=jmaher, a=test-only 2011-08-12 12:21:35 -04:00
Mounir Lamouri
c216b7caf6 Bug 463491 - Do not reduce the popup blocker abuse level when using command event. r=jst 2011-08-11 18:31:33 +02:00
Marco Bonardo
8dfa1762f3 Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-04 11:19:01 +02:00
Honza Bambas
333edf60a8 Bug 662511 - localStorage.key() gets out-of-sync when localStorage is updated in a separate window, r=jst 2011-08-03 23:36:51 +02:00
Tim Taubert
c437e5e1f6 merge the last green changeset on m-c to fx-team 2011-08-03 16:45:19 +02:00
Mounir Lamouri
140770d463 Bug 673277 - Speeding up test_resize_move_windows.html. r=ehsan 2011-08-02 12:43:21 -07:00
Panos Astithas
6d9f1fc9a2 Bug 659907 - Expand console object with a dir method that displays an interactive listing of all the properties of an object.; f=rcampbell r=mihai.sucan,bzbarsky sr=bzbarsky 2011-06-09 16:27:30 +03:00
Ehsan Akhgari
9ca64e3186 Merge mozilla-central and mozilla-inbound 2011-07-26 14:04:11 -04:00
Olli Pettay
df5a1fc0ea Bug 625302 - Add JS API to trigger cycle collection (without garbage collection), r=jst 2011-07-26 20:11:15 +03:00
Josh Matthews
885af129ba Bug 673472 - Avoid adding multiple copies of device motion listeners. r=dougt 2011-07-26 12:27:11 -04:00
Dão Gottwald
640abb2979 Fix for undefined Cc/Ci/Cr/Cu in test_bug500885.html, test_bug592802.html, test_bug61098.html and test_bug36619.html 2011-07-20 11:51:43 +02:00
Doug Turner
529ac05c54 Bug 669105 - Leak-until-shutdown with deviceorientation and unload listeners. r=smaug 2011-07-06 22:56:32 -07:00
Chris Leary
7922cf2289 Merge mozilla central and tracemonkey. 2011-06-20 16:49:20 -07:00
Kyle Huey
a513a5e9b1 Bug 613066: Update structured clone algorithm to the latest spec. r=jorendorff 2011-06-16 11:22:37 -07:00
Mounir Lamouri
2c6d2a6c71 Bug 662519 - By-pass popup blocker checks when caller have chrome privileges. r=jst 2011-06-09 11:30:17 +02:00
Ms2ger
6b82352a35 Bug 635194 - Don't resolve body.background; r=bz 2011-06-04 08:57:23 +02:00
Mounir Lamouri
0c784be5a4 Merging cedar with mozilla-central. 2011-06-01 10:06:55 +02:00
Justin Lebar
c32b8d5474 Bug 492232 - Remove flaky tests from Scriptaculous effects_test. r=ehsan 2011-05-31 18:34:16 -04:00
Mounir Lamouri
6060bdd44e Bug 565541 (2/2) - Prevent abusing usage of moving and resizing window. r=bz
The rules are simple, callers can move or resize a window if both conditions
apply:
1. the window has been created with window.open;
2. the window only contains one tab.

--HG--
extra : rebase_source : 7b1fdfa121a701b47ece46a63e36483ca4d75672
2011-05-31 14:30:20 +02:00
Justin Lebar
15ac80982f Bug 529338 - Remove flaky Prototype test, testUpdater; r=ehsan 2011-05-27 19:18:09 -04:00
Justin Lebar
dd8c08d719 Bug 598165 - Remove flaky Prototype tests testUpdaterWithInsertion and testResponders; r=ehsan 2011-05-27 18:51:20 -04:00
Hiroyuki Ikezoe
83ccd78608 Bug 452706 - Intermittent failure in test_Prototype.html | testUpdater - 1 (3, 6) assertions, 1 failures, 0 errors; r=ehsan 2011-05-30 11:35:01 -04:00
Justin Lebar
bfcc38c5d6 Bug 658450 - Remove flaky tests from Scriptaculous ajax_inplaceeditor_test.html; r=ehsan 2011-05-27 18:32:11 -04:00
Ms2ger
999f948236 Bug 529328 - Return undefined for out-of-bounds access through nsStringArraySH; r=smaug
This patch has no effect on CSSStyleDeclaration, as that never returns a void DOMString.
2011-05-30 13:35:52 +02:00
Ms2ger
3d548cfff7 Bug 611983 - Kill Document.createEntityReference; r=peterv 2011-05-29 10:33:35 +02:00
Mounir Lamouri
927ee0c01a Merging cedar with mozilla-central. 2011-05-27 09:57:51 +02:00
Daniel Holbert
8556ef49be Bug 659466: Fix remaining data URI "#" --> "%23" conversions in testcases. r=bz 2011-05-26 01:20:08 -07:00
Justin Lebar
45f9e9f7a0 Bug 590708 - Disable testAsynchronousRequest in Prototype tests due to flakiness. r=jst 2011-05-22 11:07:28 -04:00
Daniel Holbert
639c0e7b79 Bug 658949 patch 0: Fix existing tests that use "#" in data URIs to use %23 instead. rs=bz 2011-05-24 17:39:57 +02:00
Mounir Lamouri
e97a7a4ee5 Back out bug 658949 because of perma orange on Windows Reftests. 2011-05-24 15:36:32 +02:00
Daniel Holbert
2d246fbdb2 Bug 658949 patch 0: Fix existing tests that use "#" in data URIs to use %23 instead. rs=bz 2011-05-24 03:36:31 -07:00
Kyle Huey
db0b9d8ad8 Bug 553125: Use the structured clone algorithm for window.postMessage. r=bent 2011-05-23 11:53:31 -07:00
Dave Camp
fb4b971064 Merge m-c to devtools 2011-05-21 17:43:04 -07:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Rob Campbell
9b7851356a merge m-c to devtools 2011-05-16 08:54:46 -03:00
Panos Astithas
988c16c273 Bug 646025 - Add file location to console.log, info, debug, etc.; f=mihai.sucan r=gavin.sharp 2011-05-12 09:29:17 -03:00
Rafael Ávila de Espíndola
33fe4e2770 Bug 657364 - Put dom/tests/mochitest/dom-level2-html/files/document.html applet in a new file. r=ehsan 2011-05-18 11:56:06 +02:00
Felipe Gomes
21607010f4 Bug 635402 - Get rid of :not([inFullscreen]) workaround selectors for sizemode transitions. r=jmathies,dao 2011-05-09 11:52:59 -07:00
Rob Campbell
7729d517f9 merge m-c to devtools 2011-05-06 13:03:37 -03:00
Rob Campbell
ac0e2c923c merge m-c to devtools 2011-04-29 09:05:20 -03:00
Justin Lebar
40443aa024 Bug 653364 - HashChange event should have isTrusted property. r=bz
--HG--
extra : rebase_source : 6829b06980ed01c38e0cc5b88a9428fc784c1bb0
2011-04-28 16:13:03 -04:00
Rob Campbell
f9275d2f38 merge m-c to mozilla-central 2011-04-27 10:11:37 -03:00
Rob Campbell
7137960211 merge m-c to devtools 2011-04-21 13:18:12 -03:00
Justin Lebar
f0e9722244 Fix bug 642338. r=smaug
--HG--
extra : rebase_source : c23e4c1c7d9b284d9f32acae93434e79a001df08
2011-04-27 16:54:07 -04:00
Rob Campbell
2a248ffa43 merge m-c to devtools 2011-04-18 09:18:24 -03:00
Mihai Sucan
5128602d66 Bug 585956 - Implement console.trace() in web console; f=ddahl r=rcampbell,jonas 2011-04-11 20:48:15 +03:00
Jonathan Kew
20281c115e Backed out changeset 80451fb8f11c (bug 585152) as per discussion in the bug. 2011-04-13 14:35:06 +01:00
Blake Kaplan
cc915be0a2 Bug 648465 - TabChild::ProvideWindow needs to tell the caller that the window is new; r=smaug 2011-04-14 13:55:42 -04:00
Ehsan Akhgari
69b997761a Backed out changeset 877c143cf39a (bug 648465) because of possibility of being related to the Maemo oranges 2011-04-15 15:11:25 -04:00
Blake Kaplan
efe60151e2 Bug 648465 - TabChild::ProvideWindow needs to tell the caller that the window is new; r=smaug 2011-04-14 13:55:42 -04:00
Justin Lebar
331607e5aa Bug 628069 - Add newURL, oldURL properties to hashchange event. r=smaug
--HG--
extra : rebase_source : 865194e9c50612599ad029815314c0819de60124
2011-03-31 16:30:32 -04:00
Ms2ger
6c02285d88 Bug 654137 - Make window.top not replacable; r=bz 2011-05-10 20:24:44 +02:00
Paul Biggar
bc3d36f617 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
L. David Baron
52ee86d378 Backout changeset b583111a88aa (bug 585152) for causing mochitest-browser-chrome orange on opt builds. 2011-04-12 01:29:41 -07:00
Paul Biggar
c0aeeea187 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
Rob Campbell
367f0df4fa merge m-c to devtools 2011-04-11 10:22:30 -03:00
Ms2ger
b502087317 Bug 604592 - Make Node.prefix readonly; r=smaug 2011-04-11 13:06:18 +02:00
Rob Campbell
e681ae8140 merge m-c to devtools 2011-04-10 10:47:40 -03:00
Rob Campbell
0819d5bf25 Bug 616742 - Implement console.debug() (was: Navigation broken on Citytv website); followup testfix. r=ddahl,jonas, a=orange 2011-04-08 21:32:04 -07:00
Blake Kaplan
f82a68b669 Bug 642026 - Enumerate standard classes. r=jst
--HG--
extra : rebase_source : a4a9630f54d398337a22ba5f75cee466ef4854db
2011-04-08 13:28:05 -07:00
Wes Johnston
949b7c7aa3 644155 - mozilla-central part, remove unneeded tests. r=mfinkle 2011-03-31 14:05:43 -07:00
Joel Maher
ef6f908502 Bug 663848 - move dom/tests/mochitest/general/*.xul to mochitest-chrome. r=enndeakin, a=test-only 2011-06-19 11:56:43 -04:00
Justin Lebar
873375ad39 Bug 661132 - Fix test for bug 642338 so it doesn't rely on firefox.js prefs. r=smaug 2011-06-14 10:53:57 -04:00
Benjamin Smedberg
d758fb0d7e Bug 617539 - Fold in nsIDOMWindowUtils_MOZILLA_2_0_BRANCH, r=bz 2011-03-25 11:03:33 -04:00
Benjamin Stover
1bd898f9e1 Backed out changeset 868be4c08700 due to mochitest-other orange 2011-03-24 13:00:45 -07:00
Benjamin Stover
1d48508346 Bug 643083 Crash: JSAutoRequest::~JSAutoRequest r=smaug 2011-03-24 10:41:25 -07:00
Jonas Sicking
9adba11f73 Bug 635844 part 2: Update pushState to latest agreed behavior. r=jlebar a=beltzner/jst 2011-02-28 23:08:56 -08:00
Mounir Lamouri
5009398c09 Bug 637019 - Select element should fallback to ElementSH resolve hook. r=bzbarsky, a=blocker 2011-02-27 14:37:57 +01:00
Blake Kaplan
bff040d432 Bug 633133 - Resolve ids and names in HTMLSelectElement. part 2/2. r=jst, a=blocker 2011-02-24 19:36:33 +01:00
Mounir Lamouri
61a2c6dde9 Bug 633133 - Resolve ids and names in HTMLCollections. r=jst, a=blocker 2011-02-24 19:27:26 +01:00
Jonas Sicking
b816bf46cf Bug 634435: Add a property to expose the current pushState-state. r=jlebar a=beltzner 2011-02-17 12:44:04 -08:00
Honza Bambas
3eb8bd35eb Bug 607418 - revert all test debugging changes, r=honzab, a2.0=jst 2011-02-12 14:06:02 +01:00
Dave Townsend
397c62c046 Bug 631440: Crash [@ nsDocShell::AddToSessionHistory] with pushState. r=bz, a=bsmedberg 2011-02-08 14:46:56 -08:00
Phil Ringnalda
d2e18a06bc Bug 628974 - Make dom-level1-core tests load a local copy of http://www.w3.org/StyleSheets/activity-home.css instead of hitting the network, r=bz, a=tests 2011-02-06 23:19:28 -08:00
Dave Townsend
10ea57d5ae Bug 602256: Using history.pushState in a page breaks history tracking for inner frames. r=bz, a=blocks-betaN 2011-02-03 09:27:39 -08:00
Justin Dolske
dcd47ceba9 Bug 621764 - tab-modal prompt in Gmail eventually triggers slow-script dialog for nsPrompter.js. r=mrbkap, sr=jst, a=blocker 2011-02-01 19:23:00 -08:00
Marco Bonardo
8a8457f14d Bug 630405 - about pages DOMStorage should be case-insensitive. r=mayhemer a=blocking 2011-02-01 13:53:04 -08:00
Jonas Sicking
6c6a7cea3e Disallow content access to chrome functions without __exposedProps__ (bug 628410, r=gal). 2011-01-29 18:47:17 -08:00
Neil Deakin
0334e5d14a Bug 618907, focus frame when mousedown event on content is cancelled and chrome is currently focused, fixes focus issues with docs.google.com, r=smaug,a=blocking 2011-01-24 09:50:37 -05:00