Commit Graph

427 Commits

Author SHA1 Message Date
Ehsan Akhgari
f4bd388765 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Neil Rashbrook
3f194429dd Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
4bd90ea948 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
d9a10be7eb Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Tom Schuster
fa5981d8bc Bug 764346 - Let Error Console filter match more properties like source, line. r=jaws 2012-06-19 17:24:58 +02:00
Geoff Lankow
25d09c3e64 Bug 764333 - Link from error console to view source doesn't work for errors in subscripts; r=Unfocused 2012-06-14 21:20:06 +12:00
Tom Schuster
92f7b5bd2a Bug 760951 - Add a filter box to the error console. r=jaws 2012-06-07 17:22:34 +02:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Vivien Nicolas
8cc5af1825 Bug 748895 - Error message if an error message arrived after the destruction of the console binding. r=enndeakin 2012-05-04 20:05:40 +02:00
aceman
e7f0a658cf Bug 122213 - Display time and date of messages in toolkit's Error Console. r=neil sr=bz 2011-12-17 05:22:26 +01:00
Rob Campbell
43e86243e4 Bug 579909 - Move WebConsole code to browser; f=nfitzgerald r=dtownsend,ddahl,gavin.sharp 2011-07-26 12:22:51 -03:00
Rob Campbell
4c3de95a55 Bug 662807 - Error bubbles for multiline messages in console look silly; r=dao 2011-07-25 10:36:36 -03:00
Ehsan Akhgari
6290b4cdc9 Backout changeset fdddabd345b9 and changeset 3857a4309fc3 (bug 649537) because of three mochitest-3 intermittent failures which seem to be caused by this on Windows debug builds 2011-07-18 18:14:59 -04:00
Ben Turner
ce590b78bc Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap. 2011-07-17 15:09:13 -04:00
Ms2ger
26b7c93961 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Gavin Sharp
b6ae56dc64 Merge fx-team with mozilla-central 2011-07-08 10:20:52 -04:00
Panos Astithas
501c06a3df Bug 669670 - Remove workaround for getOwnPropertyDescriptor from chrome code; r=mihai.sucan,dtownsend 2011-07-08 12:21:45 +03:00
Mihai Sucan
2e4baaefb1 Bug 592469 - Web Console cleanup: part 11 - tests - clearDisplay(); r=dcamp 2011-07-07 14:30:40 +03:00
Mihai Sucan
3961ca1469 Bug 592469 - Web Console cleanup: part 10 - tests cleanup; r=dcamp 2011-07-01 23:26:51 +03:00
Mihai Sucan
840ed62f81 Bug 592469 - Web Console cleanup: part 9 - tests - getOutputNodeById(); r=dcamp 2011-07-01 23:25:16 +03:00
Mihai Sucan
5d49b53f96 Bug 592469 - Web Console cleanup: part 8 - tests - getHeadsUpDisplay(); r=dcamp 2011-07-07 14:06:06 +03:00
Mihai Sucan
91e52d4db1 Bug 592469 - Web Console cleanup: part 7 - tests - displaysIndex(); r=dcamp 2011-07-01 23:03:52 +03:00
Mihai Sucan
a6af41a7bc Bug 592469 - Web Console cleanup: part 6 - HUDService - remove displaysIndex() and more; r=dcamp,gavin.sharp 2011-07-01 23:20:09 +03:00
Mihai Sucan
ccf58ea66d Bug 592469 - Web Console cleanup: part 5 - HUDService - clear/unregisterDisplay(); r=dcamp,gavin.sharp 2011-07-07 18:19:58 +03:00
Mihai Sucan
290eeee962 Bug 592469 - Web Console cleanup: part 4 - HUDService - remove getChromeWindowFromContentWindow(); r=dcamp,gavin.sharp 2011-07-01 19:43:50 +03:00
Mihai Sucan
ad3003eaff Bug 592469 - Web Console cleanup: part 3 - HUDService - remove getConsoleOutputNode(); r=dcamp,gavin.sharp 2011-07-01 19:36:51 +03:00
Mihai Sucan
979e70135c Bug 592469 - Web Console cleanup: part 2 - HUDService - remove getOutputNodeById(); r=dcamp,gavin.sharp 2011-07-01 19:34:48 +03:00
Mihai Sucan
48d877ba9b Bug 592469 - Web Console cleanup: part 1 - HUDService - remove getHeadsUpDisplay(); r=dcamp,gavin.sharp 2011-07-01 19:32:25 +03:00
Dão Gottwald
335baaaa73 Bug 658738 - Don't leak test-console.html in browser_webconsole_bug_580001_closing_after_completion.js 2011-07-06 10:56:56 +02:00
Vishnu S
9bf2a95333 Bug 636512 - Make document.getSelection() return the same as window.getSelection(). r=bzbarsky 2011-07-07 14:17:13 -04:00
Rob Campbell
ad17fbf8d7 merge devtools to m-c 2011-06-29 12:18:34 -03:00
Dão Gottwald
874af6b9fa Bug 658738 - Correctly remove observer 2011-06-29 16:39:18 +02:00
Panos Astithas
7dc83a1f75 Bug 659778 - Web Console autocomplete is behind the Web Console window; r=ddahl,enndeakin 2011-06-17 11:13:16 +03:00
Chris Leary
58271ca119 Merge mozilla-central and tracemonkey. 2011-06-27 11:07:22 -07:00
Jeff Walden
f2f25456b7 Followup to fix tests relying on the mistaken absence of JSOPTION_ANONFUNFIX. r=orange 2011-06-23 18:48:55 -07:00
Panos Astithas
0a95d505b1 Bug 651501 - document.body fails to autocomplete in Web Console; f=mihai.sucan r=mihai.sucan,dtownsend 2011-05-27 21:58:05 +03:00
Rob Campbell
4b1b449e1f Bug 651501 - document.body fails to autocomplete in Web Console; backout; a=developers 2011-06-24 18:01:32 -03:00
Rob Campbell
009901009c merge m-c to devtools, conflict in inspector.js 2011-06-24 15:50:35 -03:00
Mihai Sucan
28cc075524 Bug 660806 - Autocomplete shows during history navigation; reland; r=rcampbell,dtownsend 2011-06-23 10:40:38 -03:00
Rob Campbell
f6b95476b4 Bug 660806 - Autocomplete shows during history navigation; backout to fix checkin, a=rcampbell 2011-06-23 10:39:31 -03:00
Rob Campbell
39a8999c2c Bug 660806 - Autocomplete shows during history navigation; r=rcampbell,dtownsend 2011-06-23 10:32:56 -03:00
Rob Campbell
50af3548ab Bug 653140 - GCLI needs a commonjs require system; backout, a=orange 2011-06-23 09:01:39 -03:00
Dão Gottwald
5095d5c826 remove redundant jsm imports from browser chrome tests 2011-06-10 11:58:45 +02:00
Dave Camp
6cbeab0bff Merge m-c to devtools. 2011-06-10 15:35:17 -07:00
Panos Astithas
3e4b12da93 Bug 659910 - Evaluating console.log or other API messages in Scratchpad presents wrong source link in web console. r=rcampbell,gavin 2011-06-08 07:48:40 -07:00
Panos Astithas
d5ab47ecd1 Bug 660619 - Silence a warning during tests; r=ddahl,gavin.sharp 2011-05-31 10:27:17 +03:00
Joe Walker
2269a25dd3 Bug 653140 - GCLI needs a commonjs require system; f=mihai.sucan r=dtownsend sr=dtownsend 2011-05-27 11:48:50 +01:00
Mihai Sucan
6459343fa2 Bug 663443 - No indication to which tab a Web Console window belongs (esp. an empty one); r=ddahl,dietrich 2011-06-18 17:42:14 +03:00
Panos Astithas
72137b97fa Bug 651501 - document.body fails to autocomplete in Web Console. r=dtownsend 2011-05-27 21:58:05 +03:00
Patrick McManus
60517b3db3 bug 640003 - websockets, fixup tests for new server r=smaug r=biesi 2011-05-21 21:27:52 -04:00